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

#include <kdpair.h>

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

Public Member Functions

 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 ()
 

Private Attributes

Data * data_
 
Key key_
 

Constructor & Destructor Documentation

◆ KDPtrPair() [1/3]

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

◆ KDPtrPair() [2/3]

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

◆ KDPtrPair() [3/3]

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

◆ ~KDPtrPair()

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

Member Function Documentation

◆ data()

template<typename Key, typename Data>
const Data* tesseract::KDPtrPair< Key, Data >::data ( ) const
inline

◆ extract_data()

template<typename Key, typename Data>
Data* tesseract::KDPtrPair< Key, Data >::extract_data ( )
inline

◆ key()

template<typename Key, typename Data>
const Key& tesseract::KDPtrPair< Key, Data >::key ( ) const
inline

◆ operator=()

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

◆ operator==()

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

◆ set_data()

template<typename Key, typename Data>
void tesseract::KDPtrPair< Key, Data >::set_data ( Data *  new_data)
inline

◆ set_key()

template<typename Key, typename Data>
void tesseract::KDPtrPair< Key, Data >::set_key ( const Key &  new_key)
inline

Member Data Documentation

◆ data_

template<typename Key, typename Data>
Data* tesseract::KDPtrPair< Key, Data >::data_
private

◆ key_

template<typename Key, typename Data>
Key tesseract::KDPtrPair< Key, Data >::key_
private

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