creaContours_lib
NameWrapper Class Reference

#include <NameWrapper.h>

Public Member Functions

 NameWrapper (std::string thekeyName, std::string theRealName)
 
 ~NameWrapper ()
 
void setWrappingPair (std::string thekeyName, std::string theRealName)
 
std::string getKeyName ()
 
std::string getRealName ()
 

Private Attributes

std::string keyName
 
std::string realName
 

Detailed Description

Definition at line 36 of file NameWrapper.h.

Constructor & Destructor Documentation

NameWrapper::NameWrapper ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 47 of file NameWrapper.cxx.

References setWrappingPair().

48  {
49  setWrappingPair(thekeyName, theRealName);
50  }

Here is the call graph for this function:

NameWrapper::~NameWrapper ( )

Definition at line 55 of file NameWrapper.cxx.

56  {
57 
58  }

Member Function Documentation

std::string NameWrapper::getKeyName ( )

Definition at line 79 of file NameWrapper.cxx.

References keyName.

Referenced by InstantMembersNameList::getActualAxeKeyName(), InstantMembersNameList::getActualSectionImageKeyName(), and InstantMembersNameList::getActualSourceImageKeyName().

80  {
81  return keyName;
82  }

Here is the caller graph for this function:

std::string NameWrapper::getRealName ( )

Definition at line 88 of file NameWrapper.cxx.

References realName.

89  {
90  return realName;
91  }
void NameWrapper::setWrappingPair ( std::string  thekeyName,
std::string  theRealName 
)

Definition at line 69 of file NameWrapper.cxx.

References keyName, and realName.

Referenced by NameWrapper(), and InstantMembersNameList::setActualOutline().

70  {
71  realName = theRealName;
72  keyName = thekeyName;
73  }

Here is the caller graph for this function:

Member Data Documentation

std::string NameWrapper::keyName
private

Definition at line 90 of file NameWrapper.h.

Referenced by getKeyName(), and setWrappingPair().

std::string NameWrapper::realName
private

Definition at line 95 of file NameWrapper.h.

Referenced by getRealName(), and setWrappingPair().


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