HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PRM_ParmNameMap.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: PRM_ParmNameMap.h ( PRM Library, C++)
7  *
8  * COMMENTS: A symbol table used to perform parameter name mapping when
9  * loading old parameters. This is really just a symbol table
10  * which knows how to properly destruct itself, and is cheaper to
11  * construct, destruct since the table is only created if there's
12  * a mapping created.
13  */
14 
15 #ifndef __PRM_ParmNameMap__
16 #define __PRM_ParmNameMap__
17 
18 #include "PRM_API.h"
19 
20 class UT_StringHolder;
21 template<typename T> class UT_SymbolMap;
22 
24 public:
25  PRM_ParmNameMap() { myTable = 0; }
26  ~PRM_ParmNameMap();
27 
28  void addMap(const char *oldname,
29  const char *newname);
30  const char *findName(const char *oldname) const;
31 
32 private:
34 };
35 
36 #endif
37 
#define PRM_API
Definition: PRM_API.h:10