OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::AtomData Class Reference

#include <AtomData.hpp>

Inheritance diagram for OpenMD::AtomData:

Public Member Functions

 AtomData (const std::string &id="ATOMDATA")
 ~AtomData ()
void addAtomInfo (AtomInfo *info)
void clearAllAtomInfo ()
AtomInfobeginAtomInfo (std::vector< AtomInfo *>::iterator &i)
AtomInfonextAtomInfo (std::vector< AtomInfo *>::iterator &i)
std::vector< AtomInfo * > getData ()
int getSize ()
- Public Member Functions inherited from OpenMD::GenericData
 GenericData ()
 GenericData (const std::string &id)
virtual ~GenericData ()
const std::string getID () const
void setID (const std::string &id)

Protected Attributes

std::vector< AtomInfo * > data

Detailed Description

Definition at line 73 of file AtomData.hpp.

Constructor & Destructor Documentation

◆ AtomData()

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

Definition at line 76 of file AtomData.hpp.

◆ ~AtomData()

OpenMD::AtomData::~AtomData ( )

Definition at line 78 of file AtomData.hpp.

Member Function Documentation

◆ addAtomInfo()

◆ beginAtomInfo()

◆ clearAllAtomInfo()

void OpenMD::AtomData::clearAllAtomInfo ( )

◆ getData()

std::vector<AtomInfo*> OpenMD::AtomData::getData ( )

Definition at line 102 of file AtomData.hpp.

Referenced by OpenMD::ReplicateVisitor::internalVisit().

◆ getSize()

int OpenMD::AtomData::getSize ( )

Definition at line 104 of file AtomData.hpp.

◆ nextAtomInfo()

Member Data Documentation

◆ data

std::vector<AtomInfo*> OpenMD::AtomData::data

Definition at line 108 of file AtomData.hpp.

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