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

Constrain argument values to negative values. More...

#include <CmdArgs.h>

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

Public Member Functions

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

Protected Attributes

std::string _typeDesc
 

Detailed Description

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

Constrain argument values to negative values.

Definition at line 156 of file CmdArgs.h.

Constructor & Destructor Documentation

§ NegativeValueConstraint()

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

Definition at line 159 of file CmdArgs.h.

§ ~NegativeValueConstraint()

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

Definition at line 160 of file CmdArgs.h.

Member Function Documentation

§ check()

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

Definition at line 163 of file CmdArgs.h.

§ description()

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

Definition at line 161 of file CmdArgs.h.

§ shortID()

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

Definition at line 162 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

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

Definition at line 165 of file CmdArgs.h.


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