creaContours_lib
InstantMembersNameList Class Reference

#include <InstantMembersNameList.h>

Collaboration diagram for InstantMembersNameList:

Public Member Functions

 InstantMembersNameList ()
 
 ~InstantMembersNameList ()
 
void setActualOutline (std::string thekeyName, std::string theRealName)
 
void addOutlineName (std::string thekeyName, std::string theRealName)
 
void setActualAxeWrap (std::string thekeyName, std::string theRealName)
 
std::string getActualAxeKeyName ()
 
std::string getActualSourceImageKeyName ()
 
std::string getActualSectionImageKeyName ()
 
std::vector< NameWrapper * > getOutlinesNamesVector ()
 
void setActualSourceImageNamesWrapp (std::string thekeyName, std::string theRealName)
 
void setActualSectionImageNamesWrapp (std::string thekeyName, std::string theRealName)
 
void clean ()
 

Private Attributes

std::vector< NameWrapper * > outlinesNamesVector
 
std::vector< std::string > axesNamesVector
 
NameWrapperactualAxeNamesWrapp
 
NameWrapperactualSourceImageNamesWrapp
 
NameWrapperactualSectionImageNamesWrapp
 
NameWrapperactualOutlineNamesWrapp
 

Detailed Description

Definition at line 40 of file InstantMembersNameList.h.

Constructor & Destructor Documentation

InstantMembersNameList::InstantMembersNameList ( )
InstantMembersNameList::~InstantMembersNameList ( )

Definition at line 55 of file InstantMembersNameList.cxx.

References axesNamesVector, clean(), and outlinesNamesVector.

56  {
57  clean();
58  outlinesNamesVector.clear();
59  axesNamesVector.clear();
60  }

Here is the call graph for this function:

Member Function Documentation

void InstantMembersNameList::addOutlineName ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 80 of file InstantMembersNameList.cxx.

References outlinesNamesVector.

81  {
82  NameWrapper * outlineWrap = new NameWrapper (thekeyName, theRealName);
83  outlinesNamesVector.push_back(outlineWrap);
84  }
void InstantMembersNameList::clean ( )

Definition at line 155 of file InstantMembersNameList.cxx.

References axesNamesVector, and outlinesNamesVector.

Referenced by OutlineModelManager::annotateOutlinesWrap(), OutlineModelManager::clean(), and ~InstantMembersNameList().

156  {
157 
158  /*
159  if(!outlinesNamesVector.empty())
160  {while(outlinesNamesVector.size()>0)
161  outlinesNamesVector.pop_back();
162  }
163  if ( !axesNamesVector.empty())
164  {
165  while(axesNamesVector.size()>0)
166  axesNamesVector.pop_back();
167  }
168  */
169  outlinesNamesVector.clear();
170  axesNamesVector.clear();
171  /*
172  delete actualAxeNamesWrapp;
173  delete actualSourceImageNamesWrapp;
174  delete actualSectionImageNamesWrapp;
175  delete actualOutlineNamesWrapp;*/
176  }

Here is the caller graph for this function:

std::string InstantMembersNameList::getActualAxeKeyName ( )

Definition at line 100 of file InstantMembersNameList.cxx.

References actualAxeNamesWrapp, and NameWrapper::getKeyName().

101  {
103  }

Here is the call graph for this function:

std::string InstantMembersNameList::getActualSectionImageKeyName ( )

Definition at line 118 of file InstantMembersNameList.cxx.

References actualSourceImageNamesWrapp, and NameWrapper::getKeyName().

119  {
121  }

Here is the call graph for this function:

std::string InstantMembersNameList::getActualSourceImageKeyName ( )

Definition at line 109 of file InstantMembersNameList.cxx.

References actualSourceImageNamesWrapp, and NameWrapper::getKeyName().

110  {
112  }

Here is the call graph for this function:

std::vector< NameWrapper * > InstantMembersNameList::getOutlinesNamesVector ( )

Definition at line 127 of file InstantMembersNameList.cxx.

References outlinesNamesVector.

Referenced by OutlineModelManager::getActualInstantOutlines().

128  {
129  return outlinesNamesVector;
130  }

Here is the caller graph for this function:

void InstantMembersNameList::setActualAxeWrap ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 91 of file InstantMembersNameList.cxx.

References actualAxeNamesWrapp.

92  {
93  actualAxeNamesWrapp -> setWrappingPair(thekeyName, theRealName);
94  }
void InstantMembersNameList::setActualOutline ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 70 of file InstantMembersNameList.cxx.

References actualOutlineNamesWrapp, and NameWrapper::setWrappingPair().

71  {
72  actualOutlineNamesWrapp->setWrappingPair(thekeyName, theRealName);
73  }

Here is the call graph for this function:

void InstantMembersNameList::setActualSectionImageNamesWrapp ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 147 of file InstantMembersNameList.cxx.

References actualSectionImageNamesWrapp.

148  {
149  actualSectionImageNamesWrapp = new NameWrapper(thekeyName,theRealName);
150  }
void InstantMembersNameList::setActualSourceImageNamesWrapp ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 137 of file InstantMembersNameList.cxx.

References actualSourceImageNamesWrapp.

138  {
139  actualSourceImageNamesWrapp = new NameWrapper(thekeyName,theRealName);
140  }

Member Data Documentation

NameWrapper* InstantMembersNameList::actualAxeNamesWrapp
private
NameWrapper* InstantMembersNameList::actualOutlineNamesWrapp
private

Definition at line 145 of file InstantMembersNameList.h.

Referenced by InstantMembersNameList(), and setActualOutline().

NameWrapper* InstantMembersNameList::actualSectionImageNamesWrapp
private
NameWrapper* InstantMembersNameList::actualSourceImageNamesWrapp
private
std::vector<std::string> InstantMembersNameList::axesNamesVector
private

Definition at line 137 of file InstantMembersNameList.h.

Referenced by clean(), and ~InstantMembersNameList().

std::vector<NameWrapper *> InstantMembersNameList::outlinesNamesVector
private

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