2 //----------------------------------------------------------------------------------------------------------------
3 // Class definition include
4 //----------------------------------------------------------------------------------------------------------------
5 #include "NameWrapper.h"
7 //----------------------------------------------------------------------------------------------------------------
8 // Class implementation
9 //----------------------------------------------------------------------------------------------------------------
10 /** @file NameWrapper.cxx */
12 //------------------------------------------------------------------------------------------------------------
13 // Constructors & Destructors
14 //------------------------------------------------------------------------------------------------------------
17 * Creates the NameWrapper
18 * @param thekeyName The key name
19 * @param theRealName The real name
20 * @return Returns the created NameWrapper
22 NameWrapper :: NameWrapper(std::string thekeyName, std::string theRealName)
24 setWrappingPair(thekeyName, theRealName);
28 * Destroys the NameWrapper
30 NameWrapper :: ~ NameWrapper()
35 //------------------------------------------------------------------------------------------------------------
37 //------------------------------------------------------------------------------------------------------------
40 * Sets the names pair to wrapp
41 * @param thekeyName The key name
42 * @param theRealName The real name
44 void NameWrapper :: setWrappingPair(std::string thekeyName, std::string theRealName )
46 realName = theRealName;
51 * Gets the wrapped key name
52 * @param keyName The key name
54 std::string NameWrapper :: getKeyName()
60 * Gets the wrapped real name
61 * @param realName The real name
63 std::string NameWrapper :: getRealName()