The Factory class is used to create and DWG objects which inherit from HPS.Component or one of its subclasses. More...

Public Member Functions | |
override void | Dispose () |
Factory (HPS.DWG.Factory in_that) | |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
virtual HPS.Type | Type () |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
Static Public Member Functions | |
static HPS.DWG.CADModel | CreateCADModel (HPS.Model in_model) |
Creates a new DWG.CADModel. More... | |
static HPS.DWG.CADModel | CreateCADModel () |
Creates a new DWG.CADModel. More... | |
static HPS.DWG.Component | CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id) |
Creates a new DWG.Component as a subcomponent of a given Component. More... | |
static HPS.DWG.Component | CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type) |
Creates a new DWG.Component as a subcomponent of a given Component. More... | |
static HPS.DWG.Layer | CreateLayer (HPS.Component in_owner, IntPtr in_object_id) |
Creates a new DWG.Layer as a subcomponent of a given Component. More... | |
static HPS.DWG.Layer | CreateLayer (HPS.Component in_owner) |
Creates a new DWG.Layer as a subcomponent of a given Component. More... | |
static HPS.DWG.Layout | CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id) |
Creates a new DWG.Layout as a subcomponent of a given Component. More... | |
static HPS.DWG.Layout | CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type) |
Creates a new DWG.Layout as a subcomponent of a given Component. More... | |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The Factory class is used to create and DWG objects which inherit from HPS.Component or one of its subclasses.
Member Function Documentation
|
inlinestatic |
Creates a new DWG.CADModel.
- Parameters
-
in_model The Model associated with the newly created DWG.CADModel.
|
inlinestatic |
Creates a new DWG.CADModel.
|
inlinestatic |
Creates a new DWG.Component as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Component. in_type The type of DWG.Component to create.
|
inlinestatic |
Creates a new DWG.Component as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Component. in_type The type of DWG.Component to create.
|
inlinestatic |
Creates a new DWG.Layer as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Layer.
|
inlinestatic |
Creates a new DWG.Layer as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Layer.
|
inlinestatic |
Creates a new DWG.Layout as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Component. in_type The type of DWG.Component to create.
|
inlinestatic |
Creates a new DWG.Layout as a subcomponent of a given Component.
- Parameters
-
in_owner The HPS.Component which owns the newly created DWG.Component. in_type The type of DWG.Component to create.
The documentation for this class was generated from the following file:
- internals/hps_sprk_dwg/source/cs/HPS.DWG.cs