#include <hps.h>
Public Member Functions | |
LinePatternKit () | |
LinePatternKit (LinePatternKit const &in_kit) | |
LinePatternKit (LinePatternKit &&in_that) | |
LinePatternKit & | operator= (LinePatternKit &&in_that) |
HPS::Type | ObjectType () const |
void | Set (LinePatternKit const &in_kit) |
void | Show (LinePatternKit &out_kit) const |
LinePatternKit & | operator= (LinePatternKit const &in_kit) |
bool | Empty () const |
bool | Equals (LinePatternKit const &in_kit) const |
bool | operator== (LinePatternKit const &in_kit) const |
bool | operator!= (LinePatternKit const &in_kit) const |
LinePatternKit & | SetParallels (LinePatternParallelKitArray const &in_parallels) |
LinePatternKit & | SetParallels (size_t in_count, LinePatternParallelKit const in_parallels[]) |
LinePatternKit & | SetJoin (LinePattern::Join in_type) |
LinePatternKit & | UnsetParallels () |
LinePatternKit & | UnsetJoin () |
LinePatternKit & | UnsetEverything () |
bool | ShowParallels (LinePatternParallelKitArray &out_parallels) const |
bool | ShowJoin (LinePattern::Join &out_type) const |
![]() | |
Object (Object const &that) | |
Object & | operator= (Object const &other_object) |
Object (Object &&in_that) | |
Object & | operator= (Object &&in_that) |
HPS::Type | Type () const |
virtual void | Reset () |
bool | HasType (HPS::Type in_mask) const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
Static Public Member Functions | |
static HPS::LinePatternKit | GetDefault (LinePattern::Default in_default_line_pattern) |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
The LinePatternKit class is a user space object. It is used when defining a line pattern.
HPS::LinePatternKit::LinePatternKit | ( | ) |
The default constructor creates an empty LinePatternKit object.
HPS::LinePatternKit::LinePatternKit | ( | LinePatternKit const & | in_kit | ) |
The copy constructor creates a new LinePatternKit object that contains the same settings as the source LinePatternKit.
in_kit | The source LinePatternKit to copy. |
HPS::LinePatternKit::LinePatternKit | ( | LinePatternKit && | in_that | ) |
The move constructor creates a LinePatternKit by transferring the underlying impl of the rvalue reference to this LinePatternKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a LinePatternKit to take the impl from. |
|
virtual |
Indicates whether this LinePatternKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::LinePatternKit::Equals | ( | LinePatternKit const & | in_kit | ) | const |
Check if the source LinePatternKit is equivalent to this LinePatternKit.
in_kit | The source LinePatternKit to compare to this LinePatternKit. |
|
static |
Creates a LinePatternKit which contains the definition of the specified default line pattern.
in_default_line_pattern | The default line pattern for which to get the corresponding LinePatternKit. |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Object.
bool HPS::LinePatternKit::operator!= | ( | LinePatternKit const & | in_kit | ) | const |
Check if the source LinePatternKit is not equivalent to this LinePatternKit.
in_kit | The source LinePatternKit to compare to this LinePatternKit. |
LinePatternKit& HPS::LinePatternKit::operator= | ( | LinePatternKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this LinePatternKit thereby avoiding a copy.
in_that | An rvalue reference to a LinePatternKit to take the impl from. |
LinePatternKit& HPS::LinePatternKit::operator= | ( | LinePatternKit const & | in_kit | ) |
Copies the source LinePatternKit into this LinePatternKit.
in_kit | The source LinePatternKit to copy. |
bool HPS::LinePatternKit::operator== | ( | LinePatternKit const & | in_kit | ) | const |
Check if the source LinePatternKit is equivalent to this LinePatternKit.
in_kit | The source LinePatternKit to compare to this LinePatternKit. |
void HPS::LinePatternKit::Set | ( | LinePatternKit const & | in_kit | ) |
Copies the source LinePatternKit into this LinePatternKit.
in_kit | The source LinePatternKit to copy. |
LinePatternKit& HPS::LinePatternKit::SetJoin | ( | LinePattern::Join | in_type | ) |
Sets the type of join to use for this LinePatternKit.
in_type | The type of join to use for this LinePatternKit. |
LinePatternKit& HPS::LinePatternKit::SetParallels | ( | LinePatternParallelKitArray const & | in_parallels | ) |
Sets the line pattern parallel array for this LinePatternKit.
in_parallels | The line pattern parallel array for this LinePatternKit. |
LinePatternKit& HPS::LinePatternKit::SetParallels | ( | size_t | in_count, |
LinePatternParallelKit const | in_parallels[] | ||
) |
Sets the line pattern parallel array for this LinePatternKit.
in_count | Size of the following array. |
in_parallels | The line pattern parallel array for this LinePatternKit. |
void HPS::LinePatternKit::Show | ( | LinePatternKit & | out_kit | ) | const |
Copies this LinePatternKit into the given LinePatternKit.
out_kit | The LinePatternKit to populate with the contents of this LinePatternKit. |
bool HPS::LinePatternKit::ShowJoin | ( | LinePattern::Join & | out_type | ) | const |
Shows the type of join to use for this LinePatternKit.
out_type | The type of join to use for this LinePatternKit. |
bool HPS::LinePatternKit::ShowParallels | ( | LinePatternParallelKitArray & | out_parallels | ) | const |
Shows the line pattern parallel array for this LinePatternKit.
out_parallels | The line pattern parallel array for this LinePatternKit. |
LinePatternKit& HPS::LinePatternKit::UnsetEverything | ( | ) |
Removes all settings from this LinePatternKit.
LinePatternKit& HPS::LinePatternKit::UnsetJoin | ( | ) |
Removes the type of join to use for this LinePatternKit.
LinePatternKit& HPS::LinePatternKit::UnsetParallels | ( | ) |
Removes the line pattern parallel array for this LinePatternKit.