tesseract  3.03
tesseract::KDPairDec< Key, Data > Struct Template Reference

#include <kdpair.h>

Inheritance diagram for tesseract::KDPairDec< Key, Data >:
tesseract::KDPair< Key, Data >

List of all members.

Public Member Functions

 KDPairDec ()
 KDPairDec (Key k, Data d)
int operator< (const KDPairDec< Key, Data > &other) const

Static Public Member Functions

static KDPairDecRecastDataPointer (Data *data_ptr)

Detailed Description

template<typename Key, typename Data>
struct tesseract::KDPairDec< Key, Data >

Definition at line 67 of file kdpair.h.


Constructor & Destructor Documentation

template<typename Key , typename Data >
tesseract::KDPairDec< Key, Data >::KDPairDec ( ) [inline]

Definition at line 68 of file kdpair.h.

{}
template<typename Key , typename Data >
tesseract::KDPairDec< Key, Data >::KDPairDec ( Key  k,
Data  d 
) [inline]

Definition at line 69 of file kdpair.h.

: KDPair<Key, Data>(k, d) {}

Member Function Documentation

template<typename Key , typename Data >
int tesseract::KDPairDec< Key, Data >::operator< ( const KDPairDec< Key, Data > &  other) const [inline]

Definition at line 72 of file kdpair.h.

                                                         {
    return this->key > other.key;
  }
template<typename Key , typename Data >
static KDPairDec* tesseract::KDPairDec< Key, Data >::RecastDataPointer ( Data *  data_ptr) [inline, static]

Definition at line 77 of file kdpair.h.

                                                      {
    return reinterpret_cast<KDPairDec*>(data_ptr);
  }

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