OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::AtomData Class Reference
+ Inheritance diagram for OpenMD::AtomData:

Public Member Functions

 AtomData (const std::string &id="ATOMDATA")
 
void addAtomInfo (std::shared_ptr< AtomInfo > info)
 
void clearAllAtomInfo ()
 
std::shared_ptr< AtomInfobeginAtomInfo (std::vector< std::shared_ptr< AtomInfo > >::iterator &i)
 
std::shared_ptr< AtomInfonextAtomInfo (std::vector< std::shared_ptr< AtomInfo > >::iterator &i)
 
std::vector< std::shared_ptr< AtomInfo > > getData ()
 
size_t getSize ()
 
- Public Member Functions inherited from OpenMD::GenericData
 GenericData (const std::string &id)
 
virtual ~GenericData ()
 virtual destructor
 
const std::string getID () const
 Returns the id of this generic data.
 
void setID (const std::string &id)
 Sets the id of this generic data.
 

Protected Attributes

std::vector< std::shared_ptr< AtomInfo > > data
 

Detailed Description

Definition at line 79 of file AtomData.hpp.

Constructor & Destructor Documentation

◆ AtomData()

OpenMD::AtomData::AtomData ( const std::string & id = "ATOMDATA")
inline

Definition at line 81 of file AtomData.hpp.

Member Function Documentation

◆ addAtomInfo()

void OpenMD::AtomData::addAtomInfo ( std::shared_ptr< AtomInfo > info)
inline

Definition at line 83 of file AtomData.hpp.

◆ beginAtomInfo()

std::shared_ptr< AtomInfo > OpenMD::AtomData::beginAtomInfo ( std::vector< std::shared_ptr< AtomInfo > >::iterator & i)
inline

Definition at line 87 of file AtomData.hpp.

◆ getData()

std::vector< std::shared_ptr< AtomInfo > > OpenMD::AtomData::getData ( )
inline

Definition at line 99 of file AtomData.hpp.

◆ getSize()

size_t OpenMD::AtomData::getSize ( )
inline

Definition at line 101 of file AtomData.hpp.

◆ nextAtomInfo()

std::shared_ptr< AtomInfo > OpenMD::AtomData::nextAtomInfo ( std::vector< std::shared_ptr< AtomInfo > >::iterator & i)
inline

Definition at line 93 of file AtomData.hpp.

Member Data Documentation

◆ data

std::vector<std::shared_ptr<AtomInfo> > OpenMD::AtomData::data
protected

Definition at line 104 of file AtomData.hpp.


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