tesseract  5.0.0-alpha-619-ge9db
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 (KDPtrPairInc &src)
 
void operator= (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 (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::KDPtrPairInc< Key, Data >

Definition at line 145 of file kdpair.h.

Constructor & Destructor Documentation

◆ KDPtrPairInc() [1/3]

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

Definition at line 148 of file kdpair.h.

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

◆ KDPtrPairInc() [2/3]

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

Definition at line 149 of file kdpair.h.

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

◆ KDPtrPairInc() [3/3]

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

Definition at line 150 of file kdpair.h.

150 : 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 155 of file kdpair.h.

155  {
156  return this->key() < other.key();
157  }

◆ operator=()

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

Definition at line 151 of file kdpair.h.

151  {
153  }

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