src/lib-controler/controler-undo-redo.hh File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int getNbMaxUndos () const
void setNbMaxUndos (int ANumber)
bool getUndoOnFile () const
void setUndoOnFile (bool ABool)
virtual bool undo (int AStep=1)
virtual bool redo (int AStep=1)
bool emptyUndoRedo ()
virtual void undoRedoPreSave ()
virtual void undoRedoPostSaveOk ()
virtual void undoRedoPostSaveFailed ()
Méthodes de sauvegarde dans la pile d'undo/redo :
void emptyUndoList ()
void emptyRedoList ()
void basicPreSave ()
void basicPostSaveOk ()
void basicPostSaveFailed ()
std::string getUndoRedoStatus () const
std::string getFilename (int AIndex) const
int getNewFileIndex ()
virtual std::ostringstream * saveModel ()
virtual bool loadModel (std::ostringstream *AStream)
bool existsFile (const std::string &AFilename)
void recupLastUndoFromFile ()
void saveLastUndoOnFile ()
void recupFromFiles ()
bool basicUndo (int AStep=1)
bool basicRedo (int AStep=1)

Variables

bool FUndoOnFile
int FNbMaxUndos
int FLastFileIndex
std::list< std::ostringstream * > FUndos
std::list< std::ostringstream * > FRedos
std::ostringstream * FActu


Function Documentation

void basicPostSaveFailed (  )  [protected]

void basicPostSaveOk (  )  [protected]

void basicPreSave (  )  [protected]

bool basicRedo ( int  AStep = 1  )  [protected]

bool basicUndo ( int  AStep = 1  )  [protected]

void emptyRedoList (  )  [protected]

void emptyUndoList (  )  [protected]

bool emptyUndoRedo (  ) 

emptyUndoRedo

Pour vider la pile des undo / redo

bool existsFile ( const std::string &  AFilename  )  [protected]

std::string getFilename ( int  AIndex  )  const [protected]

int getNbMaxUndos (  )  const

int getNewFileIndex (  )  [protected]

bool getUndoOnFile (  )  const

std::string getUndoRedoStatus (  )  const [protected]

virtual bool loadModel ( std::ostringstream *  AStream  )  [protected, virtual]

void recupFromFiles (  )  [protected]

void recupLastUndoFromFile (  )  [protected]

virtual bool redo ( int  AStep = 1  )  [virtual]

void saveLastUndoOnFile (  )  [protected]

virtual std::ostringstream* saveModel (  )  [protected, virtual]

void setNbMaxUndos ( int  ANumber  ) 

void setUndoOnFile ( bool  ABool  ) 

virtual bool undo ( int  AStep = 1  )  [virtual]

undo

Termine l'opération en cours (si nécessaire) et passe en mode MODE_SELECTION avant d'effectuer l'undo.

virtual void undoRedoPostSaveFailed (  )  [protected, virtual]

virtual void undoRedoPostSaveOk (  )  [protected, virtual]

virtual void undoRedoPreSave (  )  [protected, virtual]


Variable Documentation

std::ostringstream* FActu

Definition at line 99 of file controler-undo-redo.hh.

Definition at line 96 of file controler-undo-redo.hh.

Definition at line 95 of file controler-undo-redo.hh.

std::list<std::ostringstream*> FRedos

Definition at line 98 of file controler-undo-redo.hh.

Definition at line 94 of file controler-undo-redo.hh.

std::list<std::ostringstream*> FUndos

Definition at line 97 of file controler-undo-redo.hh.


Generated on Tue Jul 7 15:17:53 2009 for Moka controler by  doxygen 1.5.8