HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_SaveFlags.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: OP Library (C++)
7  *
8  */
9 
10 #ifndef __OP_SaveFlags_h__
11 #define __OP_SaveFlags_h__
12 
13 #include "OP_API.h"
14 
16 {
17 public:
18  OP_SaveFlags();
19 
20  bool getBinary() const
21  { return myBinary; }
22  void setBinary(bool save)
23  { myBinary = save; }
24  bool getIntrinsics() const
25  { return myIntrinsics; }
26  void setIntrinsics(bool save)
27  { myIntrinsics = save; }
28  bool getParameters() const
29  { return myParameters; }
30  void setParameters(bool save)
31  { myParameters = save; }
32  bool getChannels() const
33  { return myChannels; }
34  void setChannels(bool save)
35  { myChannels = save; }
36  bool getCompact() const
37  { return myCompact; }
38  void setCompact(bool save)
39  { myCompact = save; }
40  bool getSelected() const
41  { return mySelected; }
42  void setSelected(bool save)
43  { mySelected = save; }
44  bool getValues() const
45  { return myValues; }
46  void setValues(bool save)
47  { myValues = save; }
48  bool getData() const
49  { return myData; }
50  void setData(bool save)
51  { myData = save; }
52  bool getGroups() const
53  { return myGroups; }
54  void setGroups(bool save)
55  { myGroups = save; }
56  bool getIndirects() const
57  { return myIndirects; }
58  void setIndirects(bool save)
59  { myIndirects = save; }
60  bool getItemIds() const
61  { return myItemIds; }
62  void setItemIds(bool save)
63  { myItemIds = save; }
64  bool getChannelAliases() const
65  { return myChannelAliases; }
66  void setChannelAliases(bool save)
67  { myChannelAliases = save; }
68  bool getNetworkBoxes() const
69  { return myNetworkBoxes; }
70  void setNetworkBoxes(bool save)
71  { myNetworkBoxes = save; }
72  bool getPostIts() const
73  { return myPostIts; }
74  void setPostIts(bool save)
75  { myPostIts = save; }
76  bool getDots() const
77  { return myDots; }
78  void setDots(bool save)
79  { myDots = save; }
81  { return myNetworkBoxMembership; }
82  void setNetworkBoxMembership(bool save)
83  { myNetworkBoxMembership = save; }
84  bool getSpareParms() const
85  { return mySpareParms; }
86  void setSpareParms(bool save)
87  { mySpareParms = save; }
88  bool getMaterialIcon() const
89  { return myMaterialIcon; }
90  void setMaterialIcon(bool save)
91  { myMaterialIcon = save; }
92 
93  bool getWriteTrailer() const
94  { return myWriteTrailer; }
95  void setWriteTrailer(bool save) const
96  { myWriteTrailer = save; }
97 
98  bool getCompiledBasic() const
99  { return myCompiledBasic; }
100  void setCompiledBasic(bool save)
101  { myCompiledBasic = save; }
102  bool getCompiledVopnets() const
103  { return myCompiledVopnets; }
104  void setCompiledVopnets(bool save)
105  { myCompiledVopnets = save; }
106  bool getCompiledChannels() const
107  { return myCompiledChannels; }
108  void setCompiledChannels(bool save)
109  { myCompiledChannels = save; }
110  bool getCompiledNodeNames() const
111  { return myCompiledNodeNames; }
112  void setCompiledNodeNames(bool save)
113  { myCompiledNodeNames = save; }
114 
115 private:
116  // Save binary format
117  bool myBinary;
118  // Save Op intrinsics (i.e. name/type)
119  bool myIntrinsics;
120  // Save parameters to node
121  bool myParameters;
122  // Save channels for node
123  bool myChannels;
124  // Save compactly (i.e. no thumbnail)
125  bool myCompact;
126  // Save only selected channels/nodes
127  bool mySelected;
128  // Save values only
129  bool myValues;
130  // Save OP cooked data (if flagged)
131  bool myData;
132  // Save OP groups
133  bool myGroups;
134  // Save Indirect inputs
135  bool myIndirects;
136  // Save unique ids of network box items
137  bool myItemIds;
138  // Save channel aliases for node
139  bool myChannelAliases;
140  // Save network boxes (if im a network)
141  bool myNetworkBoxes;
142  // Save post-it notes (if in a network)
143  bool myPostIts;
144  // Save dots (if in a network)
145  bool myDots;
146  // Remember which netbox i'm in. Generally should be on for the
147  // top-level node for undos, but off for copy ops (we don't know in
148  // which network we might get pasted)
149  bool myNetworkBoxMembership;
150  // spare parm definitions
151  bool mySpareParms;
152  // material icon
153  bool myMaterialIcon;
154  // Save a compiled hip file
155  bool myCompiledBasic;
156  // Save compiled Vop Networks
157  bool myCompiledVopnets;
158  // Save compiled channels
159  bool myCompiledChannels;
160  // Save compiled node names
161  bool myCompiledNodeNames;
162  // Write the CPIO trailer
163  mutable bool myWriteTrailer;
164 };
165 
166 #endif
void setPostIts(bool save)
Definition: OP_SaveFlags.h:74
void setData(bool save)
Definition: OP_SaveFlags.h:50
bool getBinary() const
Definition: OP_SaveFlags.h:20
void setIntrinsics(bool save)
Definition: OP_SaveFlags.h:26
bool getCompiledNodeNames() const
Definition: OP_SaveFlags.h:110
void setIndirects(bool save)
Definition: OP_SaveFlags.h:58
bool getIndirects() const
Definition: OP_SaveFlags.h:56
bool getCompiledVopnets() const
Definition: OP_SaveFlags.h:102
void setDots(bool save)
Definition: OP_SaveFlags.h:78
void setChannels(bool save)
Definition: OP_SaveFlags.h:34
void setValues(bool save)
Definition: OP_SaveFlags.h:46
void setChannelAliases(bool save)
Definition: OP_SaveFlags.h:66
void setMaterialIcon(bool save)
Definition: OP_SaveFlags.h:90
void setItemIds(bool save)
Definition: OP_SaveFlags.h:62
void setGroups(bool save)
Definition: OP_SaveFlags.h:54
bool getCompact() const
Definition: OP_SaveFlags.h:36
bool getChannelAliases() const
Definition: OP_SaveFlags.h:64
void setCompiledBasic(bool save)
Definition: OP_SaveFlags.h:100
void setParameters(bool save)
Definition: OP_SaveFlags.h:30
void setBinary(bool save)
Definition: OP_SaveFlags.h:22
bool getMaterialIcon() const
Definition: OP_SaveFlags.h:88
void setNetworkBoxes(bool save)
Definition: OP_SaveFlags.h:70
bool getPostIts() const
Definition: OP_SaveFlags.h:72
void setSelected(bool save)
Definition: OP_SaveFlags.h:42
bool getItemIds() const
Definition: OP_SaveFlags.h:60
bool getCompiledBasic() const
Definition: OP_SaveFlags.h:98
bool getWriteTrailer() const
Definition: OP_SaveFlags.h:93
bool getIntrinsics() const
Definition: OP_SaveFlags.h:24
bool getCompiledChannels() const
Definition: OP_SaveFlags.h:106
void setWriteTrailer(bool save) const
Definition: OP_SaveFlags.h:95
bool getGroups() const
Definition: OP_SaveFlags.h:52
bool getNetworkBoxMembership() const
Definition: OP_SaveFlags.h:80
void setSpareParms(bool save)
Definition: OP_SaveFlags.h:86
void setCompiledVopnets(bool save)
Definition: OP_SaveFlags.h:104
bool getDots() const
Definition: OP_SaveFlags.h:76
#define OP_API
Definition: OP_API.h:10
void setCompiledChannels(bool save)
Definition: OP_SaveFlags.h:108
void setCompiledNodeNames(bool save)
Definition: OP_SaveFlags.h:112
bool getSpareParms() const
Definition: OP_SaveFlags.h:84
bool getSelected() const
Definition: OP_SaveFlags.h:40
bool getParameters() const
Definition: OP_SaveFlags.h:28
bool getValues() const
Definition: OP_SaveFlags.h:44
bool getData() const
Definition: OP_SaveFlags.h:48
void setNetworkBoxMembership(bool save)
Definition: OP_SaveFlags.h:82
void setCompact(bool save)
Definition: OP_SaveFlags.h:38
bool getChannels() const
Definition: OP_SaveFlags.h:32
bool getNetworkBoxes() const
Definition: OP_SaveFlags.h:68