xoreos
0.0.5
|
A class representing an undoable change. More...
#include <changeid.h>
Public Member Functions | |
ChangeID () | |
ChangeID (const ChangeID &change) | |
~ChangeID () | |
ChangeID & | operator= (const ChangeID &change) |
bool | empty () const |
void | clear () |
ChangeContent * | getContent () const |
void | setContent (ChangeContent *content) |
Protected Attributes | |
ScopedPtr< ChangeContent > | _content |
A class representing an undoable change.
Definition at line 35 of file changeid.h.
Common::ChangeID::ChangeID | ( | ) |
Definition at line 29 of file changeid.cpp.
Common::ChangeID::ChangeID | ( | const ChangeID & | change | ) |
Definition at line 32 of file changeid.cpp.
Common::ChangeID::~ChangeID | ( | ) |
Definition at line 36 of file changeid.cpp.
void Common::ChangeID::clear | ( | ) |
Definition at line 52 of file changeid.cpp.
References _content.
Referenced by Aurora::TalkManager::removeTable(), and Aurora::ResourceManager::undo().
bool Common::ChangeID::empty | ( | ) | const |
Definition at line 48 of file changeid.cpp.
References _content.
ChangeContent * Common::ChangeID::getContent | ( | ) | const |
Definition at line 56 of file changeid.cpp.
References _content.
Referenced by Aurora::ResourceManager::newChangeSet(), Aurora::TalkManager::removeTable(), and Aurora::ResourceManager::undo().
Definition at line 39 of file changeid.cpp.
References _content.
void Common::ChangeID::setContent | ( | ChangeContent * | content | ) |
Definition at line 60 of file changeid.cpp.
References _content.
Referenced by Aurora::TalkManager::addTable(), and Aurora::ResourceManager::newChangeSet().
|
protected |
Definition at line 51 of file changeid.h.
Referenced by clear(), empty(), getContent(), operator=(), and setContent().