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
OR_Mapping.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: OR_Mapping.h ( OR Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __OR_Mapping__
12
#define __OR_Mapping__
13
14
#include "
OP_API.h
"
15
#include <
UT/UT_ValArray.h
>
16
17
18
#define OR_MAP_AUTONAME 0
19
#define OR_MAP_MANUAL 1
20
21
#define OR_MAP_DEFAULT OR_MAP_AUTONAME
22
23
class
orMapElement;
24
class
OP_Node
;
25
class
opParmData
;
26
class
UT_IStream
;
27
class
UT_OStream
;
28
29
class
OP_API
OR_Mapping
30
{
31
32
public
:
33
34
OR_Mapping
();
35
~
OR_Mapping
();
36
37
void
setMapping(
int
idx,
int
type
,
const
char
*
label
= 0);
38
int
getMapping(
int
idx,
const
char
*&
label
)
const
;
39
40
int
getNumMappings
()
const
41
{
return
myElements.entries(); }
42
43
int
findManualParms(
int
index
,
OP_Node
*
src
);
44
const
opParmData
*getManualParm(
int
index
,
int
i);
45
46
void
buildOpDependencies(
OP_Node
*
src
);
47
void
changeOpRef(
const
char
*new_fullpath,
const
char
*old_fullpath,
48
const
char
*old_cwd);
49
50
bool
save(
UT_OStream
&os);
51
bool
load(
UT_IStream
&is);
52
53
int64
getMemoryUsage(
bool
inclusive)
const
;
54
55
private
:
56
57
void
reset
();
58
59
60
UT_ValArray<orMapElement *>
myElements;
61
62
};
63
64
#endif
65
label
GLuint GLsizei const GLchar * label
Definition:
glcorearb.h:2545
UT_IStream
Definition:
UT_IStream.h:56
OP_API.h
UT_ValArray< orMapElement * >
reset
GLboolean reset
Definition:
glad.h:5138
OP_Node
Definition:
OP_Node.h:503
UT_ValArray.h
int64
long long int64
Definition:
SYS_Types.h:116
OR_Mapping::getNumMappings
int getNumMappings() const
Definition:
OR_Mapping.h:40
OP_API
#define OP_API
Definition:
OP_API.h:10
index
GLuint index
Definition:
glcorearb.h:786
OR_Mapping
Definition:
OR_Mapping.h:29
opParmData
Definition:
OP_Node.h:415
UT_OStream
Definition:
UT_OStream.h:35
type
type
Definition:
core.h:1059
src
GLenum src
Definition:
glcorearb.h:1793
OP
OR_Mapping.h
Generated on Thu Nov 21 2024 02:43:56 for HDK by
1.8.6