tesseract v5.3.3.20231005
tesseract::KDPtrPairInc< Key, Data > Struct Template Reference

#include <kdpair.h>

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

Public Member Functions

 KDPtrPairInc ()
 
 KDPtrPairInc (Key k, Data *d)
 
 KDPtrPairInc (const KDPtrPairInc &src)
 
void operator= (const KDPtrPairInc &src)
 
int operator< (const KDPtrPairInc< Key, Data > &other) const
 
- Public Member Functions inherited from tesseract::KDPtrPair< Key, Data >
 KDPtrPair ()
 
 KDPtrPair (Key k, Data *d)
 
 KDPtrPair (const KDPtrPair &src)
 
 ~KDPtrPair ()
 
void operator= (const 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::KDPtrPairInc< Key, Data >

Definition at line 157 of file kdpair.h.

Constructor & Destructor Documentation

◆ KDPtrPairInc() [1/3]

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

Definition at line 160 of file kdpair.h.

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

◆ KDPtrPairInc() [2/3]

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

Definition at line 161 of file kdpair.h.

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

◆ KDPtrPairInc() [3/3]

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

Definition at line 162 of file kdpair.h.

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

Member Function Documentation

◆ operator<()

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

Definition at line 167 of file kdpair.h.

167 {
168 return this->key() < other.key();
169 }
const Key & key() const
Definition: kdpair.h:128

◆ operator=()

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

Definition at line 163 of file kdpair.h.

163 {
165 }
void operator=(const KDPtrPair &src)
Definition: kdpair.h:116

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