Public Member Functions | Protected Attributes | List of all members
basis::PositiveValueConstraint< T > Class Template Reference

Constrain argument values to positive values. More...

#include <CmdArgs.h>

+ Inheritance diagram for basis::PositiveValueConstraint< T >:
+ Collaboration diagram for basis::PositiveValueConstraint< T >:

Public Member Functions

virtual bool check (const T &value) const
 
virtual std::string description () const
 
 PositiveValueConstraint (const std::string &typeDesc)
 
virtual std::string shortID () const
 
virtual ~PositiveValueConstraint ()
 

Protected Attributes

std::string _typeDesc
 

Detailed Description

template<typename T>
class basis::PositiveValueConstraint< T >

Constrain argument values to positive values.

Definition at line 204 of file CmdArgs.h.

Constructor & Destructor Documentation

§ PositiveValueConstraint()

template<typename T >
basis::PositiveValueConstraint< T >::PositiveValueConstraint ( const std::string &  typeDesc)
inline

Definition at line 207 of file CmdArgs.h.

§ ~PositiveValueConstraint()

template<typename T >
virtual basis::PositiveValueConstraint< T >::~PositiveValueConstraint ( )
inlinevirtual

Definition at line 208 of file CmdArgs.h.

Member Function Documentation

§ check()

template<typename T >
virtual bool basis::PositiveValueConstraint< T >::check ( const T &  value) const
inlinevirtual

Definition at line 211 of file CmdArgs.h.

§ description()

template<typename T >
virtual std::string basis::PositiveValueConstraint< T >::description ( ) const
inlinevirtual

Definition at line 209 of file CmdArgs.h.

§ shortID()

template<typename T >
virtual std::string basis::PositiveValueConstraint< T >::shortID ( ) const
inlinevirtual

Definition at line 210 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

template<typename T >
std::string basis::PositiveValueConstraint< T >::_typeDesc
protected

Definition at line 213 of file CmdArgs.h.


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