#include <opennurbs_object_history.h>
Public Types | |
enum | RECORD_TYPE { history_parameters = 0, feature_parameters = 1, force_32bit_record_type = 0xFFFFFFFF } |
Public Member Functions | |
void | Destroy () |
void | DestroyValue (int value_id) |
void | Dump (ON_TextLog &) const |
bool | GetBoolValue (int value_id, bool *b) const |
int | GetBoolValues (int value_id, ON_SimpleArray< bool > &) const |
bool | GetBrepValue (int value_id, const ON_Brep *&) const |
bool | GetColorValue (int value_id, ON_Color *color) const |
int | GetColorValues (int value_id, ON_SimpleArray< ON_Color > &) const |
bool | GetCurveValue (int value_id, const ON_Curve *&) const |
bool | GetDoubleValue (int value_id, double *number) const |
int | GetDoubleValues (int value_id, ON_SimpleArray< double > &) const |
bool | GetGeometryValue (int value_id, const ON_Geometry *&) const |
int | GetGeometryValues (int value_id, ON_SimpleArray< const ON_Geometry * > &) const |
bool | GetIntValue (int value_id, int *i) const |
int | GetIntValues (int value_id, ON_SimpleArray< int > &) const |
bool | GetMeshValue (int value_id, const ON_Mesh *&) const |
bool | GetObjRefValue (int value_id, ON_ObjRef &oref) const |
int | GetObjRefValues (int value_id, ON_ClassArray< ON_ObjRef > &objects) const |
bool | GetPointOnObjectValue (int value_id, ON_ObjRef &oref) const |
bool | GetPointValue (int value_id, ON_3dPoint &point) const |
int | GetPointValues (int value_id, ON_SimpleArray< ON_3dPoint > &) const |
bool | GetPolyEdgeValue (int value_id, const ON_PolyEdgeHistory *&polyedge) const |
int | GetPolyEdgeValues (int value_id, ON_SimpleArray< const ON_PolyEdgeHistory * > &) const |
bool | GetStringValue (int value_id, ON_wString &str) const |
int | GetStringValues (int value_id, ON_ClassArray< ON_wString > &string) const |
bool | GetSurfaceValue (int value_id, const ON_Surface *&) const |
bool | GetUuidValue (int value_id, ON_UUID *uuid) const |
int | GetUuidValues (int value_id, ON_SimpleArray< ON_UUID > &) const |
bool | GetVectorValue (int value_id, ON_3dVector &point) const |
int | GetVectorValues (int value_id, ON_SimpleArray< ON_3dVector > &) const |
bool | GetXformValue (int value_id, ON_Xform &point) const |
int | GetXformValues (int value_id, ON_SimpleArray< ON_Xform > &) const |
bool | IsAntecedent (ON_UUID object_uuid) const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
ON_UUID | ModelObjectId () const |
ON_HistoryRecord () | |
ON_HistoryRecord (const ON_HistoryRecord &src) | |
ON_HistoryRecord & | operator= (const ON_HistoryRecord &src) |
ON_BOOL32 | Read (ON_BinaryArchive &binary_archive) |
void | RemapObjectIds (const ON_SimpleArray< ON_UuidPair > &uuid_remap) |
bool | SetBoolValue (int value_id, bool b) |
bool | SetBoolValues (int value_id, int count, const bool *b) |
bool | SetColorValue (int value_id, ON_Color c) |
bool | SetColorValues (int value_id, int count, const ON_Color *c) |
bool | SetDoubleValue (int value_id, double x) |
bool | SetDoubleValues (int value_id, int count, const double *x) |
bool | SetGeometryValue (int value_id, ON_Geometry *g) |
bool | SetGeometryValues (int value_id, const ON_SimpleArray< ON_Geometry * > a) |
bool | SetIntValue (int value_id, int i) |
bool | SetIntValues (int value_id, int count, const int *i) |
bool | SetObjRefValue (int value_id, const ON_ObjRef &oref) |
bool | SetObjRefValues (int value_id, int count, const ON_ObjRef *oref) |
bool | SetPointOnObjectValue (int value_id, const ON_ObjRef &oref, ON_3dPoint point) |
bool | SetPointValue (int value_id, ON_3dPoint p) |
bool | SetPointValues (int value_id, int count, const ON_3dPoint *P) |
bool | SetPolyEdgeValue (int value_id, const ON_PolyEdgeHistory &polyedge) |
bool | SetPolyEdgeValues (int value_id, int count, const ON_PolyEdgeHistory *a) |
bool | SetStringValue (int value_id, const wchar_t *s) |
bool | SetStringValues (int value_id, int count, const wchar_t *const *s) |
bool | SetStringValues (int value_id, const ON_ClassArray< ON_wString > &s) |
bool | SetUuidValue (int value_id, ON_UUID uuid) |
bool | SetUuidValues (int value_id, int count, const ON_UUID *u) |
bool | SetVectorValue (int value_id, ON_3dVector v) |
bool | SetVectorValues (int value_id, int count, const ON_3dVector *V) |
bool | SetXformValue (int value_id, ON_Xform xform) |
bool | SetXformValues (int value_id, int count, const ON_Xform *xform) |
int | ValueReport (ON_TextLog &text_log) const |
ON_BOOL32 | Write (ON_BinaryArchive &binary_archive) const |
~ON_HistoryRecord () | |
Static Public Member Functions | |
static RECORD_TYPE | RecordType (int i) |
Public Attributes | |
ON_UuidList | m_antecedents |
ON_UUID | m_command_id |
ON_UuidList | m_descendants |
ON_UUID | m_record_id |
RECORD_TYPE | m_record_type |
ON_SimpleArray< class ON_Value * > | m_value |
int | m_version |
Private Member Functions | |
void | CopyHelper (const ON_HistoryRecord &) |
ON_Value * | FindValueHelper (int, int, bool) const |
ON_OBJECT_DECLARE (ON_HistoryRecord) | |
Private Attributes | |
bool | m_bValuesSorted |
Definition at line 83 of file opennurbs_object_history.h.
Definition at line 273 of file opennurbs_object_history.h.
Definition at line 1455 of file opennurbs_object_history.cpp.
Definition at line 1466 of file opennurbs_object_history.cpp.
ON_HistoryRecord::ON_HistoryRecord | ( | const ON_HistoryRecord & | src | ) |
Definition at line 1509 of file opennurbs_object_history.cpp.
void ON_HistoryRecord::CopyHelper | ( | const ON_HistoryRecord & | src | ) | [private] |
Definition at line 1478 of file opennurbs_object_history.cpp.
void ON_HistoryRecord::Destroy | ( | ) |
Definition at line 1530 of file opennurbs_object_history.cpp.
void ON_HistoryRecord::DestroyValue | ( | int | value_id | ) |
Definition at line 2350 of file opennurbs_object_history.cpp.
void ON_HistoryRecord::Dump | ( | ON_TextLog & | text_log | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 2283 of file opennurbs_object_history.cpp.
ON_Value * ON_HistoryRecord::FindValueHelper | ( | int | value_id, |
int | value_type, | ||
bool | bCreateOne | ||
) | const [private] |
Definition at line 1654 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetBoolValue | ( | int | value_id, |
bool * | b | ||
) | const |
Definition at line 1920 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetBoolValues | ( | int | value_id, |
ON_SimpleArray< bool > & | a | ||
) | const |
Definition at line 2110 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetBrepValue | ( | int | value_id, |
const ON_Brep *& | b | ||
) | const |
Definition at line 2076 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetColorValue | ( | int | value_id, |
ON_Color * | color | ||
) | const |
Definition at line 1992 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetColorValues | ( | int | value_id, |
ON_SimpleArray< ON_Color > & | a | ||
) | const |
Definition at line 2189 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetCurveValue | ( | int | value_id, |
const ON_Curve *& | c | ||
) | const |
Definition at line 2054 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetDoubleValue | ( | int | value_id, |
double * | number | ||
) | const |
Definition at line 1944 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetDoubleValues | ( | int | value_id, |
ON_SimpleArray< double > & | a | ||
) | const |
Definition at line 2145 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetGeometryValue | ( | int | value_id, |
const ON_Geometry *& | g | ||
) | const |
Definition at line 2028 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetGeometryValues | ( | int | value_id, |
ON_SimpleArray< const ON_Geometry * > & | a | ||
) | const |
Definition at line 2211 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetIntValue | ( | int | value_id, |
int * | i | ||
) | const |
Definition at line 1932 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetIntValues | ( | int | value_id, |
ON_SimpleArray< int > & | a | ||
) | const |
Definition at line 2134 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetMeshValue | ( | int | value_id, |
const ON_Mesh *& | m | ||
) | const |
Definition at line 2087 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetObjRefValue | ( | int | value_id, |
ON_ObjRef & | oref | ||
) | const |
Definition at line 2004 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetObjRefValues | ( | int | value_id, |
ON_ClassArray< ON_ObjRef > & | objects | ||
) | const |
Definition at line 2200 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetPointOnObjectValue | ( | int | value_id, |
ON_ObjRef & | oref | ||
) | const |
Definition at line 1604 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetPointValue | ( | int | value_id, |
ON_3dPoint & | point | ||
) | const |
Definition at line 1956 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetPointValues | ( | int | value_id, |
ON_SimpleArray< ON_3dPoint > & | a | ||
) | const |
Definition at line 2156 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetPolyEdgeValue | ( | int | value_id, |
const ON_PolyEdgeHistory *& | polyedge | ||
) | const |
Definition at line 2041 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetPolyEdgeValues | ( | int | value_id, |
ON_SimpleArray< const ON_PolyEdgeHistory * > & | a | ||
) | const |
Definition at line 2225 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetStringValue | ( | int | value_id, |
ON_wString & | str | ||
) | const |
Definition at line 2016 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetStringValues | ( | int | value_id, |
ON_ClassArray< ON_wString > & | string | ||
) | const |
Definition at line 2122 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetSurfaceValue | ( | int | value_id, |
const ON_Surface *& | s | ||
) | const |
Definition at line 2065 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetUuidValue | ( | int | value_id, |
ON_UUID * | uuid | ||
) | const |
Definition at line 2098 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetUuidValues | ( | int | value_id, |
ON_SimpleArray< ON_UUID > & | a | ||
) | const |
Definition at line 2239 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetVectorValue | ( | int | value_id, |
ON_3dVector & | point | ||
) | const |
Definition at line 1968 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetVectorValues | ( | int | value_id, |
ON_SimpleArray< ON_3dVector > & | a | ||
) | const |
Definition at line 2167 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::GetXformValue | ( | int | value_id, |
ON_Xform & | point | ||
) | const |
Definition at line 1980 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::GetXformValues | ( | int | value_id, |
ON_SimpleArray< ON_Xform > & | a | ||
) | const |
Definition at line 2178 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::IsAntecedent | ( | ON_UUID | object_uuid | ) | const |
Definition at line 2251 of file opennurbs_object_history.cpp.
ON_BOOL32 ON_HistoryRecord::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 1525 of file opennurbs_object_history.cpp.
ON_UUID ON_HistoryRecord::ModelObjectId | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 2557 of file opennurbs_object_history.cpp.
ON_HistoryRecord::ON_OBJECT_DECLARE | ( | ON_HistoryRecord | ) | [private] |
ON_HistoryRecord & ON_HistoryRecord::operator= | ( | const ON_HistoryRecord & | src | ) |
Definition at line 1514 of file opennurbs_object_history.cpp.
ON_BOOL32 ON_HistoryRecord::Read | ( | ON_BinaryArchive & | binary_archive | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 2372 of file opennurbs_object_history.cpp.
ON_HistoryRecord::RECORD_TYPE ON_HistoryRecord::RecordType | ( | int | i | ) | [static] |
Definition at line 1549 of file opennurbs_object_history.cpp.
void ON_HistoryRecord::RemapObjectIds | ( | const ON_SimpleArray< ON_UuidPair > & | uuid_remap | ) |
Definition at line 2562 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetBoolValue | ( | int | value_id, |
bool | b | ||
) |
Definition at line 1557 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetBoolValues | ( | int | value_id, |
int | count, | ||
const bool * | b | ||
) |
Definition at line 1722 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetColorValue | ( | int | value_id, |
ON_Color | c | ||
) |
Definition at line 1587 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetColorValues | ( | int | value_id, |
int | count, | ||
const ON_Color * | c | ||
) |
Definition at line 1794 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetDoubleValue | ( | int | value_id, |
double | x | ||
) |
Definition at line 1567 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetDoubleValues | ( | int | value_id, |
int | count, | ||
const double * | x | ||
) |
Definition at line 1746 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetGeometryValue | ( | int | value_id, |
ON_Geometry * | g | ||
) |
Definition at line 1610 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetGeometryValues | ( | int | value_id, |
const ON_SimpleArray< ON_Geometry * > | a | ||
) |
Definition at line 1889 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetIntValue | ( | int | value_id, |
int | i | ||
) |
Definition at line 1562 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetIntValues | ( | int | value_id, |
int | count, | ||
const int * | i | ||
) |
Definition at line 1734 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetObjRefValue | ( | int | value_id, |
const ON_ObjRef & | oref | ||
) |
Definition at line 1592 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetObjRefValues | ( | int | value_id, |
int | count, | ||
const ON_ObjRef * | oref | ||
) |
Definition at line 1856 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetPointOnObjectValue | ( | int | value_id, |
const ON_ObjRef & | oref, | ||
ON_3dPoint | point | ||
) |
Definition at line 1597 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetPointValue | ( | int | value_id, |
ON_3dPoint | p | ||
) |
Definition at line 1572 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetPointValues | ( | int | value_id, |
int | count, | ||
const ON_3dPoint * | P | ||
) |
Definition at line 1758 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetPolyEdgeValue | ( | int | value_id, |
const ON_PolyEdgeHistory & | polyedge | ||
) |
Definition at line 1617 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetPolyEdgeValues | ( | int | value_id, |
int | count, | ||
const ON_PolyEdgeHistory * | a | ||
) |
Definition at line 1899 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetStringValue | ( | int | value_id, |
const wchar_t * | s | ||
) |
Definition at line 1844 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetStringValues | ( | int | value_id, |
int | count, | ||
const wchar_t *const * | s | ||
) |
Definition at line 1818 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetStringValues | ( | int | value_id, |
const ON_ClassArray< ON_wString > & | s | ||
) |
Definition at line 1834 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetUuidValue | ( | int | value_id, |
ON_UUID | uuid | ||
) |
Definition at line 1622 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetUuidValues | ( | int | value_id, |
int | count, | ||
const ON_UUID * | u | ||
) |
Definition at line 1806 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetVectorValue | ( | int | value_id, |
ON_3dVector | v | ||
) |
Definition at line 1577 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetVectorValues | ( | int | value_id, |
int | count, | ||
const ON_3dVector * | V | ||
) |
Definition at line 1770 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetXformValue | ( | int | value_id, |
ON_Xform | xform | ||
) |
Definition at line 1582 of file opennurbs_object_history.cpp.
bool ON_HistoryRecord::SetXformValues | ( | int | value_id, |
int | count, | ||
const ON_Xform * | xform | ||
) |
Definition at line 1782 of file opennurbs_object_history.cpp.
int ON_HistoryRecord::ValueReport | ( | ON_TextLog & | text_log | ) | const |
Definition at line 2256 of file opennurbs_object_history.cpp.
ON_BOOL32 ON_HistoryRecord::Write | ( | ON_BinaryArchive & | binary_archive | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 2481 of file opennurbs_object_history.cpp.
Definition at line 300 of file opennurbs_object_history.h.
bool ON_HistoryRecord::m_bValuesSorted [private] |
Definition at line 322 of file opennurbs_object_history.h.
Definition at line 265 of file opennurbs_object_history.h.
Definition at line 304 of file opennurbs_object_history.h.
Definition at line 295 of file opennurbs_object_history.h.
Definition at line 280 of file opennurbs_object_history.h.
ON_SimpleArray< class ON_Value* > ON_HistoryRecord::m_value |
Definition at line 308 of file opennurbs_object_history.h.
Definition at line 271 of file opennurbs_object_history.h.