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
OP_Compare.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: OPUI_ShowChanges.h
7
*
8
* COMMENTS: Dialog that launches a comparison of an operator type
9
* instance against a saved version.
10
*
11
*/
12
13
#ifndef __OP_Compare_h__
14
#define __OP_Compare_h__
15
16
#include "
OP_API.h
"
17
#include <
UT/UT_MIME.h
>
18
#include <
UT/UT_Options.h
>
19
20
class
OP_Node
;
21
class
OP_Network
;
22
class
OP_OTLLibrary
;
23
class
OP_OTLDefinition
;
24
class
OP_CompareData;
25
26
class
OP_API
OP_Compare
27
{
28
public
:
29
OP_Compare
();
30
virtual
~
OP_Compare
();
31
32
33
34
typedef
enum
35
{
36
ModeHipFile
,
37
ModeHDANetwork
,
38
ModeHDA
39
} DialogMode;
40
41
typedef
enum
42
{
43
SourceUnknown
,
44
SourceHipFile
,
45
SourceHDANetwork
,
46
SourceHDANetworkCache
,
47
SourceHDA
,
48
SourceNetwork
,
49
SourceBackup
,
50
SourceCurrentScene
,
51
SourceLastSaved
52
} CompareSource;
53
54
void
setOptions
(
const
UT_Options
&options)
55
{
56
myOptions = options;
57
prepareFilters();
58
}
59
const
UT_Options
&
getOptions
()
const
60
{
61
return
myOptions;
62
}
63
64
void
getCompareFilters(
UT_WorkBuffer
&inclusions,
65
UT_WorkBuffer
&exclusions,
66
UT_MIME::TextFilterList
&text_filters)
const
;
67
void
prepareFilters();
68
69
void
prepareNetworkFile(
const
UT_StringHolder
&source_file,
70
UT_StringHolder
&
filename
)
const
;
71
72
void
prepareHDA(
const
UT_StringHolder
&source_file,
73
UT_StringHolder
&
filename
)
const
;
74
75
void
prepareHDANetwork(
const
UT_StringHolder
&source_file,
76
const
UT_StringHolder
&table_and_name,
77
UT_StringHolder
&
filename
)
const
;
78
79
void
prepareNetwork(
OP_Network
*network,
80
UT_StringHolder
&
filename
)
const
;
81
82
private
:
83
UT_Options
myOptions;
84
OP_CompareData *myCompareData;
85
};
86
87
#endif
GT_Names::filename
GT_API const UT_StringHolder filename
UT_StringMap
Definition:
GEO_Detail.h:53
UT_WorkBuffer
Definition:
UT_WorkBuffer.h:74
OP_Compare::SourceBackup
Definition:
OP_Compare.h:49
OP_Compare::ModeHDANetwork
Definition:
OP_Compare.h:37
UT_MIME.h
OP_Compare::SourceUnknown
Definition:
OP_Compare.h:43
OP_Compare::SourceHDANetworkCache
Definition:
OP_Compare.h:46
OP_Compare::SourceHipFile
Definition:
OP_Compare.h:44
OP_Compare::ModeHipFile
Definition:
OP_Compare.h:36
OP_Compare::SourceHDA
Definition:
OP_Compare.h:47
OP_API.h
UT_Options.h
UT_StringHolder
Definition:
UT_StringHolder.h:999
OP_Compare::SourceNetwork
Definition:
OP_Compare.h:48
OP_Compare::setOptions
void setOptions(const UT_Options &options)
Definition:
OP_Compare.h:54
OP_Compare::SourceCurrentScene
Definition:
OP_Compare.h:50
OP_Node
Definition:
OP_Node.h:503
UT_Options
A map of string to various well defined value types.
Definition:
UT_Options.h:84
OP_API
#define OP_API
Definition:
OP_API.h:10
OP_OTLDefinition
Definition:
OP_OTLDefinition.h:159
OP_OTLLibrary
Definition:
OP_OTLLibrary.h:44
OP_Compare::SourceHDANetwork
Definition:
OP_Compare.h:45
OP_Compare
Definition:
OP_Compare.h:26
OP_Network
Definition:
OP_Network.h:152
OP_Compare::getOptions
const UT_Options & getOptions() const
Definition:
OP_Compare.h:59
OP
OP_Compare.h
Generated on Sun Nov 17 2024 03:01:33 for HDK by
1.8.6