00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __OP_SaveFlags_h__
00018 #define __OP_SaveFlags_h__
00019
00020 #include "OP_API.h"
00021
00022 class OP_API OP_SaveFlags
00023 {
00024 public:
00025 OP_SaveFlags(bool binary = false,
00026 bool intrinsics = true,
00027 bool parms = true,
00028 bool chans = true,
00029 bool data = true,
00030 bool selected = false,
00031 bool compact = false,
00032 bool valuesOnly = false,
00033 bool groups = true,
00034 bool indirects = true,
00035 bool node_id = false,
00036 bool chan_aliases = true,
00037 bool network_boxes = true,
00038 bool network_box_membership = true,
00039 bool netbox_id = false,
00040 bool spare_parms = true,
00041 bool material_icon = true,
00042 bool post_its = true);
00043
00044 bool getBinary() const
00045 { return myBinary; }
00046 void setBinary(bool save)
00047 { myBinary = save; }
00048 bool getIntrinsics() const
00049 { return myIntrinsics; }
00050 void setIntrinsics(bool save)
00051 { myIntrinsics = save; }
00052 bool getParameters() const
00053 { return myParameters; }
00054 void setParameters(bool save)
00055 { myParameters = save; }
00056 bool getChannels() const
00057 { return myChannels; }
00058 void setChannels(bool save)
00059 { myChannels = save; }
00060 bool getCompact() const
00061 { return myCompact; }
00062 void setCompact(bool save)
00063 { myCompact = save; }
00064 bool getSelected() const
00065 { return mySelected; }
00066 void setSelected(bool save)
00067 { mySelected = save; }
00068 bool getValues() const
00069 { return myValues; }
00070 void setValues(bool save)
00071 { myValues = save; }
00072 bool getData() const
00073 { return myData; }
00074 void setData(bool save)
00075 { myData = save; }
00076 bool getGroups() const
00077 { return myGroups; }
00078 void setGroups(bool save)
00079 { myGroups = save; }
00080 bool getIndirects() const
00081 { return myIndirects; }
00082 void setIndirects(bool save)
00083 { myIndirects = save; }
00084 bool getNodeId() const
00085 { return myNodeId; }
00086 void setNodeId(bool save)
00087 { myNodeId = save; }
00088 bool getChannelAliases() const
00089 { return myChannelAliases; }
00090 void setChannelAliases(bool save)
00091 { myChannelAliases = save; }
00092 bool getNetworkBoxes() const
00093 { return myNetworkBoxes; }
00094 bool getPostIts() const
00095 { return myPostIts; }
00096 void setPostIts(bool save)
00097 { myPostIts = save; }
00098 void setNetworkBoxes(bool save)
00099 { myNetworkBoxes = save; }
00100 bool getNetworkBoxMembership() const
00101 { return myNetworkBoxMembership; }
00102 void setNetworkBoxMembership(bool save)
00103 { myNetworkBoxMembership = save; }
00104 bool getNetworkBoxId() const
00105 { return myNetworkBoxId; }
00106 void setNetworkBoxId(bool save)
00107 { myNetworkBoxId = save; }
00108 bool getSpareParms() const
00109 { return mySpareParms; }
00110 void setSpareParms(bool save)
00111 { mySpareParms = save; }
00112 bool getMaterialIcon() const
00113 { return myMaterialIcon; }
00114 void setMaterialIcon(bool save)
00115 { myMaterialIcon = save; }
00116
00117 bool getWriteTrailer() const
00118 { return myWriteTrailer; }
00119 void setWriteTrailer(bool save) const
00120 { myWriteTrailer = save; }
00121 bool getPickedIndirects() const
00122 { return myPickedIndirects; }
00123 void setPickedIndirects(bool save) const
00124 { myPickedIndirects = save; }
00125
00126 bool getCompiledBasic() const
00127 { return myCompiledBasic; }
00128 void setCompiledBasic(bool save)
00129 { myCompiledBasic = save; }
00130 bool getCompiledVopnets() const
00131 { return myCompiledVopnets; }
00132 void setCompiledVopnets(bool save)
00133 { myCompiledVopnets = save; }
00134 bool getCompiledChannels() const
00135 { return myCompiledChannels; }
00136 void setCompiledChannels(bool save)
00137 { myCompiledChannels = save; }
00138 bool getCompiledNodeNames() const
00139 { return myCompiledNodeNames; }
00140 void setCompiledNodeNames(bool save)
00141 { myCompiledNodeNames = save; }
00142
00143 private:
00144
00145 bool myBinary;
00146
00147 bool myIntrinsics;
00148
00149 bool myParameters;
00150
00151 bool myChannels;
00152
00153 bool myCompact;
00154
00155 bool mySelected;
00156
00157 bool myValues;
00158
00159 bool myData;
00160
00161 bool myGroups;
00162
00163 bool myIndirects;
00164
00165 bool myNodeId;
00166
00167 bool myChannelAliases;
00168
00169 bool myNetworkBoxes;
00170
00171 bool myPostIts;
00172
00173
00174
00175 bool myNetworkBoxMembership;
00176
00177 bool myNetworkBoxId;
00178
00179 bool mySpareParms;
00180
00181 bool myMaterialIcon;
00182
00183 bool myCompiledBasic;
00184
00185 bool myCompiledVopnets;
00186
00187 bool myCompiledChannels;
00188
00189 bool myCompiledNodeNames;
00190
00191
00192 mutable bool myWriteTrailer;
00193
00194 mutable bool myPickedIndirects;
00195 };
00196
00197 #endif