Rosetta  3.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
utility::Bound< typename > Class Template Reference

Bound value class. More...

#include <Bound.hh>

Public Types

typedef T Value
 
typedef T value_type
 

Public Member Functions

 Bound ()
 Default constructor. More...
 
 Bound (Value const &value_a, bool const strict_a=false)
 
 ~Bound ()
 Destructor. More...
 
Bound & value (Value const &value_a, bool const strict_a=false)
 Value assignment. More...
 
Bound & operator() (Value const &value_a, bool const strict_a=false)
 Value assignment. More...
 
Bound & activate ()
 Activate. More...
 
Bound & deactivate ()
 Deactivate. More...
 
Bound & clear ()
 Clear. More...
 
bool active () const
 Active bound? More...
 
bool inactive () const
 Inactive bound? More...
 
Value const & operator() () const
 Bound value. More...
 
Value const & value () const
 Bound value. More...
 
bool strict () const
 Strict inequality (< or >) bound? More...
 

Static Public Member Functions

static Bound Strict (Value const &value_a)
 

Private Attributes

bool active_
 Active bound? More...
 
Value value_
 Bound value. More...
 
bool strict_
 Strict inequality (< or >) bound? More...
 

Detailed Description

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

Bound value class.

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename >
utility::Bound< typename >::Bound ( )
inline

Default constructor.

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

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

Destructor.

Member Function Documentation

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

Activate.

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

Clear.

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

Deactivate.

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

Value assignment.

template<typename >
Value const& utility::Bound< typename >::operator() ( ) const
inline

Bound value.

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

Value assignment.

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

Bound value.

Member Data Documentation

template<typename >
bool utility::Bound< typename >::active_
private
template<typename >
bool utility::Bound< typename >::strict_
private
template<typename >
Value utility::Bound< typename >::value_
private

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