Public Member Functions | Private Member Functions | Private Attributes | Friends
ON_Object Class Reference

#include <opennurbs_object.h>

Inheritance diagram for ON_Object:
Inheritance graph

List of all members.

Public Member Functions

ON_BOOL32 AttachUserData (ON_UserData *pUserData)
bool CopyFrom (const ON_Object *src)
void CopyUserData (const ON_Object &source_object)
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
virtual void DestroyRuntimeCache (bool bDelete=true)
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
virtual void Dump (ON_TextLog &) const
void EmergencyDestroy ()
ON_UserDataFirstUserData () const
ON_UserDataGetUserData (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
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
virtual ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const =0
virtual void MemoryRelocate ()
virtual ON_UUID ModelObjectId () const
void MoveUserData (ON_Object &source_object)
virtual ON::object_type ObjectType () const
 ON_Object ()
 ON_Object (const ON_Object &)
ON_Objectoperator= (const ON_Object &)
void PurgeUserData ()
virtual ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
int SetUserStrings (int count, const ON_UserString *user_strings, bool bReplace)
virtual unsigned int SizeOf () const
void TransformUserData (const ON_Xform &xform)
int UserStringCount () const
virtual ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
virtual ~ON_Object ()

Private Member Functions


Private Attributes



int ON_BinaryArchive::ReadObject (ON_Object **)
bool ON_BinaryArchive::ReadObjectUserData (ON_Object &)
bool ON_BinaryArchive::WriteObject (const ON_Object &)
bool ON_BinaryArchive::WriteObjectUserData (const ON_Object &)
class ON_UserData

Detailed Description

Definition at line 376 of file opennurbs_object.h.

Constructor & Destructor Documentation

Definition at line 1292 of file opennurbs_object.cpp.

ON_Object::ON_Object ( const ON_Object src)

Definition at line 1297 of file opennurbs_object.cpp.

ON_Object::~ON_Object ( ) [virtual]

Definition at line 1314 of file opennurbs_object.cpp.

Member Function Documentation

Definition at line 1358 of file opennurbs_object.cpp.

bool ON_Object::CopyFrom ( const ON_Object src)

Definition at line 1279 of file opennurbs_object.cpp.

void ON_Object::CopyUserData ( const ON_Object source_object)

Definition at line 1479 of file opennurbs_object.cpp.

ON__UINT32 ON_Object::DataCRC ( ON__UINT32  current_remainder) const [virtual]
void ON_Object::DestroyRuntimeCache ( bool  bDelete = true) [virtual]

Definition at line 1388 of file opennurbs_object.cpp.

void ON_Object::Dump ( ON_TextLog dump) const [virtual]
void ON_Object::EmergencyDestroy ( void  )

Definition at line 1463 of file opennurbs_object.cpp.

ON_UserData * ON_Object::GetUserData ( const ON_UUID userdata_uuid) const

Definition at line 1416 of file opennurbs_object.cpp.

bool ON_Object::GetUserString ( const wchar_t *  key,
ON_wString string_value 
) const

Reimplemented in ON_UserStringList.

Definition at line 1051 of file opennurbs_userdata.cpp.

int ON_Object::GetUserStringKeys ( ON_ClassArray< ON_wString > &  user_string_keys) const

Definition at line 1079 of file opennurbs_userdata.cpp.

int ON_Object::GetUserStrings ( ON_ClassArray< ON_UserString > &  user_strings) const

Definition at line 1067 of file opennurbs_userdata.cpp.

ON_BOOL32 ON_Object::IsKindOf ( const ON_ClassId pClassId) const

Definition at line 1554 of file opennurbs_object.cpp.

virtual ON_BOOL32 ON_Object::IsValid ( ON_TextLog text_log = NULL) const [pure virtual]
void ON_Object::MemoryRelocate ( ) [virtual]

Reimplemented in ON_MorphControl, ON_Brep, ON_Mesh, and ON_DetailView.

Definition at line 1543 of file opennurbs_object.cpp.

ON_UUID ON_Object::ModelObjectId ( ) const [virtual]
void ON_Object::MoveUserData ( ON_Object source_object)

Definition at line 1493 of file opennurbs_object.cpp.

ON::object_type ON_Object::ObjectType ( ) const [virtual]
ON_Object & ON_Object::operator= ( const ON_Object src)

Definition at line 1304 of file opennurbs_object.cpp.

Definition at line 1339 of file opennurbs_object.cpp.

ON_BOOL32 ON_Object::Read ( ON_BinaryArchive binary_archive) [virtual]
bool ON_Object::SetUserString ( const wchar_t *  key,
const wchar_t *  string_value 

Reimplemented in ON_UserStringList.

Definition at line 973 of file opennurbs_userdata.cpp.

int ON_Object::SetUserStrings ( int  count,
const ON_UserString user_strings,
bool  bReplace 

Reimplemented in ON_UserStringList.

Definition at line 1017 of file opennurbs_userdata.cpp.

unsigned int ON_Object::SizeOf ( ) const [virtual]
void ON_Object::TransformUserData ( const ON_Xform xform)

Definition at line 1469 of file opennurbs_object.cpp.

Definition at line 1058 of file opennurbs_userdata.cpp.

ON_BOOL32 ON_Object::Write ( ON_BinaryArchive binary_archive) const [virtual]

Friends And Related Function Documentation

int ON_BinaryArchive::ReadObject ( ON_Object **  ) [friend]

Reimplemented in ON_UserData.

Reimplemented in ON_UserData.

bool ON_BinaryArchive::WriteObject ( const ON_Object ) [friend]

Reimplemented in ON_UserData.

bool ON_BinaryArchive::WriteObjectUserData ( const ON_Object ) [friend]

Reimplemented in ON_UserData.

friend class ON_UserData [friend]

Definition at line 858 of file opennurbs_object.h.

Member Data Documentation

Definition at line 859 of file opennurbs_object.h.

The documentation for this class was generated from the following files:

Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52