#include <hps.h>

Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::BlankLinePatternElement |
![]() | |
static const HPS::Type | staticType = HPS::Type::LinePatternElement |
![]() | |
static const HPS::Type | staticType = HPS::Type::None |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
Detailed Description
The BlankLinePatternElement class is a user space object. It is used for specifying blank elements within a line pattern.
Constructor & Destructor Documentation
HPS::BlankLinePatternElement::BlankLinePatternElement | ( | ) |
The default constructor creates an empty BlankLinePatternElement object.
HPS::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.
HPS::BlankLinePatternElement::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.
HPS::BlankLinePatternElement::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.
HPS::BlankLinePatternElement::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.
Member Function Documentation
|
inlinevirtual |
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.
Reimplemented from HPS::LinePatternElement.
BlankLinePatternElement& HPS::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.
The documentation for this class was generated from the following file:
- include/hps.h