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

Constrain argument values to non-zero values. More...

#include <CmdArgs.h>

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

Public Member Functions

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

Protected Attributes

std::string _typeDesc
 

Detailed Description

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

Constrain argument values to non-zero values.

Definition at line 188 of file CmdArgs.h.

Constructor & Destructor Documentation

§ NonZeroValueConstraint()

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

Definition at line 191 of file CmdArgs.h.

§ ~NonZeroValueConstraint()

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

Definition at line 192 of file CmdArgs.h.

Member Function Documentation

§ check()

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

Definition at line 195 of file CmdArgs.h.

§ description()

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

Definition at line 193 of file CmdArgs.h.

§ shortID()

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

Definition at line 194 of file CmdArgs.h.

Member Data Documentation

§ _typeDesc

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

Definition at line 197 of file CmdArgs.h.


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