QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON__LayerExtensions Class Reference
Inheritance diagram for ON__LayerExtensions:
ON_UserData ON_Object

Public Member Functions

ON_BOOL32 Archive () const
 
ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
ON_BOOL32 GetDescription (ON_wString &description)
 
bool IsEmpty () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
 ON__LayerExtensions ()
 
ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
unsigned int SizeOf () const
 
ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
 ~ON__LayerExtensions ()
 
- Public Member Functions inherited from ON_UserData
void Dump (ON_TextLog &text_log) const
 
ON_BOOL32 IsUnknownUserData () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
ON_UserDataNext () const
 
 ON_UserData ()
 
 ON_UserData (const ON_UserData &)
 
ON_UserDataoperator= (const ON_UserData &)
 
ON_ObjectOwner () const
 
unsigned int SizeOf () const
 
virtual ON_BOOL32 Transform (const ON_Xform &)
 
ON_UUID UserDataClassUuid () const
 
 ~ON_UserData ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
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 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 ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Static Public Member Functions

static void DeleteViewportSettings (const ON_Layer &layer, const ON__LayerPerViewSettings *vp_settings_to_delete)
 
static ON__LayerExtensionsLayerExtensions (const ON_Layer &layer, bool bCreate)
 
static ON__LayerPerViewSettingsViewportSettings (const ON_Layer &layer, const ON_UUID &viewport_id, bool bCreate)
 

Public Attributes

ON_SimpleArray< ON__LayerPerViewSettingsm_vp_settings
 
- Public Attributes inherited from ON_UserData
ON_UUID m_application_uuid
 
unsigned int m_userdata_copycount
 
ON_UUID m_userdata_uuid
 
ON_Xform m_userdata_xform
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Private Member Functions

 ON_OBJECT_DECLARE (ON__LayerExtensions)
 

Constructor & Destructor Documentation

◆ ON__LayerExtensions()

ON__LayerExtensions::ON__LayerExtensions ( )

◆ ~ON__LayerExtensions()

ON__LayerExtensions::~ON__LayerExtensions ( )

Member Function Documentation

◆ Archive()

ON_BOOL32 ON__LayerExtensions::Archive ( ) const
virtual

Reimplemented from ON_UserData.

◆ DataCRC()

ON__UINT32 ON__LayerExtensions::DataCRC ( ON__UINT32 current_remainder) const
virtual

Reimplemented from ON_Object.

◆ DeleteViewportSettings()

void ON__LayerExtensions::DeleteViewportSettings ( const ON_Layer & layer,
const ON__LayerPerViewSettings * vp_settings_to_delete )
static

◆ GetDescription()

ON_BOOL32 ON__LayerExtensions::GetDescription ( ON_wString & description)
virtual

Reimplemented from ON_UserData.

◆ IsEmpty()

bool ON__LayerExtensions::IsEmpty ( ) const

◆ IsValid()

ON_BOOL32 ON__LayerExtensions::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ LayerExtensions()

ON__LayerExtensions * ON__LayerExtensions::LayerExtensions ( const ON_Layer & layer,
bool bCreate )
static

◆ ON_OBJECT_DECLARE()

ON__LayerExtensions::ON_OBJECT_DECLARE ( ON__LayerExtensions )
private

◆ Read()

ON_BOOL32 ON__LayerExtensions::Read ( ON_BinaryArchive & binary_archive)
virtual

Reimplemented from ON_Object.

◆ SizeOf()

unsigned int ON__LayerExtensions::SizeOf ( ) const
virtual

Reimplemented from ON_Object.

◆ ViewportSettings()

ON__LayerPerViewSettings * ON__LayerExtensions::ViewportSettings ( const ON_Layer & layer,
const ON_UUID & viewport_id,
bool bCreate )
static

◆ Write()

ON_BOOL32 ON__LayerExtensions::Write ( ON_BinaryArchive & binary_archive) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ m_vp_settings

ON_SimpleArray<ON__LayerPerViewSettings> ON__LayerExtensions::m_vp_settings

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