HPS.DWG.Layer
- class HPS.DWG.Layer : public HPS.DWG.Component
The Layer class is a user space object. It allows users to turn layers imported through DWG on or off.
Public Functions
- bool Equals (HPS.DWG.Layer in_layer)
Check if the source Layer is equivalent to this Layer.
- Return
true if the objects are equivalent, false otherwise.
- Layer (HPS.Component in_that)
This constructor creates a Layer 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.Layer object. Otherwise the copy will fail and the resulting DWG.Layer will be invalid.
- Param in_that
The source Component to copy.
- Layer (HPS.DWG.Component in_that)
This constructor creates a Layer 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.Layer object. Otherwise the copy will fail and the resulting DWG.Layer will be invalid.
- Param in_that
The source Component to copy.
- Layer (HPS.DWG.Layer in_layer)
The copy constructor creates a new Layer object that contains the same settings as the source Layer.
- override HPS.Type ObjectType ()
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).
- Return
The declared type of the object in question, which may differ from the true, underlying type.