The LinePatternKit class is a user space object. More...
#include <hps.h>
Public Member Functions | |
LinePatternKit () | |
The default constructor creates an empty LinePatternKit object. More... | |
LinePatternKit (LinePatternKit const &in_kit) | |
The copy constructor creates a new LinePatternKit object that contains the same settings as the source LinePatternKit. More... | |
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. More... | |
LinePatternKit & | operator= (LinePatternKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this LinePatternKit thereby avoiding a copy. More... | |
virtual | ~LinePatternKit () |
HPS::Type | ObjectType () const |
void | Set (LinePatternKit const &in_kit) |
Copies the source LinePatternKit into this LinePatternKit. More... | |
void | Show (LinePatternKit &out_kit) const |
Copies this LinePatternKit into the given LinePatternKit. More... | |
LinePatternKit & | operator= (LinePatternKit const &in_kit) |
Copies the source LinePatternKit into this LinePatternKit. More... | |
bool | Empty () const |
Indicates whether this LinePatternKit has any values set on it. More... | |
bool | Equals (LinePatternKit const &in_kit) const |
Check if the source LinePatternKit is equivalent to this LinePatternKit. More... | |
bool | operator== (LinePatternKit const &in_kit) const |
Check if the source LinePatternKit is equivalent to this LinePatternKit. More... | |
bool | operator!= (LinePatternKit const &in_kit) const |
Check if the source LinePatternKit is not equivalent to this LinePatternKit. More... | |
LinePatternKit & | SetParallels (LinePatternParallelKitArray const &in_parallels) |
Sets the line pattern parallel array for this LinePatternKit. More... | |
LinePatternKit & | SetParallels (size_t in_count, LinePatternParallelKit const in_parallels []) |
Sets the line pattern parallel array for this LinePatternKit. More... | |
LinePatternKit & | SetParallel (LinePatternParallelKit const &in_parallel) |
Sets the line pattern parallel for this LinePatternKit. More... | |
LinePatternKit & | SetJoin (LinePattern::Join in_type) |
Sets the type of join to use for this LinePatternKit. More... | |
LinePatternKit & | UnsetParallels () |
Removes the line pattern parallel array for this LinePatternKit. More... | |
LinePatternKit & | UnsetJoin () |
Removes the type of join to use for this LinePatternKit. More... | |
LinePatternKit & | UnsetEverything () |
Removes all settings from this LinePatternKit. More... | |
bool | ShowParallels (LinePatternParallelKitArray &out_parallels) const |
Shows the line pattern parallel array for this LinePatternKit. More... | |
bool | ShowJoin (LinePattern::Join &out_type) const |
Shows the type of join to use for this LinePatternKit. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static HPS::LinePatternKit | GetDefault (LinePattern::Default in_default_line_pattern) |
Creates a LinePatternKit which contains the definition of the specified default line pattern. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::LinePatternKit |
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 |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
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. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
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. |
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
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. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
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::SetParallel | ( | LinePatternParallelKit const & | in_parallel | ) |
Sets the line pattern parallel for this LinePatternKit.
in_parallel | The line pattern parallel 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. |
|
inlinevirtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented from HPS::Object.
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.
|
static |