creaContours_lib
ContourThing Class Reference

#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)
 
CommandObjectgetUndoCommandOf (CommandObject *theSpecificDOCommand)
 

Private Attributes

std::string outlineName
 
manualBaseModel * theModel
 

Detailed Description

Definition at line 40 of file ContourThing.h.

Constructor & Destructor Documentation

ContourThing::ContourThing ( manualBaseModel *  model)

Definition at line 44 of file ContourThing.cxx.

References setModel().

45  {
46  setModel( model );
47  }

Here is the call graph for this function:

ContourThing::~ContourThing ( )

Definition at line 52 of file ContourThing.cxx.

53  {
54 
55  }

Member Function Documentation

bool ContourThing::executeCommand ( CommandObject theSpecificCommand)

Definition at line 92 of file ContourThing.cxx.

Referenced by OutlineModelManager::executeCommand_OutlineModel().

93  {
94  return true;
95  }

Here is the caller graph for this function:

manualBaseModel * ContourThing::getModel ( )
std::string ContourThing::getName ( )

Definition at line 64 of file ContourThing.cxx.

References outlineName.

Referenced by OutlineModelManager::addOutline(), and OutlineModelManager::annotateOutlinesWrap().

65  {
66  return outlineName;
67  }

Here is the caller graph for this function:

CommandObject * ContourThing::getUndoCommandOf ( CommandObject theSpecificDOCommand)

Definition at line 102 of file ContourThing.cxx.

Referenced by OutlineModelManager::executeCommand_OutlineModel().

103  {
104  ExecutableCommand * unDOcommand = new ExecutableCommand("UNDO command");
105  return unDOcommand;
106  }

Here is the caller graph for this function:

void ContourThing::setModel ( manualBaseModel *  model)

Definition at line 82 of file ContourThing.cxx.

References theModel.

Referenced by ContourThing().

83  {
84  theModel = model;
85  }

Here is the caller graph for this function:

void ContourThing::setName ( std::string  aName)

Definition at line 72 of file ContourThing.cxx.

References outlineName.

Referenced by OutlineModelManager::addOutline(), and OutlineModelManager::createOutline().

73  {
74  outlineName = aName;
75  }

Here is the caller graph for this function:

Member Data Documentation

std::string ContourThing::outlineName
private

Definition at line 99 of file ContourThing.h.

Referenced by getName(), and setName().

manualBaseModel* ContourThing::theModel
private

Definition at line 101 of file ContourThing.h.

Referenced by getModel(), and setModel().


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