|
| ON_XMLUserData () |
|
| ON_XMLUserData (const ON_XMLUserData &ud) |
|
virtual | ~ON_XMLUserData () |
|
virtual void | _Dump (const wchar_t *wszFileName) const |
|
virtual bool | Archive (void) const override |
|
virtual void | Clear (void) const |
|
virtual void * | EVF (const wchar_t *func, void *data) |
| Emergency virtual function for future expansion. More...
|
|
const ON_XMLUserData & | operator= (const ON_XMLUserData &ud) |
|
virtual ON_XMLProperty * | Property (const wchar_t *xml_path, const wchar_t *prop_name) const |
|
virtual bool | Read (ON_BinaryArchive &) override |
|
virtual void | ReportVersionError (void) const =0 |
|
virtual void | SetToDefaults (void) const =0 |
|
virtual void | SetToDefaultsImpl (int) const |
|
virtual void | SetValue (const wchar_t *xml_path, const ON_XMLVariant &value) |
|
virtual bool | SetValue (const wchar_t *xml_path, const wchar_t *prop_name, const ON_XMLVariant &value) |
|
virtual ON_XMLVariant | Value (const wchar_t *xml_path, const wchar_t *prop_name=L"") const |
|
virtual int | Version (void) const |
|
virtual bool | Write (ON_BinaryArchive &) const override |
|
virtual const ON_XMLRootNode & | XMLRootForRead (void) const |
|
virtual ON_XMLRootNode & | XMLRootForWrite (void) const |
|
| ON_UserData () |
|
| ON_UserData (const ON_UserData &) |
|
| ~ON_UserData () |
|
virtual bool | DeleteAfterRead (const class ON_BinaryArchive &archive, class ON_Object *parent_object) const |
|
virtual bool | DeleteAfterWrite (const class ON_BinaryArchive &archive, const class ON_Object *parent_object) const |
|
void | Dump (ON_TextLog &text_log) const override |
|
virtual bool | GetDescription (ON_wString &description) |
|
bool | IsUnknownUserData () const |
|
bool | IsValid (class ON_TextLog *text_log=nullptr) const override |
|
ON_UserData * | Next () const |
|
ON_UserData & | operator= (const ON_UserData &) |
|
ON_Object * | Owner () const |
| Returns object that owns the user data. More...
|
|
unsigned int | SizeOf () const override |
|
virtual bool | Transform (const ON_Xform &) |
|
ON_UUID | UserDataClassUuid () const |
|
virtual bool | WriteToArchive (const class ON_BinaryArchive &archive, const class ON_Object *parent_object) const |
|
| ON_Object () ON_NOEXCEPT |
|
| ON_Object (const ON_Object &) |
|
virtual | ~ON_Object () |
|
virtual ON_AggregateComponentStatus | AggregateComponentStatus () const |
|
bool | AttachUserData (class ON_UserData *pUserData) |
|
unsigned int | ClearAllComponentStates () const |
|
virtual unsigned int | ClearComponentStates (ON_COMPONENT_INDEX component_index, ON_ComponentStatus states_to_clear) const |
|
virtual unsigned int | ClearComponentStates (ON_ComponentStatus states_to_clear) const |
|
void | CopyUserData (const ON_Object &source_object) |
|
unsigned int | CopyUserData (const ON_Object &source_object, ON_UUID source_userdata_item_id, ON_Object::UserDataConflictResolution userdata_conflict_resolution) |
|
virtual ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
|
virtual bool | DeleteComponents (const ON_COMPONENT_INDEX *ci_list, size_t ci_count) |
|
virtual void | DestroyRuntimeCache (bool bDelete=true) |
|
bool | DetachUserData (class ON_UserData *pUserData) |
|
void | EmergencyDestroy () |
|
class ON_UserData * | FirstUserData () const |
|
virtual unsigned int | GetComponentsWithSetStates (ON_ComponentStatus states_filter, bool bAllEqualStates, ON_SimpleArray< ON_COMPONENT_INDEX > &components) const |
|
class ON_UserData * | GetUserData (const ON_UUID &userdata_uuid) const |
|
bool | GetUserString (const wchar_t *key, ON_wString &string_value) const |
|
int | GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const |
|
int | GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const |
|
bool | IsCorrupt (bool bRepair, bool bSilentError, class ON_TextLog *text_log) const |
|
bool | IsKindOf (const ON_ClassId *pClassId) const |
|
virtual void | MarkAggregateComponentStatusAsNotCurrent () const |
|
virtual void | MemoryRelocate () |
|
virtual ON_UUID | ModelObjectId () const |
|
void | MoveUserData (ON_Object &source_object) |
|
unsigned int | MoveUserData (ON_Object &source_object, ON_UUID source_userdata_item_id, ON_Object::UserDataConflictResolution userdata_conflict_resolution, bool bDeleteAllSourceItems) |
|
virtual ON::object_type | ObjectType () const |
|
ON_Object & | operator= (const ON_Object &) |
|
void | PurgeUserData () |
|
virtual unsigned int | SetComponentStates (ON_COMPONENT_INDEX component_index, ON_ComponentStatus states_to_set) const |
|
virtual unsigned int | SetComponentStatus (ON_COMPONENT_INDEX component_index, ON_ComponentStatus status_to_copy) const |
|
bool | SetUserString (const wchar_t *key, const wchar_t *string_value) |
|
int | SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace) |
|
bool | ThisIsNullptr (bool bSilentError) const |
|
void | TransformUserData (const class ON_Xform &xform) |
|
virtual bool | UpdateReferencedComponents (const class ON_ComponentManifest &source_manifest, const class ON_ComponentManifest &destination_manifest, const class ON_ManifestMap &manifest_map) |
|
int | UserStringCount () const |
|
virtual bool ON_XMLUserData::Archive |
( |
void |
| ) |
const |
|
overridevirtual |
Description: If Archive() returns true, m_application_uuid is not nil, and the virtual Read() and Write() are functions are overridden, then this user data will be written to and read from 3dm archives.
Returns: true if user data should be saved in binary archives. false if the user data should not be saved in binary archives.
Remarks: The default implementation returns false. If you override ON_UserData::Archive so that it returns true, then your constructor must set m_application_uuid, you must override the virtual ON_Object::Read and ON_Object::Write functions and you must CAREFULLY TEST your code.
ON_UserData requires expert programming and testing skills.
If you need to know more details about the archive or parent object to determine if the userdata should be saved, then override WriteToArchive().
YOU SHOULD READ AND UNDERSTAND EVERY COMMENT IN THIS HEADER FILE IN BEFORE ATTEMPTING TO USE ON_UserData.
Reimplemented from ON_UserData.