InstantMembersNameList.cxx
Go to the documentation of this file.00001
00002
00003
00004
00005 #include "InstantMembersNameList.h"
00006
00007
00008
00009
00012
00013
00014
00015
00016
00017
00018
00019 InstantMembersNameList :: InstantMembersNameList()
00020 {
00021 actualAxeNamesWrapp = new NameWrapper("","");
00022 actualSourceImageNamesWrapp = new NameWrapper("","");
00023 actualSectionImageNamesWrapp = new NameWrapper("","");
00024 actualOutlineNamesWrapp = new NameWrapper("","");
00025 }
00026
00027
00028
00029
00030 InstantMembersNameList :: ~InstantMembersNameList()
00031 {
00032 clean();
00033 outlinesNamesVector.clear();
00034 axesNamesVector.clear();
00035 }
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045 void InstantMembersNameList :: setActualOutline(std::string thekeyName, std::string theRealName )
00046 {
00047 actualOutlineNamesWrapp->setWrappingPair(thekeyName, theRealName);
00048 }
00049
00050
00051
00052
00053
00054
00055 void InstantMembersNameList :: addOutlineName(std::string thekeyName, std::string theRealName)
00056 {
00057 NameWrapper * outlineWrap = new NameWrapper (thekeyName, theRealName);
00058 outlinesNamesVector.push_back(outlineWrap);
00059 }
00060
00061
00062
00063
00064
00065
00066 void InstantMembersNameList :: setActualAxeWrap(std::string thekeyName, std::string theRealName)
00067 {
00068 actualAxeNamesWrapp -> setWrappingPair(thekeyName, theRealName);
00069 }
00070
00071
00072
00073
00074
00075 std::string InstantMembersNameList :: getActualAxeKeyName()
00076 {
00077 return actualAxeNamesWrapp->getKeyName();
00078 }
00079
00080
00081
00082
00083
00084 std::string InstantMembersNameList :: getActualSourceImageKeyName()
00085 {
00086 return actualSourceImageNamesWrapp->getKeyName();
00087 }
00088
00089
00090
00091
00092
00093 std::string InstantMembersNameList :: getActualSectionImageKeyName()
00094 {
00095 return actualSourceImageNamesWrapp->getKeyName();
00096 }
00097
00098
00099
00100
00101
00102 std::vector<NameWrapper *> InstantMembersNameList :: getOutlinesNamesVector()
00103 {
00104 return outlinesNamesVector;
00105 }
00106
00107
00108
00109
00110
00111
00112 void InstantMembersNameList :: setActualSourceImageNamesWrapp(std::string thekeyName, std::string theRealName)
00113 {
00114 actualSourceImageNamesWrapp = new NameWrapper(thekeyName,theRealName);
00115 }
00116
00117
00118
00119
00120
00121
00122 void InstantMembersNameList :: setActualSectionImageNamesWrapp(std::string thekeyName, std::string theRealName)
00123 {
00124 actualSectionImageNamesWrapp = new NameWrapper(thekeyName,theRealName);
00125 }
00126
00127
00128
00129
00130 void InstantMembersNameList :: clean()
00131 {
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144 outlinesNamesVector.clear();
00145 axesNamesVector.clear();
00146
00147
00148
00149
00150
00151 }
00152
00153