17 #if !defined(ON_OBJECT_HISTORY_INC_)
18 #define ON_OBJECT_HISTORY_INC_
20 #if defined(ON_DLL_TEMPLATE)
24 #pragma warning( push )
25 #pragma warning( disable : 4231 )
27 #pragma warning( pop )
50 ON__UINT8 m_reserved[64];
53 #if defined(ON_DLL_TEMPLATE)
57 #pragma warning( push )
58 #pragma warning( disable : 4231 )
60 #pragma warning( pop )
80 ON__UINT8 m_reserved[64];
96 ON_BOOL32 IsValid(
ON_TextLog* text_log = NULL )
const;
110 void DestroyValue(
int value_id );
144 bool SetBoolValue(
int value_id,
bool b);
145 bool SetIntValue(
int value_id,
int i);
146 bool SetDoubleValue(
int value_id,
double x);
147 bool SetPointValue(
int value_id,
ON_3dPoint p);
149 bool SetXformValue(
int value_id,
ON_Xform xform);
150 bool SetColorValue(
int value_id,
ON_Color c);
151 bool SetObjRefValue(
int value_id,
const ON_ObjRef& oref);
153 bool SetUuidValue(
int value_id,
ON_UUID uuid );
154 bool SetStringValue(
int value_id,
const wchar_t* s );
155 bool SetGeometryValue(
int value_id,
ON_Geometry* g);
190 bool SetBoolValues(
int value_id,
int count,
const bool* b);
191 bool SetIntValues(
int value_id,
int count,
const int* i);
192 bool SetDoubleValues(
int value_id,
int count,
const double* x);
193 bool SetPointValues(
int value_id,
int count,
const ON_3dPoint* P);
194 bool SetVectorValues(
int value_id,
int count,
const ON_3dVector* V);
195 bool SetXformValues(
int value_id,
int count,
const ON_Xform* xform);
196 bool SetColorValues(
int value_id,
int count,
const ON_Color* c);
197 bool SetObjRefValues(
int value_id,
int count,
const ON_ObjRef* oref);
198 bool SetUuidValues(
int value_id,
int count,
const ON_UUID* u );
199 bool SetStringValues(
int value_id,
int count,
const wchar_t*
const* s );
208 bool GetStringValue(
int value_id,
ON_wString& str )
const;
209 bool GetBoolValue(
int value_id,
bool* b )
const;
210 bool GetIntValue(
int value_id,
int* i )
const;
211 bool GetDoubleValue(
int value_id,
double* number )
const;
212 bool GetPointValue(
int value_id,
ON_3dPoint& point )
const;
213 bool GetVectorValue(
int value_id,
ON_3dVector& point )
const;
214 bool GetXformValue(
int value_id,
ON_Xform& point )
const;
215 bool GetColorValue(
int value_id,
ON_Color* color )
const;
216 bool GetObjRefValue(
int value_id,
ON_ObjRef& oref )
const;
217 bool GetPointOnObjectValue(
int value_id,
ON_ObjRef& oref )
const;
218 bool GetCurveValue(
int value_id,
const ON_Curve*& )
const;
219 bool GetSurfaceValue(
int value_id,
const ON_Surface*& )
const;
220 bool GetBrepValue(
int value_id,
const ON_Brep*& )
const;
221 bool GetMeshValue(
int value_id,
const ON_Mesh*& )
const;
222 bool GetGeometryValue(
int value_id,
const ON_Geometry*& )
const;
223 bool GetUuidValue(
int value_id,
ON_UUID* uuid )
const;
249 bool IsAntecedent(
ON_UUID object_uuid )
const;
260 int ValueReport(
ON_TextLog& text_log )
const;
275 history_parameters = 0,
276 feature_parameters = 1,
277 force_32bit_record_type = 0xFFFFFFFF
322 bool m_bValuesSorted;
323 ON_Value* FindValueHelper(
int,
int,
bool )
const;
ON_Interval m_full_real_curve_domain
ON_UuidList m_antecedents
ON_SimpleArray< double > m_t
ON_UuidList m_descendants
ON_Interval m_sub_real_curve_domain
ON_ClassArray< ON_CurveProxyHistory > m_segment
ON_SimpleArray< class ON_Value * > m_value
ON_Interval m_proxy_curve_domain
RECORD_TYPE m_record_type