iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::ValidValuesSpecNone< T > Class Template Reference

#include <nrt/Core/Typing/ValidValuesSpec.H>

template<class T>
class nrt::ValidValuesSpecNone< T >

Open/None valid values spec, anything that T can take is valid.

Definition at line 83 of file ValidValuesSpec.H.

Inheritance diagram for nrt::ValidValuesSpecNone< T >:
nrt::ValidValuesSpecBase< T >

Public Member Functions

 ValidValuesSpecNone ()
 Construct with no specification, any value that T can take goes.
 
virtual ~ValidValuesSpecNone ()
 Destructor.
 
virtual bool checkValueValidity (T const &val) const
 Check whether a proposed value is valid, here always returns true.
 
virtual std::string const str () const
 Convert to a readable string. More...
 
- Public Member Functions inherited from nrt::ValidValuesSpecBase< T >
 ValidValuesSpecBase ()
 Construct, for the base class this is a no-op. More...
 
virtual ~ValidValuesSpecBase ()
 Destructor.
 

Member Function Documentation

template<class T >
std::string const nrt::ValidValuesSpecNone< T >::str ( ) const
inlinevirtual

Convert to a readable string.

Returns None:[]

Implements nrt::ValidValuesSpecBase< T >.

Definition at line 69 of file ValidValuesSpecImpl.H.


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