31#ifndef TTA_REVERSIBLE_HH
32#define TTA_REVERSIBLE_HH
virtual bool operator()()=0
bool runPostChild(Reversible *preChild)
std::stack< Reversible * > preChildren_
void undoAndRemoveChildren(std::stack< Reversible * > &children)
std::stack< Reversible * > postChildren_
void undoAndRemovePreChildren()
void deleteChildren(std::stack< Reversible * > &children)
bool runChild(std::stack< Reversible * > &children, Reversible *child)
bool runPreChild(Reversible *preChild)
virtual void undoOnlyMe()
void undoAndRemovePostChildren()