#include <InstantMembersNameList.h>
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 |
NameWrapper * | actualAxeNamesWrapp |
NameWrapper * | actualSourceImageNamesWrapp |
NameWrapper * | actualSectionImageNamesWrapp |
NameWrapper * | actualOutlineNamesWrapp |
Definition at line 15 of file InstantMembersNameList.h.
InstantMembersNameList::InstantMembersNameList | ( | ) |
Definition at line 19 of file InstantMembersNameList.cxx.
References actualAxeNamesWrapp, actualOutlineNamesWrapp, actualSectionImageNamesWrapp, and actualSourceImageNamesWrapp.
00020 { 00021 actualAxeNamesWrapp = new NameWrapper("",""); 00022 actualSourceImageNamesWrapp = new NameWrapper("",""); 00023 actualSectionImageNamesWrapp = new NameWrapper("",""); 00024 actualOutlineNamesWrapp = new NameWrapper("",""); 00025 }
InstantMembersNameList::~InstantMembersNameList | ( | ) |
Definition at line 30 of file InstantMembersNameList.cxx.
References axesNamesVector, clean(), and outlinesNamesVector.
00031 { 00032 clean(); 00033 outlinesNamesVector.clear(); 00034 axesNamesVector.clear(); 00035 }
void InstantMembersNameList::addOutlineName | ( | std::string | thekeyName, | |
std::string | theRealName | |||
) |
Definition at line 55 of file InstantMembersNameList.cxx.
References outlinesNamesVector.
00056 { 00057 NameWrapper * outlineWrap = new NameWrapper (thekeyName, theRealName); 00058 outlinesNamesVector.push_back(outlineWrap); 00059 }
void InstantMembersNameList::clean | ( | ) |
Definition at line 130 of file InstantMembersNameList.cxx.
References axesNamesVector, and outlinesNamesVector.
Referenced by OutlineModelManager::annotateOutlinesWrap(), OutlineModelManager::clean(), and ~InstantMembersNameList().
00131 { 00132 00133 /* 00134 if(!outlinesNamesVector.empty()) 00135 {while(outlinesNamesVector.size()>0) 00136 outlinesNamesVector.pop_back(); 00137 } 00138 if ( !axesNamesVector.empty()) 00139 { 00140 while(axesNamesVector.size()>0) 00141 axesNamesVector.pop_back(); 00142 } 00143 */ 00144 outlinesNamesVector.clear(); 00145 axesNamesVector.clear(); 00146 /* 00147 delete actualAxeNamesWrapp; 00148 delete actualSourceImageNamesWrapp; 00149 delete actualSectionImageNamesWrapp; 00150 delete actualOutlineNamesWrapp;*/ 00151 }
std::string InstantMembersNameList::getActualAxeKeyName | ( | ) |
Definition at line 75 of file InstantMembersNameList.cxx.
References actualAxeNamesWrapp, and NameWrapper::getKeyName().
00076 { 00077 return actualAxeNamesWrapp->getKeyName(); 00078 }
std::string InstantMembersNameList::getActualSectionImageKeyName | ( | ) |
Definition at line 93 of file InstantMembersNameList.cxx.
References actualSourceImageNamesWrapp, and NameWrapper::getKeyName().
00094 { 00095 return actualSourceImageNamesWrapp->getKeyName(); 00096 }
std::string InstantMembersNameList::getActualSourceImageKeyName | ( | ) |
Definition at line 84 of file InstantMembersNameList.cxx.
References actualSourceImageNamesWrapp, and NameWrapper::getKeyName().
00085 { 00086 return actualSourceImageNamesWrapp->getKeyName(); 00087 }
std::vector< NameWrapper * > InstantMembersNameList::getOutlinesNamesVector | ( | ) |
Definition at line 102 of file InstantMembersNameList.cxx.
References outlinesNamesVector.
Referenced by OutlineModelManager::getActualInstantOutlines().
00103 { 00104 return outlinesNamesVector; 00105 }
void InstantMembersNameList::setActualAxeWrap | ( | std::string | thekeyName, | |
std::string | theRealName | |||
) |
Definition at line 66 of file InstantMembersNameList.cxx.
References actualAxeNamesWrapp.
00067 { 00068 actualAxeNamesWrapp -> setWrappingPair(thekeyName, theRealName); 00069 }
void InstantMembersNameList::setActualOutline | ( | std::string | thekeyName, | |
std::string | theRealName | |||
) |
Definition at line 45 of file InstantMembersNameList.cxx.
References actualOutlineNamesWrapp, and NameWrapper::setWrappingPair().
00046 { 00047 actualOutlineNamesWrapp->setWrappingPair(thekeyName, theRealName); 00048 }
void InstantMembersNameList::setActualSectionImageNamesWrapp | ( | std::string | thekeyName, | |
std::string | theRealName | |||
) |
Definition at line 122 of file InstantMembersNameList.cxx.
References actualSectionImageNamesWrapp.
00123 { 00124 actualSectionImageNamesWrapp = new NameWrapper(thekeyName,theRealName); 00125 }
void InstantMembersNameList::setActualSourceImageNamesWrapp | ( | std::string | thekeyName, | |
std::string | theRealName | |||
) |
Definition at line 112 of file InstantMembersNameList.cxx.
References actualSourceImageNamesWrapp.
00113 { 00114 actualSourceImageNamesWrapp = new NameWrapper(thekeyName,theRealName); 00115 }
Definition at line 114 of file InstantMembersNameList.h.
Referenced by getActualAxeKeyName(), InstantMembersNameList(), and setActualAxeWrap().
Definition at line 120 of file InstantMembersNameList.h.
Referenced by InstantMembersNameList(), and setActualOutline().
Definition at line 118 of file InstantMembersNameList.h.
Referenced by InstantMembersNameList(), and setActualSectionImageNamesWrapp().
Definition at line 116 of file InstantMembersNameList.h.
Referenced by getActualSectionImageKeyName(), getActualSourceImageKeyName(), InstantMembersNameList(), and setActualSourceImageNamesWrapp().
std::vector<std::string> InstantMembersNameList::axesNamesVector [private] |
Definition at line 112 of file InstantMembersNameList.h.
Referenced by clean(), and ~InstantMembersNameList().
std::vector<NameWrapper *> InstantMembersNameList::outlinesNamesVector [private] |
Definition at line 110 of file InstantMembersNameList.h.
Referenced by addOutlineName(), clean(), getOutlinesNamesVector(), and ~InstantMembersNameList().