OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::GenericData Class Reference

@ class GenericData GenericData.hpp "utils/GenericData.hpp" More...

#include <GenericData.hpp>

+ Inheritance diagram for OpenMD::GenericData:

Public Member Functions

 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.
 

Detailed Description

@ class GenericData GenericData.hpp "utils/GenericData.hpp"

Base class for generic data which is associated with an id

Definition at line 68 of file GenericData.hpp.

Constructor & Destructor Documentation

◆ GenericData() [1/2]

OpenMD::GenericData::GenericData ( )
inline

Definition at line 70 of file GenericData.hpp.

◆ GenericData() [2/2]

OpenMD::GenericData::GenericData ( const std::string & id)
inline

Definition at line 72 of file GenericData.hpp.

◆ ~GenericData()

virtual OpenMD::GenericData::~GenericData ( )
inlinevirtual

virtual destructor

Definition at line 75 of file GenericData.hpp.

Member Function Documentation

◆ getID()

const std::string OpenMD::GenericData::getID ( ) const
inline

Returns the id of this generic data.

Returns
the id of this generic data
See also
setID

Definition at line 84 of file GenericData.hpp.

◆ setID()

void OpenMD::GenericData::setID ( const std::string & id)
inline

Sets the id of this generic data.

Parameters
idthe id to be set
See also
getID

Definition at line 93 of file GenericData.hpp.


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