Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
core::id::NamedAtomID_Map_NamedAtomID Class Reference

#include <NamedAtomID_Map.hh>

Inheritance diagram for core::id::NamedAtomID_Map_NamedAtomID:
Inheritance graph
[legend]

Additional Inherited Members

- Public Types inherited from core::id::NamedAtomID_Map< NamedAtomID >
typedef std::map< std::string,
NamedAtomID
AtomMap
 
typedef utility::vector1< AtomMapResidueMap
 
typedef NamedAtomID value_type
 
typedef AtomMap::mapped_type reference
 
typedef AtomMap::mapped_type const const_reference
 
typedef AtomMap::size_type size_type
 
typedef NamedAtomID Value
 
typedef AtomMap::mapped_type Reference
 
typedef AtomMap::mapped_type const ConstReference
 
typedef platform::Size Size
 
- Public Member Functions inherited from core::id::NamedAtomID_Map< NamedAtomID >
 NamedAtomID_Map ()
 Default constructor with no arguments (PyRosetta workaround) More...
 
 NamedAtomID_Map (Value const &default_value_a)
 Default constructor. More...
 
 NamedAtomID_Map (Size const n_res)
 Number of residues constructor. More...
 
 NamedAtomID_Map (Size const n_res, Value const &default_value_a)
 Number of residues constructor. More...
 
 ~NamedAtomID_Map ()=default
 Destructor. More...
 
void resize (Size const n_res)
 Resize to a given number of residues. More...
 
void resize (Size const, Size const )
 Resize the number of atoms of a residue and use the default fill value. More...
 
void resize (Size const, Size const, Value const &)
 Resize the number of atoms of a residue and use a specified fill value. More...
 
void fill ()
 Fill the map with the default fill value. More...
 
ConstReference get (NamedAtomID const &id) const
 Get the value for an NamedAtomID: Return default value if not present Phil changing this to be a non-resizing function. More...
 
void set (NamedAtomID const &id, Value const &value)
 Set the value for an NamedAtomID: Extend the map if necessary, filling with the default value. More...
 
void finalize ()
 Finalize after sizing all the vectors. More...
 
void shrink ()
 Shrink the vectors to remove unused capacity. More...
 
void swap (NamedAtomID_Map &s)
 swap( NamedAtomID_Map ) More...
 
void clear ()
 Clear the map. More...
 
void clear (Value const &default_value_a)
 Clear the map and set a new default value. More...
 
void update_sequence_numbering (Size const new_size, utility::vector1< Size > const &old2new)
 
Size size () const
 Size. More...
 
Size n_residue () const
 Number of residues (size) More...
 
Size n_atom (Size const i_res) const
 Number of atoms in a residue. More...
 
bool empty () const
 Empty? More...
 
Value const & default_value () const
 Default value. More...
 
void default_value (Value const &default_value_a)
 Set default value. More...
 
bool has (NamedAtomID const &id) const
 Is an element with this NamedAtomID present? More...
 
ConstReference operator[] (NamedAtomID const &id) const
 NamedAtomID_Map[ atom_id ] const. More...
 
Reference operator[] (NamedAtomID const &id)
 NamedAtomID_Map[ atom_id ]. More...
 
AtomMap const & operator[] (Size const i_res) const
 NamedAtomID_Map[ i_res ] const. More...
 
AtomMapoperator[] (Size const i_res)
 NamedAtomID_Map[ i_res ]. More...
 
ConstReference operator() (NamedAtomID const &id) const
 NamedAtomID_Map( atom_id ) const. More...
 
Reference operator() (NamedAtomID const &id)
 NamedAtomID_Map( atom_id ) More...
 
ConstReference operator() (Size i_res, std::string const &atom) const
 NamedAtomID_Map( i_res, i_atom ) const. More...
 
Reference operator() (Size i_res, std::string const &atom)
 NamedAtomID_Map( i_res, i_atom ) More...
 
AtomMap const & operator() (Size const i_res) const
 NamedAtomID_Map( i_res ) const. More...
 
AtomMapoperator() (Size const i_res)
 NamedAtomID_Map( i_res ) More...
 

The documentation for this class was generated from the following file: