CLucene - a full-featured, c++ search engine
API Documentation


jstreams::InputStreamBuffer< T > Class Template Reference

#include <inputstreambuffer.h>


Public Member Functions

 InputStreamBuffer ()
 ~InputStreamBuffer ()
void setSize (int32_t size)
int32_t read (const T *&start, int32_t max=0)
int32_t makeSpace (int32_t needed)
 This function prepares the buffer for a new write.

Data Fields

T * start
int32_t size
T * readPos
int32_t avail

template<class T>
class jstreams::InputStreamBuffer< T >


Constructor & Destructor Documentation

template<class T>
jstreams::InputStreamBuffer< T >::InputStreamBuffer (  )  [inline]

template<class T>
jstreams::InputStreamBuffer< T >::~InputStreamBuffer (  )  [inline]


Member Function Documentation

template<class T>
void jstreams::InputStreamBuffer< T >::setSize ( int32_t  size  )  [inline]

template<class T>
int32_t jstreams::InputStreamBuffer< T >::read ( const T *&  start,
int32_t  max = 0 
) [inline]

template<class T>
int32_t jstreams::InputStreamBuffer< T >::makeSpace ( int32_t  needed  )  [inline]


Field Documentation

template<class T>
T* jstreams::InputStreamBuffer< T >::start

template<class T>
int32_t jstreams::InputStreamBuffer< T >::size

template<class T>
T* jstreams::InputStreamBuffer< T >::readPos

template<class T>
int32_t jstreams::InputStreamBuffer< T >::avail


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

clucene.sourceforge.net