ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ProtoMol::ValueTraits< Real > Struct Template Reference

REAL.

#include <ValueType.h>

List of all members.

Public Types

typedef Real Type
typedef Real RepType
enum  { value = ValueType::REAL }

Static Public Member Functions

RepType init ()
Type empty ()
unsigned int size (RepType)
bool read (std::istream &is, RepType &v)
template<typename T> bool convert (T, RepType &)
template<typename T> RepType convert (T v)
template<typename T> bool convertTest (T v)
bool convert (RepType v, RepType &r)
bool convert (std::string v, RepType &r)
bool convert (int v, RepType &r)
bool convert (unsigned int v, RepType &r)
bool convert (bool v, RepType &r)
bool check (const ConstraintValueType::NoConstraints &, RepType)
bool check (const ConstraintValueType::Zero &, RepType v)
bool check (const ConstraintValueType::NotZero &, RepType v)
bool check (const ConstraintValueType::Positive &, RepType v)
bool check (const ConstraintValueType::Negative &, RepType v)
bool check (const ConstraintValueType::NotPositive &, RepType v)
bool check (const ConstraintValueType::NotNegative &, RepType v)

template<>
struct ProtoMol::ValueTraits< Real >


Member Typedef Documentation

typedef Real ProtoMol::ValueTraits< Real >::RepType
 

typedef Real ProtoMol::ValueTraits< Real >::Type
 


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
value 


Member Function Documentation

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::NotNegative &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::NotPositive &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::Negative &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::Positive &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::NotZero &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::Zero &  ,
RepType  v
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::check const ConstraintValueType::NoConstraints &  ,
RepType 
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::convert bool  v,
RepType r
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::convert unsigned int  v,
RepType r
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::convert int  v,
RepType r
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::convert std::string  v,
RepType r
[inline, static]
 

bool ProtoMol::ValueTraits< Real >::convert RepType  v,
RepType r
[inline, static]
 

template<typename T>
RepType ProtoMol::ValueTraits< Real >::convert v  )  [inline, static]
 

template<typename T>
bool ProtoMol::ValueTraits< Real >::convert ,
RepType
[inline, static]
 

template<typename T>
bool ProtoMol::ValueTraits< Real >::convertTest v  )  [inline, static]
 

Type ProtoMol::ValueTraits< Real >::empty  )  [inline, static]
 

RepType ProtoMol::ValueTraits< Real >::init  )  [inline, static]
 

bool ProtoMol::ValueTraits< Real >::read std::istream &  is,
RepType v
[inline, static]
 

unsigned int ProtoMol::ValueTraits< Real >::size RepType   )  [inline, static]
 


The documentation for this struct was generated from the following file: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.