16#if !defined(ON_OBJECT_HISTORY_INC_)
17#define ON_OBJECT_HISTORY_INC_
19#if defined(ON_DLL_TEMPLATE)
23#pragma warning( push )
24#pragma warning( disable : 4231 )
56 void DestroyValue(
int value_id );
90 bool SetBoolValue(
int value_id,
bool b);
91 bool SetIntValue(
int value_id,
int i);
92 bool SetDoubleValue(
int value_id,
double x);
93 bool SetPointValue(
int value_id,
ON_3dPoint p);
95 bool SetXformValue(
int value_id,
ON_Xform xform);
96 bool SetColorValue(
int value_id,
ON_Color c);
97 bool SetObjRefValue(
int value_id,
const ON_ObjRef& oref);
99 bool SetUuidValue(
int value_id,
ON_UUID uuid );
100 bool SetStringValue(
int value_id,
const wchar_t*
s );
101 bool SetGeometryValue(
int value_id,
ON_Geometry* g);
135 bool SetBoolValues(
int value_id,
int count,
const bool* b);
136 bool SetIntValues(
int value_id,
int count,
const int*
i);
137 bool SetDoubleValues(
int value_id,
int count,
const double* x);
138 bool SetPointValues(
int value_id,
int count,
const ON_3dPoint* P);
139 bool SetVectorValues(
int value_id,
int count,
const ON_3dVector* V);
140 bool SetXformValues(
int value_id,
int count,
const ON_Xform* xform);
141 bool SetColorValues(
int value_id,
int count,
const ON_Color* c);
142 bool SetObjRefValues(
int value_id,
int count,
const ON_ObjRef* oref);
143 bool SetUuidValues(
int value_id,
int count,
const ON_UUID* u );
144 bool SetStringValues(
int value_id,
int count,
const wchar_t*
const*
s );
152 bool GetStringValue(
int value_id,
ON_wString& str )
const;
153 bool GetBoolValue(
int value_id,
bool* b )
const;
154 bool GetIntValue(
int value_id,
int*
i )
const;
155 bool GetDoubleValue(
int value_id,
double* number )
const;
156 bool GetPointValue(
int value_id,
ON_3dPoint& point )
const;
157 bool GetVectorValue(
int value_id,
ON_3dVector& point )
const;
158 bool GetXformValue(
int value_id,
ON_Xform& point )
const;
159 bool GetColorValue(
int value_id,
ON_Color* color )
const;
160 bool GetObjRefValue(
int value_id,
ON_ObjRef& oref )
const;
161 bool GetPointOnObjectValue(
int value_id,
ON_ObjRef& oref )
const;
162 bool GetCurveValue(
int value_id,
const ON_Curve*& )
const;
163 bool GetSurfaceValue(
int value_id,
const ON_Surface*& )
const;
164 bool GetBrepValue(
int value_id,
const ON_Brep*& )
const;
165 bool GetMeshValue(
int value_id,
const ON_Mesh*& )
const;
166 bool GetGeometryValue(
int value_id,
const ON_Geometry*& )
const;
167 bool GetUuidValue(
int value_id,
ON_UUID* uuid )
const;
191 bool IsAntecedent(
ON_UUID object_uuid )
const;
202 int ValueReport(
ON_TextLog& text_log )
const;
217 history_parameters = 0,
218 feature_parameters = 1,
219 force_32bit_record_type = 0xFFFFFFFF
265 ON_Value* FindValueHelper(
int,
int,
bool )
const;
int i
Copyright (c) 2011-2018 by Andrew Mustun.
Definition autostart.js:32
Definition opennurbs_point.h:403
Definition opennurbs_point.h:931
Definition opennurbs_archive.h:152
Definition opennurbs_brep.h:1585
Definition opennurbs_array.h:760
Definition opennurbs_color.h:24
Definition opennurbs_curve.h:88
Definition opennurbs_geometry.h:36
Definition opennurbs_object_history.h:30
ON_OBJECT_DECLARE(ON_HistoryRecord)
bool m_bValuesSorted
Definition opennurbs_object_history.h:264
int m_version
Definition opennurbs_object_history.h:213
ON_UuidList m_descendants
Definition opennurbs_object_history.h:246
RECORD_TYPE
Definition opennurbs_object_history.h:216
ON_UUID m_record_id
Definition opennurbs_object_history.h:237
ON_SimpleArray< class ON_Value * > m_value
Definition opennurbs_object_history.h:250
RECORD_TYPE m_record_type
Definition opennurbs_object_history.h:222
ON_UuidList m_antecedents
Definition opennurbs_object_history.h:242
ON_UUID m_command_id
Definition opennurbs_object_history.h:207
Definition opennurbs_mesh.h:795
Definition opennurbs_objref.h:167
Definition opennurbs_object.h:393
Definition opennurbs_array.h:46
Definition opennurbs_surface.h:58
Definition opennurbs_textlog.h:20
Definition opennurbs_uuid.h:31
Definition opennurbs_array.h:1079
Definition opennurbs_object_history.cpp:19
Definition opennurbs_string.h:392
#define ON_CLASS
Definition opennurbs_defines.h:91
char s
Definition opennurbs_string.cpp:32
#define NULL
Definition opennurbs_system.h:256
int ON_BOOL32
Definition opennurbs_system.h:362