STLdb

PrevUpHomeNext

Class checkpoint_fstream_base

stldb::checkpoint_fstream_base

Synopsis

// In header: </Users/bobw/workspaces/STLdb/stldb_lib/stldb/checkpoint.h>


class checkpoint_fstream_base {
public:
  // construct/copy/destruct
  checkpoint_fstream_base(const boost::filesystem::path &);
  checkpoint_fstream_base(const boost::filesystem::path &, const char *);
  checkpoint_fstream_base(const boost::filesystem::path &, 
                          const checkpoint_file_info &);
  checkpoint_fstream_base();
  checkpoint_fstream_base(const checkpoint_fstream_base &);
  checkpoint_fstream_base & operator=(const checkpoint_fstream_base &);
  ~checkpoint_fstream_base();

  // private member functions
  void prepare_free_by_offset();

  // public data members
  static const int extension_size;
  static const int entry_alignment;
  boost::filesystem::path checkpoint_dir;
  checkpoint_file_info meta;
  std::map< boost::interprocess::offset_t, std::size_t > free_by_offset;
};

Description

checkpoint_fstream_base public construct/copy/destruct

  1. checkpoint_fstream_base(const boost::filesystem::path & metafile);
  2. checkpoint_fstream_base(const boost::filesystem::path & checkpoint_path, 
                            const char * container_name);
  3. checkpoint_fstream_base(const boost::filesystem::path & checkpoint_path, 
                            const checkpoint_file_info & checkpoint_info);
  4. checkpoint_fstream_base();
  5. checkpoint_fstream_base(const checkpoint_fstream_base & rarg);
  6. checkpoint_fstream_base & operator=(const checkpoint_fstream_base & rarg);
  7. ~checkpoint_fstream_base();

checkpoint_fstream_base private member functions

  1. void prepare_free_by_offset();

PrevUpHomeNext