Static Public Member Functions

NonMonotone Class Reference

NonMonotone class. More...

#include <keyvalue/key/generic/monotone/NonMonotone.h>

List of all members.

Static Public Member Functions

template<typename ElementType >
static bool check (const ElementType &x, const ElementType &y)
 Returns true.
static const char * getName ()
 Does not do anything.

Detailed Description

NonMonotone class.

Used for keys with non monotone values.


Member Function Documentation

static bool check ( const ElementType &  x,
const ElementType &  y 
) [static]

Returns true.

Parameters:
x : Ignored;
y : Ignored.
ElementType : (template parameter) Type of x. Accepted types are double, ptime, string and unsigned int. (Other types will generate a link error.)
Returns:
true.
static const char* getName (  )  [static]

Does not do anything.

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

Returns:
N/A.
Exceptions:
LogicError.