tesseract  5.0.0-alpha-619-ge9db
tesseract::KDPtrPairDec< Key, Data > Struct Template Reference

#include <kdpair.h>

Inheritance diagram for tesseract::KDPtrPairDec< Key, Data >:
tesseract::KDPtrPair< Key, Data >

Public Member Functions

 KDPtrPairDec ()
 
 KDPtrPairDec (Key k, Data *d)
 
 KDPtrPairDec (KDPtrPairDec &src)
 
void operator= (KDPtrPairDec &src)
 
int operator< (const KDPtrPairDec< Key, Data > &other) const
 
- Public Member Functions inherited from tesseract::KDPtrPair< Key, Data >
 KDPtrPair ()
 
 KDPtrPair (Key k, Data *d)
 
 KDPtrPair (KDPtrPair &src)
 
 ~KDPtrPair ()
 
void operator= (KDPtrPair &src)
 
int operator== (const KDPtrPair< Key, Data > &other) const
 
const Key & key () const
 
void set_key (const Key &new_key)
 
const Data * data () const
 
void set_data (Data *new_data)
 
Data * extract_data ()
 

Detailed Description

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

Definition at line 162 of file kdpair.h.

Constructor & Destructor Documentation

◆ KDPtrPairDec() [1/3]

template<typename Key, typename Data>
tesseract::KDPtrPairDec< Key, Data >::KDPtrPairDec ( )
inline

Definition at line 165 of file kdpair.h.

165 : KDPtrPair<Key, Data>() {}

◆ KDPtrPairDec() [2/3]

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

Definition at line 166 of file kdpair.h.

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

◆ KDPtrPairDec() [3/3]

template<typename Key, typename Data>
tesseract::KDPtrPairDec< Key, Data >::KDPtrPairDec ( KDPtrPairDec< Key, Data > &  src)
inline

Definition at line 167 of file kdpair.h.

167 : KDPtrPair<Key, Data>(src) {}

Member Function Documentation

◆ operator<()

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

Definition at line 173 of file kdpair.h.

173  {
174  return this->key() > other.key();
175  }

◆ operator=()

template<typename Key, typename Data>
void tesseract::KDPtrPairDec< Key, Data >::operator= ( KDPtrPairDec< Key, Data > &  src)
inline

Definition at line 168 of file kdpair.h.

168  {
170  }

The documentation for this struct was generated from the following file:
tesseract::KDPtrPair::operator=
void operator=(KDPtrPair &src)
Definition: kdpair.h:104
tesseract::KDPtrPair::key
const Key & key() const
Definition: kdpair.h:116