creaContours_lib
PerformingOperation Class Reference

#include <PerformingOperation.h>

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 43 of file PerformingOperation.h.

Constructor & Destructor Documentation

PerformingOperation::PerformingOperation ( )

Definition at line 52 of file PerformingOperation.cxx.

References _endCommand, and _startCommand.

53  {
54  _startCommand = '\0';
55  _endCommand = '\0';
56  }
PerformingOperation::~PerformingOperation ( )

Definition at line 58 of file PerformingOperation.cxx.

References reset().

59  {
60  reset();
61  }

Here is the call graph for this function:

Member Function Documentation

char PerformingOperation::getEndCommand ( )

Definition at line 104 of file PerformingOperation.cxx.

References _endCommand.

105  {
106  return _endCommand;
107  }
std::vector< int > PerformingOperation::getEndOperationInstantVector ( )

Definition at line 89 of file PerformingOperation.cxx.

References _endOperationInstantVector.

90  {
92  }
std::vector< std::string > PerformingOperation::getKeyNamesOperationElems ( )

Definition at line 116 of file PerformingOperation.cxx.

References _keyNamesOperationElems.

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

117  {
119  }

Here is the caller graph for this function:

char PerformingOperation::getStartCommand ( )

Definition at line 94 of file PerformingOperation.cxx.

References _startCommand.

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

95  {
96  return _startCommand;
97  }

Here is the caller graph for this function:

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

Definition at line 76 of file PerformingOperation.cxx.

References _startOperationInstantVector.

77  {
79  }
void PerformingOperation::reset ( )

Definition at line 130 of file PerformingOperation.cxx.

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

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

131  {
132  _startCommand = '\0';
133  _endCommand = '\0';
136  _keyNamesOperationElems.clear();
137  }

Here is the caller graph for this function:

void PerformingOperation::setEndCommand ( char  theCommand)

Definition at line 110 of file PerformingOperation.cxx.

References _endCommand.

111  {
112  _endCommand = theCommand;
113  }
void PerformingOperation::setEndOperationInstantVector ( std::vector< int >  instantData)

Definition at line 81 of file PerformingOperation.cxx.

References _endOperationInstantVector.

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

82  {
83  for (int i =0; i< instantData.size(); i++)
84  {
85  _endOperationInstantVector.push_back( instantData[i] );
86  }
87  }

Here is the caller graph for this function:

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

Definition at line 121 of file PerformingOperation.cxx.

References _keyNamesOperationElems.

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

122  {
123  _keyNamesOperationElems = dataVector;
124  }

Here is the caller graph for this function:

void PerformingOperation::setStartCommand ( char  theCommand)

Definition at line 99 of file PerformingOperation.cxx.

References _startCommand.

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

100  {
101  _startCommand = theCommand;
102  }

Here is the caller graph for this function:

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

Definition at line 68 of file PerformingOperation.cxx.

References _startOperationInstantVector.

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

69  {
70  for (int i =0; i< instantData.size(); i++)
71  {
72  _startOperationInstantVector.push_back( instantData[i] );
73  }
74  }

Here is the caller graph for this function:

Member Data Documentation

char PerformingOperation::_endCommand
private

Definition at line 108 of file PerformingOperation.h.

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

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

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