HPS::DWG::Factory Class Reference
#include <sprk_dwg.h>
Inheritance diagram for HPS::DWG::Factory:

Static Public Member Functions | |
static CADModel | CreateCADModel (Model const &in_model=HPS::Factory::CreateModel()) |
static Component | CreateComponent (HPS::Component const &in_owner, HPS::Component::ComponentType in_type, DWGObjectID *in_object_id=nullptr) |
static Layer | CreateLayer (HPS::Component const &in_owner, DWGObjectID *in_object_id=nullptr) |
static Layout | CreateLayout (HPS::Component const &in_owner, HPS::Component::ComponentType in_type, DWGObjectID *in_object_id=nullptr) |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
Additional Inherited Members | |
![]() | |
Sprocket (Sprocket &&in_that) | |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
virtual HPS::Type | ObjectType () const |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
virtual HPS::Type | Type () const |
![]() | |
static const HPS::Type | staticType = HPS::Type::None |
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()
|
static |
Creates a new DWG::CADModel.
- Parameters
-
in_model The Model associated with the newly created DWG::CADModel.
◆ CreateComponent()
|
static |
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. in_object The DWG object ID associated with the newly created DWG::Component.
◆ CreateLayer()
|
static |
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. in_object The DWG object ID associated with the newly created DWG::Layer.
◆ CreateLayout()
|
static |
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. in_object The DWG object ID associated with the newly created DWG::Component.
The documentation for this class was generated from the following file:
- include/sprk_dwg.h