libmonaa  0.5.2
Public Member Functions | List of all members
WordVector< T > Class Template Reference

Word container without any runtime memory alloc / free. More...

#include <word_container.hh>

Inheritance diagram for WordVector< T >:
Inheritance graph
[legend]
Collaboration diagram for WordVector< T >:
Collaboration graph
[legend]

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.
 

Detailed Description

template<class T>
class WordVector< T >

Word container without any runtime memory alloc / free.


The documentation for this class was generated from the following file: