#include <package.h>
Public Member Functions | |
package (const char *file, bool writeable, bool empty=false) | |
~package () | |
chunk_writer * | writer (const std::string name) |
chunk_reader * | reader (const std::string name) |
void | commit () |
void | delete_chunk (const std::string name) |
bool | has_chunk (const std::string name) |
std::vector< std::string > | list_chunks () |
void | abort () |
void | unlink () |
Friends | |
class | chunk_writer |
class | chunk_reader |
package::package | ( | const char * | file, | |
bool | writeable, | |||
bool | empty = false | |||
) |
package::~package | ( | ) |
chunk_writer * package::writer | ( | const std::string | name | ) |
chunk_reader * package::reader | ( | const std::string | name | ) |
void package::commit | ( | ) |
void package::delete_chunk | ( | const std::string | name | ) |
bool package::has_chunk | ( | const std::string | name | ) |
std::vector< std::string > package::list_chunks | ( | ) |
void package::abort | ( | ) |
void package::unlink | ( | ) |
friend class chunk_writer [friend] |
friend class chunk_reader [friend] |