tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::KDPairDec< Key, Data > Struct Template Reference

#include <kdpair.h>

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

Public Member Functions

 KDPairDec ()=default
 
 KDPairDec (Key k, Data d)
 
int operator< (const KDPairDec< Key, Data > &other) const
 
- Public Member Functions inherited from tesseract::KDPair< Key, Data >
 KDPair ()=default
 
 KDPair (Key k, Data d)
 
int operator== (const KDPair< Key, Data > &other) const
 

Static Public Member Functions

static KDPairDecRecastDataPointer (Data *data_ptr)
 

Additional Inherited Members

- Public Attributes inherited from tesseract::KDPair< Key, Data >
Data data
 
Key key
 

Constructor & Destructor Documentation

◆ KDPairDec() [1/2]

template<typename Key , typename Data >
tesseract::KDPairDec< Key, Data >::KDPairDec ( )
default

◆ KDPairDec() [2/2]

template<typename Key , typename Data >
tesseract::KDPairDec< Key, Data >::KDPairDec ( Key  k,
Data  d 
)
inline

Member Function Documentation

◆ operator<()

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

◆ RecastDataPointer()

template<typename Key , typename Data >
static KDPairDec* tesseract::KDPairDec< Key, Data >::RecastDataPointer ( Data *  data_ptr)
inlinestatic

The documentation for this struct was generated from the following file: