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_DependencyHolder.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_HOLDER_H__
10
#define __PDG_DEPENDENCY_HOLDER_H__
11
12
#include "
PDG_API.h
"
13
#include "
PDG_WorkItemTypes.h
"
14
15
#include <
UT/UT_Array.h
>
16
17
class
PDG_WorkItem
;
18
class
UT_WorkBuffer
;
19
20
/**
21
* Factory object for adding dependency pairs between work items. Used for
22
* mapping and for adding sibling dependencies.
23
* */
24
class
PDG_API
PDG_DependencyHolder
25
{
26
27
public
:
28
PDG_DependencyHolder
();
29
PDG_DependencyHolder
(
30
const
PDG_WorkItemArray
& valid);
31
32
bool
addDependency(
33
PDG_WorkItem
* dependent,
34
PDG_WorkItem
* dependency,
35
UT_WorkBuffer
& errors);
36
const
PDG_WorkItemPairArray
&
37
dependencyPairs
()
const
38
{
return
myDependencyPairs; }
39
40
protected
:
41
bool
isValid(
PDG_WorkItem
* work_item)
const
;
42
43
PDG_WorkItemPairArray
myDependencyPairs
;
44
PDG_WorkItemIDSet
myValidSet
;
45
};
46
47
#endif
UT::ArraySet
Definition:
UT_ArraySet.h:167
UT_WorkBuffer
Definition:
UT_WorkBuffer.h:74
PDG_DependencyHolder
Definition:
PDG_DependencyHolder.h:24
PDG_DependencyHolder::myValidSet
PDG_WorkItemIDSet myValidSet
Definition:
PDG_DependencyHolder.h:44
PDG_API
#define PDG_API
Definition:
PDG_API.h:23
UT_Array.h
UT_Array< PDG_WorkItem * >
PDG_DependencyHolder::myDependencyPairs
PDG_WorkItemPairArray myDependencyPairs
Definition:
PDG_DependencyHolder.h:43
PDG_DependencyHolder::dependencyPairs
const PDG_WorkItemPairArray & dependencyPairs() const
Definition:
PDG_DependencyHolder.h:37
PDG_WorkItem
Definition:
PDG_WorkItem.h:46
PDG_API.h
PDG_WorkItemTypes.h
PDG
PDG_DependencyHolder.h
Generated on Sat Dec 21 2024 02:47:28 for HDK by
1.8.6