OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
ParameterBase Class Referenceabstract
+ Inheritance diagram for ParameterBase:

Public Member Functions

bool isOptional ()
 
void setOptional (bool optional)
 
bool hasDefaultValue ()
 
virtual bool isValid ()
 
const std::string & getKeyword ()
 
void setKeyword (const std::string &keyword)
 
bool empty ()
 
virtual bool setData (std::string)=0
 
virtual bool setData (int)=0
 
virtual bool setData (unsigned long int)=0
 
virtual bool setData (RealType)=0
 
virtual bool setData (std::pair< int, int >)=0
 
virtual bool setData (std::vector< RealType >)=0
 
virtual std::string getParamType ()=0
 

Protected Attributes

std::string keyword_
 
bool optional_
 
bool defaultValue_
 
bool empty_
 

Detailed Description

Definition at line 291 of file ParameterManager.hpp.

Constructor & Destructor Documentation

◆ ParameterBase()

ParameterBase::ParameterBase ( )
inline

Definition at line 293 of file ParameterManager.hpp.

◆ ~ParameterBase()

virtual ParameterBase::~ParameterBase ( )
inlinevirtual

Definition at line 295 of file ParameterManager.hpp.

Member Function Documentation

◆ empty()

bool ParameterBase::empty ( )
inline

Definition at line 302 of file ParameterManager.hpp.

◆ getKeyword()

const std::string & ParameterBase::getKeyword ( )
inline

Definition at line 300 of file ParameterManager.hpp.

◆ hasDefaultValue()

bool ParameterBase::hasDefaultValue ( )
inline

Definition at line 298 of file ParameterManager.hpp.

◆ isOptional()

bool ParameterBase::isOptional ( )
inline

Definition at line 296 of file ParameterManager.hpp.

◆ isValid()

virtual bool ParameterBase::isValid ( )
inlinevirtual

Definition at line 299 of file ParameterManager.hpp.

◆ setKeyword()

void ParameterBase::setKeyword ( const std::string & keyword)
inline

Definition at line 301 of file ParameterManager.hpp.

◆ setOptional()

void ParameterBase::setOptional ( bool optional)
inline

Definition at line 297 of file ParameterManager.hpp.

Member Data Documentation

◆ defaultValue_

bool ParameterBase::defaultValue_
protected

Definition at line 314 of file ParameterManager.hpp.

◆ empty_

bool ParameterBase::empty_
protected

Definition at line 315 of file ParameterManager.hpp.

◆ keyword_

std::string ParameterBase::keyword_
protected

Definition at line 312 of file ParameterManager.hpp.

◆ optional_

bool ParameterBase::optional_
protected

Definition at line 313 of file ParameterManager.hpp.


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