CLAM::StreamImpl< Token, DataStructure > Class Template Reference

#include <StreamImpl.hxx>

List of all members.

Public Member Functions

void NewWritingRegionSize (Region &writer)
void NewReadingRegionSize (Region &)
 Do not check anything because the necessary checks are done at consume time.
void WriterHasAdvanced (Region &writer)
void ReaderHasAdvanced (Region &reader)
Token & Read (int physicalIndex, int size)
 This method is for generic interface convenience.
Token & operator[] (int physicalIndex)
int LogicalSize () const
bool ExistsCircularOverlap (int rear, int writingHead) const

Detailed Description

template<typename Token, template< class > class DataStructure>
class CLAM::StreamImpl< Token, DataStructure >

Definition at line 44 of file StreamImpl.hxx.


Member Function Documentation

template<typename Token , template< class > class DataStructure>
bool CLAM::StreamImpl< Token, DataStructure >::ExistsCircularOverlap ( int  rear,
int  writingHead 
) const [inline]

Definition at line 131 of file StreamImpl.hxx.

template<typename Token , template< class > class DataStructure>
int CLAM::StreamImpl< Token, DataStructure >::LogicalSize (  )  const [inline]
template<typename Token , template< class > class DataStructure>
void CLAM::StreamImpl< Token, DataStructure >::NewReadingRegionSize ( Region  )  [inline]

Do not check anything because the necessary checks are done at consume time.

Definition at line 88 of file StreamImpl.hxx.

template<typename Token , template< class > class DataStructure>
void CLAM::StreamImpl< Token, DataStructure >::NewWritingRegionSize ( Region writer  )  [inline]
template<typename Token , template< class > class DataStructure>
Token & CLAM::StreamImpl< Token, DataStructure >::operator[] ( int  physicalIndex  )  [inline]

Definition at line 115 of file StreamImpl.hxx.

References CLAM_DEBUG_ASSERT.

Referenced by CLAM::StreamImpl< Token, DataStructure >::Read().

template<typename Token , template< class > class DataStructure>
Token & CLAM::StreamImpl< Token, DataStructure >::Read ( int  physicalIndex,
int  size 
) [inline]

This method is for generic interface convenience.

It is used in the PhantomBuffer implementation.

Definition at line 109 of file StreamImpl.hxx.

References CLAM::StreamImpl< Token, DataStructure >::operator[]().

Referenced by CLAM::StreamImpl< Token, PhantomBuffer >::operator[]().

template<typename Token , template< class > class DataStructure>
void CLAM::StreamImpl< Token, DataStructure >::ReaderHasAdvanced ( Region reader  )  [inline]

Definition at line 102 of file StreamImpl.hxx.

template<typename Token , template< class > class DataStructure>
void CLAM::StreamImpl< Token, DataStructure >::WriterHasAdvanced ( Region writer  )  [inline]

Definition at line 93 of file StreamImpl.hxx.

References CLAM::Region::Hop().


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3