|
Tawara
0.1.0
|
#include <tawara/file_cluster.h>


Public Member Functions | |
| IteratorBase () | |
| Base constructor. More... | |
| IteratorBase (FileCluster const *cluster, std::istream &stream, std::streampos pos) | |
| Base constructor. More... | |
| template<typename OtherType > | |
| IteratorBase (IteratorBase< OtherType > const &other) | |
| Templated base constructor. More... | |
Protected Member Functions | |
| void | load_block (std::streampos pos) |
| void | increment () |
| Increment the iterator to the next block. More... | |
| template<typename OtherType > | |
| bool | equal (IteratorBase< OtherType > const &other) const |
| Test for equality with another iterator. More... | |
| BlockType & | dereference () const |
| Dereference the iterator to get a pointer to the block. More... | |
Protected Attributes | |
| FileCluster const * | cluster_ |
| std::istream * | stream_ |
| boost::shared_ptr< BlockType > | block_ |
Friends | |
| class | boost::iterator_core_access |
| class | FileCluster |
Definition at line 81 of file file_cluster.h.
|
inline |
|
inline |
Base constructor.
| [in] | cluster | The cluster containing the blocks. |
| [in] | stream | The stream to read blocks from. |
| [in] | pos | The position in the file of the first block to read. |
Definition at line 106 of file file_cluster.h.
|
inline |
Templated base constructor.
Used to provide interoperability with compatible iterators.
Definition at line 120 of file file_cluster.h.
|
inlineprotected |
Dereference the iterator to get a pointer to the block.
Definition at line 225 of file file_cluster.h.
|
inlineprotected |
Test for equality with another iterator.
| [in] | other | The other iterator. |
Definition at line 197 of file file_cluster.h.
|
inlineprotected |
Increment the iterator to the next block.
Definition at line 182 of file file_cluster.h.
|
inlineprotected |
Definition at line 137 of file file_cluster.h.
|
friend |
Definition at line 128 of file file_cluster.h.
|
friend |
Definition at line 131 of file file_cluster.h.
|
protected |
Definition at line 135 of file file_cluster.h.
|
protected |
Definition at line 133 of file file_cluster.h.
|
protected |
Definition at line 134 of file file_cluster.h.
1.8.8