Inheritance diagram for HPS.DWG.Factory:
HPS.Sprocket HPS.Object

Public Member Functions

override void Dispose ()
 
 Factory (HPS.DWG.Factory in_that)
 
- Public Member Functions inherited from HPS.Sprocket
 Sprocket (HPS.Sprocket in_that)
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual HPS.Type ObjectType ()
 
virtual void Reset ()
 
virtual HPS.Type Type ()
 

Static Public Member Functions

static HPS.DWG.CADModel CreateCADModel (HPS.Model in_model)
 
static HPS.DWG.CADModel CreateCADModel ()
 
static HPS.DWG.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id)
 
static HPS.DWG.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type)
 
static HPS.DWG.Layer CreateLayer (HPS.Component in_owner, IntPtr in_object_id)
 
static HPS.DWG.Layer CreateLayer (HPS.Component in_owner)
 
static HPS.DWG.Layout CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type, IntPtr in_object_id)
 
static HPS.DWG.Layout CreateLayout (HPS.Component in_owner, HPS.Component.ComponentType in_type)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
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

◆ CreateCADModel() [1/2]

static HPS.DWG.CADModel HPS.DWG.Factory.CreateCADModel ( HPS.Model  in_model)
inlinestatic

Creates a new DWG.CADModel.

Parameters
in_modelThe Model associated with the newly created DWG.CADModel.

◆ CreateCADModel() [2/2]

static HPS.DWG.CADModel HPS.DWG.Factory.CreateCADModel ( )
inlinestatic

Creates a new DWG.CADModel.

◆ CreateComponent() [1/2]

static HPS.DWG.Component HPS.DWG.Factory.CreateComponent ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type,
IntPtr  in_object_id 
)
inlinestatic

Creates a new DWG.Component as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Component.
in_typeThe type of DWG.Component to create.

◆ CreateComponent() [2/2]

static HPS.DWG.Component HPS.DWG.Factory.CreateComponent ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type 
)
inlinestatic

Creates a new DWG.Component as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Component.
in_typeThe type of DWG.Component to create.

◆ CreateLayer() [1/2]

static HPS.DWG.Layer HPS.DWG.Factory.CreateLayer ( HPS.Component  in_owner,
IntPtr  in_object_id 
)
inlinestatic

Creates a new DWG.Layer as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Layer.

◆ CreateLayer() [2/2]

static HPS.DWG.Layer HPS.DWG.Factory.CreateLayer ( HPS.Component  in_owner)
inlinestatic

Creates a new DWG.Layer as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Layer.

◆ CreateLayout() [1/2]

static HPS.DWG.Layout HPS.DWG.Factory.CreateLayout ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type,
IntPtr  in_object_id 
)
inlinestatic

Creates a new DWG.Layout as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Component.
in_typeThe type of DWG.Component to create.

◆ CreateLayout() [2/2]

static HPS.DWG.Layout HPS.DWG.Factory.CreateLayout ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type 
)
inlinestatic

Creates a new DWG.Layout as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created DWG.Component.
in_typeThe 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