Rosetta 3.3
Public Types | Public Member Functions | Static Public Member Functions
utility::Bound< T > Class Template Reference

Bound value class. More...

#include <Bound.hh>

Collaboration diagram for utility::Bound< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedefValue
typedefvalue_type

Public Member Functions

 Bound ()
 Default constructor.
 Bound (Value const &value_a, bool const strict_a=false)
 ~Bound ()
 Destructor.
Boundvalue (Value const &value_a, bool const strict_a=false)
 Value assignment.
Boundoperator() (Value const &value_a, bool const strict_a=false)
 Value assignment.
Boundactivate ()
 Activate.
Bounddeactivate ()
 Deactivate.
Boundclear ()
 Clear.
bool active () const
 Active bound?
bool inactive () const
 Inactive bound?
Value const & operator() () const
 Bound value.
Value const & value () const
 Bound value.
bool strict () const
 Strict inequality (< or >) bound?

Static Public Member Functions

static Bound Strict (Value const &value_a)

Detailed Description

template<typename T>
class utility::Bound< T >

Bound value class.


Member Typedef Documentation

template<typename T>
typedef T utility::Bound< T >::Value
template<typename T>
typedef T utility::Bound< T >::value_type

Constructor & Destructor Documentation

template<typename T>
utility::Bound< T >::Bound ( ) [inline]

Default constructor.

Referenced by utility::Bound< file::FileName >::Strict().

template<typename T>
utility::Bound< T >::Bound ( Value const &  value_a,
bool const  strict_a = false 
) [inline, explicit]
template<typename T>
utility::Bound< T >::~Bound ( ) [inline]

Destructor.


Member Function Documentation

template<typename T>
Bound& utility::Bound< T >::activate ( ) [inline]

Activate.

template<typename T>
bool utility::Bound< T >::active ( ) const [inline]
template<typename T>
Bound& utility::Bound< T >::clear ( ) [inline]

Clear.

template<typename T>
Bound& utility::Bound< T >::deactivate ( ) [inline]

Deactivate.

template<typename T>
bool utility::Bound< T >::inactive ( ) const [inline]
template<typename T>
Value const& utility::Bound< T >::operator() ( ) const [inline]

Bound value.

template<typename T>
Bound& utility::Bound< T >::operator() ( Value const &  value_a,
bool const  strict_a = false 
) [inline]

Value assignment.

template<typename T>
bool utility::Bound< T >::strict ( ) const [inline]
template<typename T>
static Bound utility::Bound< T >::Strict ( Value const &  value_a) [inline, static]
template<typename T>
Bound& utility::Bound< T >::value ( Value const &  value_a,
bool const  strict_a = false 
) [inline]

Value assignment.

template<typename T>
Value const& utility::Bound< T >::value ( ) const [inline]

Bound value.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines