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

#include <FragmentStamp.hpp>

Inheritance diagram for OpenMD::FragmentStamp:

Public Member Functions

 FragmentStamp (int index)
virtual void validate ()
int getIndex ()
- Public Member Functions inherited from OpenMD::DataHolder
 DataHolder ()
virtual ~DataHolder ()
template<class T >
void assign (const std::string &keyword, T val)

Private Member Functions

 DeclareParameter (Name, std::string)

Private Attributes

int index_

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 46 of file FragmentStamp.hpp.

Constructor & Destructor Documentation

◆ FragmentStamp()

OpenMD::FragmentStamp::FragmentStamp ( int  index)

Definition at line 44 of file FragmentStamp.cpp.

References DefineParameter.

Member Function Documentation

◆ DeclareParameter()

OpenMD::FragmentStamp::DeclareParameter ( Name  ,

◆ getIndex()

int OpenMD::FragmentStamp::getIndex ( )

Definition at line 51 of file FragmentStamp.hpp.

References index_.

◆ validate()

void OpenMD::FragmentStamp::validate ( )

Reimplemented from OpenMD::DataHolder.

Definition at line 48 of file FragmentStamp.cpp.

References CheckParameter, and OpenMD::isNotEmpty().

Member Data Documentation

◆ index_

int OpenMD::FragmentStamp::index_

Definition at line 53 of file FragmentStamp.hpp.

Referenced by getIndex().

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