#include <IntStream.h>
Inheritance diagram for PLearn::InMemoryIntStream:


Public Member Functions | |
| InMemoryIntStream (IntStream &stream) | |
| copy stream to memory | |
| virtual void | seek (long position) |
| move to given position | |
| virtual int | next () |
| return currently available int from the stream (at currente position) and THEN increment position to NEXT item | |
| virtual int | current () |
| return next available int from the stream | |
| virtual long | size () |
| total length of the stream | |
| virtual | ~InMemoryIntStream () |
Protected Attributes | |
| int * | data |
| int | length |
|
|
copy stream to memory
Definition at line 267 of file IntStream.cc. References data, length, PLearn::IntStream::next(), and PLearn::IntStream::size(). |
|
|
Definition at line 188 of file IntStream.h. References data. |
|
|
return next available int from the stream
Reimplemented from PLearn::IntStream. Definition at line 185 of file IntStream.h. References data. |
|
|
return currently available int from the stream (at currente position) and THEN increment position to NEXT item
Reimplemented from PLearn::IntStream. Definition at line 179 of file IntStream.h. |
|
|
move to given position
Reimplemented from PLearn::IntStream. Definition at line 171 of file IntStream.h. References length, PLERROR, and seek(). Referenced by seek(). |
|
|
total length of the stream
Reimplemented from PLearn::IntStream. Definition at line 186 of file IntStream.h. References length. |
|
|
Definition at line 164 of file IntStream.h. Referenced by current(), InMemoryIntStream(), next(), and ~InMemoryIntStream(). |
|
|
Definition at line 165 of file IntStream.h. Referenced by InMemoryIntStream(), next(), seek(), and size(). |
1.3.7