STLdb

PrevUpHomeNext

Class transactional_op_list

stldb::transactional_op_list

Synopsis

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


class transactional_op_list {
public:
  // construct/copy/destruct
  transactional_op_list(void);
  transactional_op_list(const transactional_op_list &);
  transactional_op_list& operator=(const transactional_op_list &);
  ~transactional_op_list();

  // public member functions
  void clear() ;
  void commit(Transaction &) ;
  void rollback(Transaction &) ;
  int add_to_log(boost_oarchive_t &) ;
};

Description

A list of transactional operations, and the code needed to carry out aggregate calls to each item in the list. Uses boost.intrusive slist<>

transactional_op_list public construct/copy/destruct

  1. transactional_op_list(void);
  2. transactional_op_list(const transactional_op_list & rarg);
  3. transactional_op_list& operator=(const transactional_op_list & rarg);
  4. ~transactional_op_list();

transactional_op_list public member functions

  1. void clear() ;
  2. void commit(Transaction & trans) ;
  3. void rollback(Transaction & trans) ;
  4. int add_to_log(boost_oarchive_t & buffer) ;

PrevUpHomeNext