tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::NetworkScratch::Stack< T > Class Template Reference

#include <networkscratch.h>

Collaboration diagram for tesseract::NetworkScratch::Stack< T >:

Public Member Functions

 Stack ()
 
T * Borrow ()
 
void Return (T *item)
 

Private Attributes

PointerVector< T > stack_
 
GenericVector< bool > flags_
 
int stack_top_
 
SVMutex mutex_
 

Constructor & Destructor Documentation

◆ Stack()

template<typename T>
tesseract::NetworkScratch::Stack< T >::Stack ( )
inline

Member Function Documentation

◆ Borrow()

template<typename T>
T* tesseract::NetworkScratch::Stack< T >::Borrow ( )
inline

◆ Return()

template<typename T>
void tesseract::NetworkScratch::Stack< T >::Return ( T *  item)
inline

Member Data Documentation

◆ flags_

template<typename T>
GenericVector<bool> tesseract::NetworkScratch::Stack< T >::flags_
private

◆ mutex_

template<typename T>
SVMutex tesseract::NetworkScratch::Stack< T >::mutex_
private

◆ stack_

template<typename T>
PointerVector<T> tesseract::NetworkScratch::Stack< T >::stack_
private

◆ stack_top_

template<typename T>
int tesseract::NetworkScratch::Stack< T >::stack_top_
private

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