OpenMD  2.5
Molecular Dynamics in the Open
ParameterTraits< std::pair< int, int > > Struct Template Reference

#include <ParameterManager.hpp>

Public Types

typedef std::pair< int, int > RepType
 

Static Public Member Functions

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

Detailed Description

template<>
struct ParameterTraits< std::pair< int, int > >

Definition at line 131 of file ParameterManager.hpp.

Member Typedef Documentation

◆ RepType

typedef std::pair<int, int> ParameterTraits< std::pair< int, int > >::RepType

Definition at line 132 of file ParameterManager.hpp.

Member Function Documentation

◆ convert() [1/4]

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

Definition at line 133 of file ParameterManager.hpp.

◆ convert() [2/4]

template<typename T >
static RepType ParameterTraits< std::pair< int, int > >::convert ( v)
inlinestatic

Definition at line 134 of file ParameterManager.hpp.

References convert().

Referenced by convert().

◆ convert() [3/4]

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

Definition at line 135 of file ParameterManager.hpp.

◆ convert() [4/4]

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

◆ getParamType()

static std::string ParameterTraits< std::pair< int, int > >::getParamType ( )
inlinestatic

Definition at line 153 of file ParameterManager.hpp.


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