bes
Updated for version 3.20.8
|
Public Member Functions | |
virtual bool | add_chunk (std::shared_ptr< Chunk > candidate_chunk) |
Attempts to add a new Chunk to this SuperChunk. More... | |
virtual void | dump (std::ostream &strm) const |
Writes the to_string() output to the stream strm. More... | |
virtual bool | empty () |
std::vector< std::shared_ptr< Chunk > > | get_chunks () |
virtual std::string | get_data_url () |
virtual unsigned long long | get_offset () |
virtual unsigned long long | get_size () |
virtual void | read () |
Cause the SuperChunk and all of it's subordinate Chunks to be read. More... | |
std::string | to_string (bool verbose) const |
Makes a string representation of the SuperChunk. More... | |
Definition at line 39 of file SuperChunk.h.
Attempts to add a new Chunk to this SuperChunk.
If the passed chunk has the same data url, and is it is contiguous with the current end if the SuperChunk the Chunk is added, otherwise it is skipped.
candidate_chunk | The Chunk to add. |
Definition at line 64 of file SuperChunk.cc.
|
virtual |
Writes the to_string() output to the stream strm.
strm |
Definition at line 286 of file SuperChunk.cc.
|
virtual |
Cause the SuperChunk and all of it's subordinate Chunks to be read.
Definition at line 168 of file SuperChunk.cc.
string dmrpp::SuperChunk::to_string | ( | bool | verbose = false | ) | const |
Makes a string representation of the SuperChunk.
verbose | If set true then details of the subordinate Chunks will be included. |
Definition at line 265 of file SuperChunk.cc.