Teamcenter C++ API Reference  2312
Classes | Namespaces
OSEnvNameMapping.hxx File Reference
#include <string>
#include <map>
#include <base_utils/libbase_utils_exports.h>
#include <base_utils/libbase_utils_undef.h>

Go to the source code of this file.

Classes

class  Teamcenter::OSEnvNameMapping
 

Namespaces

namespace  Teamcenter
 A convenient C++ class to manage a list of tag_t. This convenient class is derived from TagList class which is only available for internal developers.
 

Detailed Description

Contains environment variable name mapping methods, based on prefix replacements.
The mapping can be used to help renaming environment variables, e.g. from OLDPREFIX_nametrailer to NEWPREFIX_nametrailer. The class can only be constructed once and the singleton can be accessed through a static function. Non-member functions are available in the Teamcenter namespace for convenience. If a name prefix mapping such as "OLDPREFIX_" ==> "NEWPREFIX_" is defined then the system automatically accesses the new name "NEWPREFIX_nametrailer" even if the old source code still reference "OLDPREFIX_nametrailer" for as long as all access to names is routed through this mapping table.

Definition in file OSEnvNameMapping.hxx.