HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
23
class
PRM_API
PRM_ParmNameMap
{
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
:
33
UT_SymbolMap<UT_StringHolder>
*myTable;
34
};
35
36
#endif
37
PRM_ParmNameMap::PRM_ParmNameMap
PRM_ParmNameMap()
Definition:
PRM_ParmNameMap.h:25
UT_StringHolder
Definition:
UT_StringHolder.h:999
PRM_ParmNameMap
Definition:
PRM_ParmNameMap.h:23
PRM_API.h
UT_SymbolMap
Definition:
PI_ImportUtils.h:22
PRM_API
#define PRM_API
Definition:
PRM_API.h:10
PRM
PRM_ParmNameMap.h
Generated on Fri Nov 8 2024 03:40:05 for HDK by
1.8.6