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

#include <kdpair.h>

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

List of all members.

Public Member Functions

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

Static Public Member Functions

static KDPairIncRecastDataPointer (Data *data_ptr)

Detailed Description

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

Definition at line 51 of file kdpair.h.


Constructor & Destructor Documentation

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

Definition at line 52 of file kdpair.h.

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

Definition at line 53 of file kdpair.h.

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

Member Function Documentation

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

Definition at line 55 of file kdpair.h.

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

Definition at line 60 of file kdpair.h.

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

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