libmonaa
0.5.2
|
Word container without any runtime memory alloc / free. More...
#include <word_container.hh>
Public Member Functions | |
WordVector (FILE *file, bool isBinary=false) | |
Public Member Functions inherited from WordContainer< Vector< T > > | |
WordContainer (FILE *file, bool isBinary=false) | |
The constructor. More... | |
Container::value_type | operator[] (const std::size_t n) |
Access an element of the container. More... | |
Container::value_type | at (const std::size_t n) |
Access an element of the container. More... | |
std::size_t | size () const |
Returns the length of the timed word. More... | |
void | setFront (std::size_t n) |
Discard the elements before n-th position. More... | |
bool | fetch (std::size_t n) |
Fetch the timed words by n-th position. More... | |
Additional Inherited Members | |
Protected Attributes inherited from WordContainer< Vector< T > > | |
Vector< T > | vec |
The actual container of the timed word. | |
Word container without any runtime memory alloc / free.