Public Member Functions

NoBound< ElementType > Class Template Reference

NoBound bound class. More...

#include <keyvalue/key/generic/bound/NoBound.h>

List of all members.

Public Member Functions

bool check (const ElementType &x) const
 Returns true.
const ElementType & getBound () const
 Does not do anything.
const char * getName () const
 Does not do anything.

Detailed Description

template<typename ElementType>
class keyvalue::key::NoBound< ElementType >

NoBound bound class.

Parameters:
ElementType : (template parameter) Ignored. Accepted types are double, ptime, string and unsigned int. (Other types will generate a link error.)

Member Function Documentation

bool check ( const ElementType &  x  )  const

Returns true.

Parameters:
x : Ignored;
Returns:
true.
const ElementType& getBound (  )  const

Does not do anything.

This method must not be called. Otherwise we a LogicError will be thrown. It is here just to comply with bound classes specifications.

Returns:
N/A.
Exceptions:
LogicError. 
const char* getName (  )  const

Does not do anything.

This method must not be called. Otherwise we a LogicError will be thrown. It is here just to comply with bound classes specifications.

Returns:
N/A.
Exceptions:
LogicError.