Rosetta  2021.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
NamedAtomID_Map.hh File Reference

Map from named Atom identifiers to contained values class. More...

#include <core/id/NamedAtomID_Map.fwd.hh>
#include <core/id/NamedAtomID.hh>
#include <utility/vector1.hh>
#include <utility/excn/Exceptions.hh>
#include <map>
#include <string>

Classes

class  core::id::NamedAtomID_Map< T >
 Map from Atom identifiers to contained values class. More...
 
class  core::id::NamedAtomID_Map_NamedAtomID
 

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::id
 

Functions

template<typename T >
void core::id::swap (NamedAtomID_Map< T > &a, NamedAtomID_Map< T > &b)
 swap( NamedAtomID_Map, NamedAtomID_Map ) More...
 

Detailed Description

Map from named Atom identifiers to contained values class.

Author
Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om), Rocco Moretti (rmore.nosp@m.ttia.nosp@m.se@gm.nosp@m.ail..nosp@m.com)
Note
  • Implemented as a vector< std::map > for fast residue lookup but this has slower insertion/deletion than a std::map or other associative containers
  • The outer vector is indexed by the residue number
  • The inner map is a map indexed by name strings (white-space stripped)
  • The interface tries to conform to that of AtomID_Map, aside from the nessecary atom index -> string conversion
  • The two are not related by inheritance, however, just as AtomID and NamedAtomID aren't related.