
Public Member Functions | |
Component () | |
Component (HPS.Component in_that) | |
Component (HPS.DWG.Component in_that) | |
override void | Dispose () |
IntPtr | GetDWGObjectID () |
override HPS.Type | ObjectType () |
![]() | |
void | AddKey (HPS.Key in_key) |
void | AddOwner (HPS.Component in_owner, HPS.IncludeKey in_include) |
void | AddOwner (HPS.Component in_owner) |
void | AddReference (HPS.Component in_reference) |
bool | AddTransform (HPS.MatrixKit in_transform) |
virtual void | Assign (HPS.Component in_that) |
Component () | |
Component (HPS.Component in_that) | |
HPS.Component | CopyTo (HPS.Component in_new_owner) |
void | Delete (HPS.Component.DeleteMode mode) |
void | Delete () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Component in_that) |
void | Flush () |
HPS.Metadata [] | GetAllMetadata () |
HPS.Component [] | GetAllSubcomponents (HPS.Component.ComponentType in_type) |
HPS.Component.ComponentType | GetComponentType () |
override int | GetHashCode () |
HPS.Key [] | GetKeys () |
HPS.Metadata | GetMetadata (string in_name) |
string | GetName () |
HPS.Component [] | GetOwners () |
HPS.Component [] | GetReferences () |
HPS.Component [] | GetReferrers () |
HPS.Component [] | GetSubcomponents () |
bool | HasComponentType (HPS.Component.ComponentType in_mask) |
bool | SetName (string in_new_name) |
bool | SetTransform (HPS.MatrixKit in_transform) |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
virtual bool | Empty () |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
bool | HasType (HPS.Type in_mask) |
Object (HPS.Object that) | |
virtual void | Reset () |
virtual HPS.Type | Type () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Detailed Description
The Component class is a smart pointer. It represents a variety of DWG components.
The primary purpose of this class is simply to provide access to the underlying DWG object for use by DWG library functions.
Constructor & Destructor Documentation
◆ Component() [1/3]
|
inline |
The default constructor creates an uninitialized DWG.Component object. The Type() function will return Type.None.
◆ Component() [2/3]
|
inline |
This constructor creates an DWG.Component object that shares the underlying smart-pointer of the source Component.
The copy will only be successful if the source component is really an upcast of an DWG.Component object.
Otherwise the copy will fail and the resulting DWG.Component will be invalid.
- Parameters
-
in_that The source Component to copy.
◆ Component() [3/3]
|
inline |
This constructor creates an DWG.Component object that shares the underlying smart-pointer of the source Component.
The copy will only be successful if the source component is really an upcast of an DWG.Component object.
Otherwise the copy will fail and the resulting DWG.Component will be invalid.
- Parameters
-
in_that The source Component to copy.
Member Function Documentation
◆ GetDWGObjectID()
|
inline |
Gets the AcDbObjectId corresponding to this DWGComponent.
- Returns
- The AcDbObjectId corresponding to this DWGComponent.
◆ ObjectType()
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Component.
Reimplemented in HPS.DWG.Layer.
The documentation for this class was generated from the following file:
- internals/hps_sprk_dwg/source/cs/HPS.DWG.cs