PerformingOperation Class Reference

#include <PerformingOperation.h>

List of all members.

Public Member Functions

 PerformingOperation ()
 ~PerformingOperation ()
void setStartOperationInstantVector (std::vector< int > instantData)
std::vector< int > getStartOperationInstantVector ()
void setEndOperationInstantVector (std::vector< int > instantData)
std::vector< int > getEndOperationInstantVector ()
char getStartCommand ()
void setStartCommand (char theCommand)
char getEndCommand ()
void setEndCommand (char theCommand)
std::vector< std::string > getKeyNamesOperationElems ()
void setKeyNamesOperationElems (std::vector< std::string > dataVector)
void reset ()

Private Attributes

std::vector< int > _startOperationInstantVector
std::vector< int > _endOperationInstantVector
std::vector< std::string > _keyNamesOperationElems
char _startCommand
char _endCommand


Detailed Description

file PerformingOperation.h

Definition at line 18 of file PerformingOperation.h.


Constructor & Destructor Documentation

PerformingOperation::PerformingOperation (  ) 

Definition at line 27 of file PerformingOperation.cxx.

References _endCommand, and _startCommand.

00028         {
00029                 _startCommand = '\0';
00030                 _endCommand = '\0';
00031         }

PerformingOperation::~PerformingOperation (  ) 

Definition at line 33 of file PerformingOperation.cxx.

References reset().

00034         {
00035                 reset();
00036         }

Here is the call graph for this function:


Member Function Documentation

char PerformingOperation::getEndCommand (  ) 

Definition at line 79 of file PerformingOperation.cxx.

References _endCommand.

00080         {
00081                 return _endCommand;
00082         }

std::vector< int > PerformingOperation::getEndOperationInstantVector (  ) 

Definition at line 64 of file PerformingOperation.cxx.

References _endOperationInstantVector.

00065         {
00066                 return _endOperationInstantVector;
00067         }

std::vector< std::string > PerformingOperation::getKeyNamesOperationElems (  ) 

Definition at line 91 of file PerformingOperation.cxx.

References _keyNamesOperationElems.

Referenced by wxContourMainFrame::onMirror(), and wxContourMainFrame::onPaste().

00092         {
00093                 return _keyNamesOperationElems;
00094         }

Here is the caller graph for this function:

char PerformingOperation::getStartCommand (  ) 

Definition at line 69 of file PerformingOperation.cxx.

References _startCommand.

Referenced by wxContourMainFrame::onMirror(), and wxContourMainFrame::onPaste().

00070         {
00071                 return _startCommand;
00072         }

Here is the caller graph for this function:

std::vector< int > PerformingOperation::getStartOperationInstantVector (  ) 

Definition at line 51 of file PerformingOperation.cxx.

References _startOperationInstantVector.

00052         {
00053                 return _startOperationInstantVector;
00054         }

void PerformingOperation::reset (  ) 

Definition at line 105 of file PerformingOperation.cxx.

References _endCommand, _endOperationInstantVector, _keyNamesOperationElems, _startCommand, and _startOperationInstantVector.

Referenced by wxContourMainFrame::onCopy(), wxContourMainFrame::onMirror(), and ~PerformingOperation().

00106         {
00107                 _startCommand = '\0';
00108                 _endCommand = '\0';
00109                 _startOperationInstantVector.clear();
00110                 _endOperationInstantVector.clear();
00111                 _keyNamesOperationElems.clear();
00112         }

Here is the caller graph for this function:

void PerformingOperation::setEndCommand ( char  theCommand  ) 

Definition at line 85 of file PerformingOperation.cxx.

References _endCommand.

00086         {
00087                 _endCommand = theCommand;
00088         }

void PerformingOperation::setEndOperationInstantVector ( std::vector< int >  instantData  ) 

Definition at line 56 of file PerformingOperation.cxx.

References _endOperationInstantVector.

Referenced by wxContourMainFrame::onMirror(), and wxContourMainFrame::onPaste().

00057         {
00058                 for (int i =0; i< instantData.size(); i++)
00059                 {
00060                         _endOperationInstantVector.push_back( instantData[i] );
00061                 }               
00062         }

Here is the caller graph for this function:

void PerformingOperation::setKeyNamesOperationElems ( std::vector< std::string >  dataVector  ) 

Definition at line 96 of file PerformingOperation.cxx.

References _keyNamesOperationElems.

Referenced by wxContourMainFrame::onCopy(), and wxContourMainFrame::onMirror().

00097         {
00098                 _keyNamesOperationElems = dataVector;
00099         }

Here is the caller graph for this function:

void PerformingOperation::setStartCommand ( char  theCommand  ) 

Definition at line 74 of file PerformingOperation.cxx.

References _startCommand.

Referenced by wxContourMainFrame::onCopy(), and wxContourMainFrame::onMirror().

00075         {
00076                 _startCommand = theCommand;
00077         }

Here is the caller graph for this function:

void PerformingOperation::setStartOperationInstantVector ( std::vector< int >  instantData  ) 

Definition at line 43 of file PerformingOperation.cxx.

References _startOperationInstantVector.

Referenced by wxContourMainFrame::onCopy(), and wxContourMainFrame::onMirror().

00044         {
00045                 for (int i =0; i< instantData.size(); i++)
00046                 {
00047                         _startOperationInstantVector.push_back( instantData[i] );
00048                 }
00049         }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 83 of file PerformingOperation.h.

Referenced by getEndCommand(), PerformingOperation(), reset(), and setEndCommand().

std::vector<std::string> PerformingOperation::_keyNamesOperationElems [private]

Definition at line 81 of file PerformingOperation.h.

Referenced by getStartCommand(), PerformingOperation(), reset(), and setStartCommand().


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

Generated on Wed Jun 27 23:28:34 2012 for creaContours_lib by  doxygen 1.5.7.1