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

#include <RigidBodyStamp.hpp>

Inheritance diagram for OpenMD::RigidBodyStamp:

Public Member Functions

 RigidBodyStamp (int index)
int getIndex ()
int getMemberAt (int index)
int getNMembers ()
std::vector< int > getMembers ()
bool setMembers (const std::vector< int > &members)
virtual void validate ()
- Public Member Functions inherited from OpenMD::DataHolder
 DataHolder ()
virtual ~DataHolder ()
template<class T >
void assign (const std::string &keyword, T val)

Private Attributes

int index_
std::vector< int > members_

Additional Inherited Members

- Protected Types inherited from OpenMD::DataHolder
typedef std::map< std::string, ParameterBase * > ParamMap
- Protected Attributes inherited from OpenMD::DataHolder
ParamMap parameters_
std::set< std::string > deprecatedKeywords_

Detailed Description

Definition at line 50 of file RigidBodyStamp.hpp.

Constructor & Destructor Documentation

◆ RigidBodyStamp()

OpenMD::RigidBodyStamp::RigidBodyStamp ( int  index)

Definition at line 51 of file RigidBodyStamp.cpp.

References OpenMD::DataHolder::deprecatedKeywords_.

Member Function Documentation

◆ getIndex()

int OpenMD::RigidBodyStamp::getIndex ( )

Definition at line 53 of file RigidBodyStamp.hpp.

References index_.

Referenced by OpenMD::MoleculeStamp::addRigidBodyStamp().

◆ getMemberAt()

int OpenMD::RigidBodyStamp::getMemberAt ( int  index)

◆ getMembers()

std::vector<int> OpenMD::RigidBodyStamp::getMembers ( )

◆ getNMembers()

◆ setMembers()

bool OpenMD::RigidBodyStamp::setMembers ( const std::vector< int > &  members)

Definition at line 59 of file RigidBodyStamp.hpp.

References members_, and validate().

Referenced by MDTreeParser::rigidbodystatement().

◆ validate()

void OpenMD::RigidBodyStamp::validate ( )

Reimplemented from OpenMD::DataHolder.

Definition at line 55 of file RigidBodyStamp.cpp.

References OpenMD::DataHolder::validate().

Referenced by setMembers().

Member Data Documentation

◆ index_

int OpenMD::RigidBodyStamp::index_

Definition at line 67 of file RigidBodyStamp.hpp.

Referenced by getIndex().

◆ members_

std::vector<int> OpenMD::RigidBodyStamp::members_

Definition at line 68 of file RigidBodyStamp.hpp.

Referenced by getMemberAt(), getMembers(), getNMembers(), and setMembers().

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