OpenMD  2.5
Molecular Dynamics in the Open
ParameterTraits< bool > Struct Template Reference

#include <ParameterManager.hpp>

Public Types

typedef bool RepType
 

Static Public Member Functions

template<typename T >
static bool convert (T, RepType &)
 
template<typename T >
static RepType convert (T v)
 
static bool convert (std::string v, RepType &r)
 
static std::string getParamType ()
 

Detailed Description

template<>
struct ParameterTraits< bool >

Definition at line 76 of file ParameterManager.hpp.

Member Typedef Documentation

◆ RepType

typedef bool ParameterTraits< bool >::RepType

Definition at line 77 of file ParameterManager.hpp.

Member Function Documentation

◆ convert() [1/3]

template<typename T >
static bool ParameterTraits< bool >::convert ( ,
RepType  
)
inlinestatic

Definition at line 78 of file ParameterManager.hpp.

◆ convert() [2/3]

template<typename T >
static RepType ParameterTraits< bool >::convert ( v)
inlinestatic

Definition at line 79 of file ParameterManager.hpp.

References convert().

Referenced by convert().

◆ convert() [3/3]

static bool ParameterTraits< bool >::convert ( std::string  v,
RepType r 
)
inlinestatic

Definition at line 80 of file ParameterManager.hpp.

References OpenMD::toLower().

◆ getParamType()

static std::string ParameterTraits< bool >::getParamType ( )
inlinestatic

Definition at line 93 of file ParameterManager.hpp.


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