#include <StreamImpl.hxx>
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 |
Definition at line 44 of file StreamImpl.hxx.
| bool CLAM::StreamImpl< Token, DataStructure >::ExistsCircularOverlap | ( | int | rear, | |
| int | writingHead | |||
| ) | const [inline] |
Definition at line 131 of file StreamImpl.hxx.
| int CLAM::StreamImpl< Token, DataStructure >::LogicalSize | ( | ) | const [inline] |
Definition at line 125 of file StreamImpl.hxx.
Referenced by CLAM::StreamImpl< Token, PhantomBuffer >::ExistsCircularOverlap(), CLAM::StreamImpl< Token, DataStructure >::NewWritingRegionSize(), and CLAM::StreamImpl< Token, PhantomBuffer >::operator[]().
| 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.
| void CLAM::StreamImpl< Token, DataStructure >::NewWritingRegionSize | ( | Region & | writer | ) | [inline] |
Definition at line 70 of file StreamImpl.hxx.
References CLAM::StreamImpl< Token, DataStructure >::LogicalSize(), and CLAM::Region::Size().
| 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().
| 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[]().
| void CLAM::StreamImpl< Token, DataStructure >::ReaderHasAdvanced | ( | Region & | reader | ) | [inline] |
Definition at line 102 of file StreamImpl.hxx.
| void CLAM::StreamImpl< Token, DataStructure >::WriterHasAdvanced | ( | Region & | writer | ) | [inline] |
Definition at line 93 of file StreamImpl.hxx.
References CLAM::Region::Hop().
1.6.3