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

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

#include <CmdArgs.h>

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

Public Member Functions

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

Protected Attributes

std::string _typeDesc
 

Detailed Description

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

Constrain argument values to zero or negative values.

Definition at line 172 of file CmdArgs.h.

Constructor & Destructor Documentation

§ ZeroOrNegativeValueConstraint()

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

Definition at line 175 of file CmdArgs.h.

§ ~ZeroOrNegativeValueConstraint()

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

Definition at line 176 of file CmdArgs.h.

Member Function Documentation

§ check()

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

Definition at line 179 of file CmdArgs.h.

§ description()

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

Definition at line 177 of file CmdArgs.h.

§ shortID()

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

Definition at line 178 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

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

Definition at line 181 of file CmdArgs.h.


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