NLMISC::CStaticMap< Key, Typ, Comp >::value_compare Class Reference

#include <static_map.h>

template<class Key, class Typ, class Comp = std::less<Key>>
class NLMISC::CStaticMap< Key, Typ, Comp >::value_compare


Public Member Functions

bool operator() (const value_type &__x, const value_type &__y) const

Protected Member Functions

 value_compare (Comp __c)

Protected Attributes

Comp _CompareFunc

Friends

class CStaticMap< Key, Typ, Comp >

Constructor & Destructor Documentation

template<class Key, class Typ, class Comp = std::less<Key>>
NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::value_compare Comp  __c  )  [inline, protected]
 

Definition at line 78 of file static_map.h.

References NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::_CompareFunc.

00078 : _CompareFunc(__c) {}


Member Function Documentation

template<class Key, class Typ, class Comp = std::less<Key>>
bool NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::operator() const value_type __x,
const value_type __y
const [inline]
 

Definition at line 70 of file static_map.h.

References NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::_CompareFunc.

00071                 {
00072                         return _CompareFunc(__x.first, __y.first);
00073                 }


Friends And Related Function Documentation

template<class Key, class Typ, class Comp = std::less<Key>>
friend class CStaticMap< Key, Typ, Comp > [friend]
 

Definition at line 68 of file static_map.h.


Field Documentation

template<class Key, class Typ, class Comp = std::less<Key>>
Comp NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::_CompareFunc [protected]
 

Definition at line 75 of file static_map.h.

Referenced by NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::operator()(), and NLMISC::CStaticMap< Key, Typ, Comp >::value_compare::value_compare().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 13:34:32 2004 for NeL by doxygen 1.3.6