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
PDG_Dependency.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
* COMMENTS:
7
*/
8
9
#ifndef __PDG_DEPENDENCY_H__
10
#define __PDG_DEPENDENCY_H__
11
12
#include "
PDG_API.h
"
13
#include "
PDG_Types.h
"
14
15
#include <
UT/UT_StringHolder.h
>
16
17
class
PDG_GraphContext
;
18
class
PDG_Node
;
19
20
class
PDG_API
PDG_Dependency
:
public
PDG_TypeInstance
21
{
22
public
:
23
PDG_Dependency
(
24
const
PDG_BaseType
*
type
,
25
const
PDGT_ValueArgs
& extra_args,
26
const
UT_StringHolder
& key);
27
~
PDG_Dependency
()
override
;
28
29
int64
getMemoryUsage
(
bool
inclusive)
const override
;
30
31
const
UT_StringHolder
& key()
const
;
32
void
setUnresolved();
33
bool
resolve(
PDG_GraphContext
* context,
PDG_Node
* node);
34
35
virtual
bool
isResolved(
36
PDG_GraphContext
* context,
37
PDG_Node
* node)
const
;
38
virtual
bool
onResolve(
PDG_GraphContext
*,
PDG_Node
*) = 0;
39
40
void
addNode(
PDG_Node
* node);
41
bool
removeNode(
PDG_Node
* node);
42
const
PDG_NodeArray
& nodes()
const
;
43
44
protected
:
45
UT_StringHolder
myKey
;
46
47
private
:
48
bool
myResolvedFlag;
49
PDG_NodeArray
myNodes
;
50
};
51
52
#endif
PDG_Node
Definition:
PDG_Node.h:57
myNodes
myNodes
Definition:
UT_RTreeImpl.h:708
PDG_API
#define PDG_API
Definition:
PDG_API.h:23
PDG_Types.h
PDGT_BaseType
Definition:
PDGT_BaseType.h:39
UT_Array< PDG_Node * >
UT_StringHolder
Definition:
UT_StringHolder.h:999
PDGT_TypeInstance
Definition:
PDGT_TypeInstance.h:42
PDGT_TypeInstance::getMemoryUsage
virtual int64 getMemoryUsage(bool inclusive) const
Definition:
PDGT_TypeInstance.h:68
int64
long long int64
Definition:
SYS_Types.h:116
PDG_Dependency::myKey
UT_StringHolder myKey
Definition:
PDG_Dependency.h:45
PDGT_ValueArgs
Definition:
PDGT_ValueArgs.h:21
PDG_API.h
PDG_Dependency
Definition:
PDG_Dependency.h:20
UT_StringHolder.h
PDG_GraphContext
Definition:
PDG_GraphContext.h:59
type
type
Definition:
core.h:1059
PDG
PDG_Dependency.h
Generated on Thu May 9 2024 03:15:31 for HDK by
1.8.6