![]() |
stldb::checkpoint_ofstream
// In header: </Users/bobw/workspaces/STLdb/stldb_lib/stldb/checkpoint.h> class checkpoint_ofstream : protected stldb::checkpoint_fstream_base { public: // construct/copy/destruct checkpoint_ofstream(const boost::filesystem::path &); checkpoint_ofstream(const boost::filesystem::path &, const char *); checkpoint_ofstream(const boost::filesystem::path &, const checkpoint_file_info &); ~checkpoint_ofstream(); // public member functions void clear(); template<typename InputIterator> void add_free_space(InputIterator, InputIterator); void add_free_space(const checkpoint_loc_t &); template<typename T> checkpoint_loc_t write(const T &); void commit(transaction_id_t, transaction_id_t); // protected member functions checkpoint_loc_t allocate(std::size_t); void write(boost::interprocess::offset_t, std::size_t, std::string); void add_free_space(); // private member functions void open_checkpoint(); };
checkpoint_ofstream
public
construct/copy/destructcheckpoint_ofstream(const boost::filesystem::path & metafile);
checkpoint_ofstream(const boost::filesystem::path & checkpoint_path, const char * container_name);
checkpoint_ofstream(const boost::filesystem::path & checkpoint_path, const checkpoint_file_info & checkpoint_info);
~checkpoint_ofstream();