OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::VectorTypeData< ElemDataType > Class Template Reference

#include <GenericData.hpp>

Inheritance diagram for OpenMD::VectorTypeData< ElemDataType >:
OpenMD::GenericData

Public Types

typedef VectorTypeData< ElemDataType > SelfType
 

Public Member Functions

 VectorTypeData (const std::string &id)
 
 VectorTypeData (const SelfType &s)
 
SelfTypeoperator= (const SelfType &s)
 
- 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)
 

Private Attributes

std::vector< ElemDataType > data_
 

Detailed Description

template<typename ElemDataType>
class OpenMD::VectorTypeData< ElemDataType >

Definition at line 186 of file GenericData.hpp.

Member Typedef Documentation

◆ SelfType

template<typename ElemDataType >
typedef VectorTypeData<ElemDataType> OpenMD::VectorTypeData< ElemDataType >::SelfType

Definition at line 188 of file GenericData.hpp.

Constructor & Destructor Documentation

◆ VectorTypeData() [1/2]

template<typename ElemDataType >
OpenMD::VectorTypeData< ElemDataType >::VectorTypeData ( const std::string &  id)
inline

Definition at line 190 of file GenericData.hpp.

◆ VectorTypeData() [2/2]

template<typename ElemDataType >
OpenMD::VectorTypeData< ElemDataType >::VectorTypeData ( const SelfType s)
inline

Definition at line 193 of file GenericData.hpp.

Member Function Documentation

◆ operator=()

template<typename ElemDataType >
SelfType& OpenMD::VectorTypeData< ElemDataType >::operator= ( const SelfType s)
inline

Definition at line 195 of file GenericData.hpp.

References OpenMD::VectorTypeData< ElemDataType >::data_.

Member Data Documentation

◆ data_

template<typename ElemDataType >
std::vector<ElemDataType> OpenMD::VectorTypeData< ElemDataType >::data_
private

Definition at line 204 of file GenericData.hpp.

Referenced by OpenMD::VectorTypeData< ElemDataType >::operator=().


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