#include <ContourThing.h>
Public Member Functions | |
ContourThing (manualBaseModel *model) | |
~ContourThing () | |
std::string | getName () |
void | setName (std::string aName) |
manualBaseModel * | getModel () |
void | setModel (manualBaseModel *model) |
bool | executeCommand (CommandObject *theSpecificCommand) |
CommandObject * | getUndoCommandOf (CommandObject *theSpecificDOCommand) |
Private Attributes | |
std::string | outlineName |
manualBaseModel * | theModel |
Definition at line 15 of file ContourThing.h.
ContourThing::ContourThing | ( | manualBaseModel * | model | ) |
Definition at line 19 of file ContourThing.cxx.
References setModel().
00020 { 00021 setModel( model ); 00022 }
ContourThing::~ContourThing | ( | ) |
bool ContourThing::executeCommand | ( | CommandObject * | theSpecificCommand | ) |
Definition at line 67 of file ContourThing.cxx.
Referenced by OutlineModelManager::executeCommand_OutlineModel().
manualBaseModel * ContourThing::getModel | ( | ) |
Definition at line 52 of file ContourThing.cxx.
References theModel.
Referenced by OutlineModelManager::createCopyContourOf(), KernelManagerContour::deleteCModel(), KernelManagerContour::getOutlineByKeyName(), and OutlineModelManager::SaveThingName().
00053 { 00054 return theModel; 00055 }
std::string ContourThing::getName | ( | ) |
Definition at line 39 of file ContourThing.cxx.
References outlineName.
Referenced by OutlineModelManager::addOutline(), and OutlineModelManager::annotateOutlinesWrap().
00040 { 00041 return outlineName; 00042 }
CommandObject * ContourThing::getUndoCommandOf | ( | CommandObject * | theSpecificDOCommand | ) |
Definition at line 77 of file ContourThing.cxx.
Referenced by OutlineModelManager::executeCommand_OutlineModel().
00078 { 00079 ExecutableCommand * unDOcommand = new ExecutableCommand("UNDO command"); 00080 return unDOcommand; 00081 }
void ContourThing::setModel | ( | manualBaseModel * | model | ) |
Definition at line 57 of file ContourThing.cxx.
References theModel.
Referenced by ContourThing().
00058 { 00059 theModel = model; 00060 }
void ContourThing::setName | ( | std::string | aName | ) |
Definition at line 47 of file ContourThing.cxx.
References outlineName.
Referenced by OutlineModelManager::addOutline(), and OutlineModelManager::createOutline().
00048 { 00049 outlineName = aName; 00050 }
std::string ContourThing::outlineName [private] |
manualBaseModel* ContourThing::theModel [private] |