OBSerialNums Class Reference

Defines a map between serial numbers (e.g., in a PDB file) and OBAtom objects. More...

#include <generic.h>

Inheritance diagram for OBSerialNums:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OBSerialNums ()
 OBSerialNums (const OBSerialNums &cp)
std::map< int, OBAtom * > & GetData ()
void SetData (std::map< int, OBAtom * > &sm)
void SetAttribute (const std::string &v)
virtual const std::string & GetAttribute () const
unsigned int GetDataType () const

Protected Attributes

std::map< int, OBAtom * > _serialMap
std::string _attr
 attribute tag (e.g., "UnitCell", "Comment" or "Author")
unsigned int _type
 attribute type -- declared for each subclass

Detailed Description

Defines a map between serial numbers (e.g., in a PDB file) and OBAtom objects.


Constructor & Destructor Documentation

OBSerialNums (  )  [inline]

OBSerialNums ( const OBSerialNums cp  )  [inline]


Member Function Documentation

std::map<int,OBAtom*>& GetData (  )  [inline]

void SetData ( std::map< int, OBAtom * > &  sm  )  [inline]

void SetAttribute ( const std::string &  v  )  [inline, inherited]

virtual const std::string& GetAttribute (  )  const [inline, virtual, inherited]

unsigned int GetDataType (  )  const [inline, inherited]


Member Data Documentation

std::map<int, OBAtom*> _serialMap [protected]

std::string _attr [protected, inherited]

attribute tag (e.g., "UnitCell", "Comment" or "Author")

unsigned int _type [protected, inherited]

attribute type -- declared for each subclass


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