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

Constrain argument values to zero or positive values. More...

#include <CmdArgs.h>

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

Public Member Functions

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

Protected Attributes

std::string _typeDesc
 

Detailed Description

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

Constrain argument values to zero or positive values.

Definition at line 220 of file CmdArgs.h.

Constructor & Destructor Documentation

§ ZeroOrPositiveValueConstraint()

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

Definition at line 223 of file CmdArgs.h.

§ ~ZeroOrPositiveValueConstraint()

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

Definition at line 224 of file CmdArgs.h.

Member Function Documentation

§ check()

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

Definition at line 227 of file CmdArgs.h.

§ description()

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

Definition at line 225 of file CmdArgs.h.

§ shortID()

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

Definition at line 226 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

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

Definition at line 229 of file CmdArgs.h.


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