STLdb

PrevUpHomeNext

Class checkpoint_ifstream

stldb::checkpoint_ifstream

Synopsis

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


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

  // public member functions
  template<typename T> checkpoint_iterator< T > begin();
  template<typename T> checkpoint_iterator< T > end();
  template<typename T> 
    checkpoint_iterator< T > seek(boost::interprocess::offset_t);

  // private member functions
  void open_checkpoint();
};

Description

checkpoint_ifstream public construct/copy/destruct

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

checkpoint_ifstream public member functions

  1. template<typename T> checkpoint_iterator< T > begin();
  2. template<typename T> checkpoint_iterator< T > end();
  3. template<typename T> 
      checkpoint_iterator< T > seek(boost::interprocess::offset_t offset);

checkpoint_ifstream private member functions

  1. void open_checkpoint();

PrevUpHomeNext