BlankLinePatternElement
-
class HPS::BlankLinePatternElement : public HPS::LinePatternElement
The BlankLinePatternElement class is a user space object. It is used for specifying blank elements within a line pattern.
Public Functions
-
BlankLinePatternElement()
The default constructor creates an empty BlankLinePatternElement object.
-
BlankLinePatternElement(BlankLinePatternElement &&in_that)
The move constructor creates a BlankLinePatternElement by transferring the underlying impl of the rvalue reference to this BlankLinePatternElement thereby avoiding a copy and allocation.
- Parameters
in_that – An rvalue reference to a BlankLinePatternElement to take the impl from.
-
BlankLinePatternElement(BlankLinePatternElement const &in_that)
The copy constructor creates a new BlankLinePatternElement object that contains the same settings as the source BlankLinePatternElement.
- Parameters
in_that – The source BlankLinePatternElement to copy.
-
BlankLinePatternElement(float in_size, LinePattern::SizeUnits in_units)
This constructor creates a BlankLinePatternElement with a given size.
- Parameters
in_size – The length of the BlankLinePatternElement.
in_units – The units for the length of the BlankLinePatternElement.
-
BlankLinePatternElement(LinePatternElement const &in_that)
This constructor creates a BlankLinePatternElement object that contains the same settings as the source LinePatternElement. The copy will only be successful if the source line pattern element is really an upcast of a blank line pattern element. Otherwise the copy will fail and the resulting BlankLinePatternElement will be invalid.
- Parameters
in_that – The source LinePatternElement 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.
-
BlankLinePatternElement &operator=(BlankLinePatternElement &&in_that)
The move assignment operator transfers the underlying impl of the rvalue reference to this BlankLinePatternElement thereby avoiding a copy.
- Parameters
in_that – An rvalue reference to an BlankLinePatternElement to take the impl from.
- Returns
A reference to this BlankLinePatternElement.
-
~BlankLinePatternElement()
Public Static Attributes
-
static const HPS::Type staticType = HPS::Type::BlankLinePatternElement
-
BlankLinePatternElement()