#include <Buffer.h>
Inheritance diagram for FD::Buffer:
Public Member Functions | |
Buffer (int bLength) | |
Buffer (const Buffer &) | |
ObjectRef & | get (int ind) const |
ObjectRef & | operator[] (int ind) |
int | isValid (int ind) const |
void | printOn (std::ostream &out=std::cout) const |
int | getCurrentPos () |
Protected Attributes | |
std::vector< ObjectRef > | data |
std::vector< int > | flags |
int | bufferLength |
int | bufferPos |
int | currentPos |
|
Constructor, requires the buffer length (bLength) |
|
Copy constructor (not implemented, do we need one?) |
|
Indexing operator, read-only |
|
Indexing operator, also sets the indexed frame as being the current frame |
|
Prints the Buffer Implements FD::Object. |
|
The number N of objects kept |
|
Pointers to objects |