HPS::DWG::Layout
-
class HPS::DWG::Layout : public HPS::Capture
Public Functions
-
DWGObjectID *GetDWGObjectID() const
-
Layout()
The default constructor creates an uninitialized DWG::Layout object. The Type() function will return Type::None.
-
Layout(Component const &in_that)
This constructor creates a Layout 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 a DWG::Layout object. Otherwise the copy will fail and the resulting DWG::Layout will be invalid.
- Parameters
in_that – The source Component to copy.
-
Layout(DWG::Layout &&in_that)
The move constructor creates an DWG::Layout by transferring the underlying object of the rvalue reference to this DWG::Layout.
- Parameters
in_that – An rvalue reference to an DWG::Layout to take the underlying object from.
-
Layout(DWG::Layout const &in_that)
The copy constructor creates an DWG::Layout object that shares the underlying smart-pointer of the source DWG::Layout.
- Parameters
in_that – The source DWG::Layout to copy.
-
Layout(HPS::Capture const &in_that)
This constructor creates an DWG::Layout object that shares the underlying smart-pointer of the source Layout. The copy will only be successful if the source layout is really an upcast of an DWG::Layout object. Otherwise the copy will fail and the resulting DWG::Layout will be invalid.
- Parameters
in_that – The source Layout to copy.
-
inline virtual HPS::Type ObjectType() const
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.
-
Layout &operator=(DWG::Layout &&in_that)
The move assignment operator transfers the underlying object of the rvalue reference to this DWG::Layout.
- Parameters
in_that – An rvalue reference to an DWG::Layout to take the underlying object from.
- Returns
A reference to this DWG::Layout.
-
virtual ~Layout()
Public Static Attributes
-
static const HPS::Type staticType = HPS::Type::DWGLayout
-
DWGObjectID *GetDWGObjectID() const