STLdb

PrevUpHomeNext

Class template container_proxy

stldb::container_proxy

Synopsis

// In header: </Users/bobw/workspace/stldb_lib/stldb/container_proxy.h>

template<typename ManagedRegionType, typename ContainerT> 
class container_proxy :
  public stldb::container_proxy_base< ManagedRegionType >
{
public:
  // types
  typedef ContainerT                                container_type;
  typedef container_proxy_base< ManagedRegionType > base;          
  typedef ContainerT::allocator_type                allocator_type;

  // construct/copy/destruct
  container_proxy(const char *);
  ~container_proxy();

  // public member functions
  void * find_or_construct_container(Database< ManagedRegionType > &) ;
  void recoverOp(int, boost_iarchive_t &) ;
  void initializeCommit(Transaction &) ;
  void completeCommit(Transaction &) ;
  void initializeRollback(Transaction &) ;
  void completeRollback(Transaction &) ;
  void save_checkpoint(std::ostream &) ;
  void load_checkpoint(std::istream &) ;
};

Description

container_proxy public construct/copy/destruct

  1. container_proxy(const char * name);
  2. ~container_proxy();

container_proxy public member functions

  1. void * find_or_construct_container(Database< ManagedRegionType > & db) ;
  2. void recoverOp(int opcode, boost_iarchive_t & stream) ;
  3. void initializeCommit(Transaction & trans) ;
  4. void completeCommit(Transaction & trans) ;
  5. void initializeRollback(Transaction & trans) ;
  6. void completeRollback(Transaction & trans) ;
  7. void save_checkpoint(std::ostream & out) ;
  8. void load_checkpoint(std::istream & in) ;

PrevUpHomeNext