Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

Backupable< D > Class Template Reference

#include <VirtualBoxBase.h>

Inheritance diagram for Backupable< D >:

util::Shareable< D > util::Shareable< D >

List of all members.


Detailed Description

template<class D>
class Backupable< D >

Simple template that enhances Shareable<> and supports data backup/rollback/commit (using the copy constructor of the managed data structure).

Todo:
(dmik) remove after we switch to VirtualBoxBaseNEXT completely
Simple template that enhances Shareable<> and supports data backup/rollback/commit (using the copy constructor of the managed data structure).

Definition at line 652 of file VirtualBoxBase.h.


Public Member Functions

void assignCopy (const Backupable &data)
void assignCopy (const D *data)
void assignCopy (const Backupable &data)
void assignCopy (const D *data)
D * backedUpData () const
D * backedUpData () const
void backup ()
void backup ()
void commit ()
void commit ()
void commitCopy ()
void commitCopy ()
void create ()
void createCopy (const Shareable &that)
const D * data () const
D * data ()
D * detach ()
D * detach ()
void free ()
void free ()
bool hasActualChanges () const
bool hasActualChanges () const
bool isBackedUp () const
bool isBackedUp () const
bool isNull () const
 operator bool () const
const D * operator-> () const
D * operator-> ()
void rollback ()
void rollback ()
virtual void setNull ()
void share (const Backupable &data)
void share (const Backupable &data)

Protected Attributes

D * mBackupData

Package Functions

void setData (Data *aData)

Package Attributes

 __pad0__

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index