The HPS::UpdateOptionsKit class is a user space object. More...
#include <hps.h>
Public Member Functions | |
UpdateOptionsKit () | |
The default constructor creates an empty UpdateOptionsKit object. More... | |
UpdateOptionsKit (UpdateOptionsKit const &in_kit) | |
The copy constructor creates a new UpdateOptionsKit object that contains the same settings as the source UpdateOptionsKit. More... | |
UpdateOptionsKit (UpdateOptionsKit &&in_that) | |
The move constructor creates a UpdateOptionsKit by transferring the underlying impl of the rvalue reference to this UpdateOptionsKit thereby avoiding a copy and allocation. More... | |
UpdateOptionsKit & | operator= (UpdateOptionsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this UpdateOptionsKit thereby avoiding a copy. More... | |
virtual | ~UpdateOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (UpdateOptionsKit const &in_kit) |
Copies the source UpdateOptionsKit into this UpdateOptionsKit. More... | |
void | Show (UpdateOptionsKit &out_kit) const |
Copies this UpdateOptionsKit into the given UpdateOptionsKit. More... | |
UpdateOptionsKit & | operator= (UpdateOptionsKit const &in_kit) |
Copies the source UpdateOptionsKit into this UpdateOptionsKit. More... | |
bool | Empty () const |
Indicates whether this UpdateOptionsKit has any values set on it. More... | |
bool | Equals (UpdateOptionsKit const &in_kit) const |
Check if the source UpdateOptionsKit is equivalent to this UpdateOptionsKit. More... | |
bool | operator== (UpdateOptionsKit const &in_kit) const |
Check if the source UpdateOptionsKit is equivalent to this UpdateOptionsKit. More... | |
bool | operator!= (UpdateOptionsKit const &in_kit) const |
Check if the source UpdateOptionsKit is not equivalent to this UpdateOptionsKit. More... | |
UpdateOptionsKit & | SetUpdateType (HPS::Window::UpdateType in_type) |
Sets the type of update of this UpdateOptionsKit. More... | |
UpdateOptionsKit & | SetTimeLimit (HPS::Time in_time_limit) |
Sets the time limit of this UpdateOptionsKit. More... | |
UpdateOptionsKit & | UnsetUpdateType () |
Removes the type of control for this UpdateOptionsKit. More... | |
UpdateOptionsKit & | UnsetTimeLimit () |
Removes the time limit of this UpdateOptionsKit. More... | |
UpdateOptionsKit & | UnsetEverything () |
Removes all settings from this UpdateOptionsKit. More... | |
bool | ShowUpdateType (HPS::Window::UpdateType &out_type) const |
Shows the type of control from this UpdateOptionsKit. More... | |
bool | ShowTimeLimit (HPS::Time &out_time_limit) const |
Shows the time limit from this UpdateOptionsKit. 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 UpdateOptionsKit | GetDefault () |
Creates a UpdateOptionsKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::UpdateOptionsKit |
The HPS::UpdateOptionsKit class is a user space object.
It contains options related to selection. Calling HPS::UpdateOptionsKit::GetDefault() will return a kit with values found in this table.
HPS::UpdateOptionsKit::UpdateOptionsKit | ( | ) |
The default constructor creates an empty UpdateOptionsKit object.
HPS::UpdateOptionsKit::UpdateOptionsKit | ( | UpdateOptionsKit const & | in_kit | ) |
The copy constructor creates a new UpdateOptionsKit object that contains the same settings as the source UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to copy. |
HPS::UpdateOptionsKit::UpdateOptionsKit | ( | UpdateOptionsKit && | in_that | ) |
The move constructor creates a UpdateOptionsKit by transferring the underlying impl of the rvalue reference to this UpdateOptionsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a UpdateOptionsKit 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 UpdateOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::UpdateOptionsKit::Equals | ( | UpdateOptionsKit const & | in_kit | ) | const |
Check if the source UpdateOptionsKit is equivalent to this UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to compare to this UpdateOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates a UpdateOptionsKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
|
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::UpdateOptionsKit::operator!= | ( | UpdateOptionsKit const & | in_kit | ) | const |
Check if the source UpdateOptionsKit is not equivalent to this UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to compare to this UpdateOptionsKit. |
UpdateOptionsKit& HPS::UpdateOptionsKit::operator= | ( | UpdateOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this UpdateOptionsKit thereby avoiding a copy.
in_that | An rvalue reference to a UpdateOptionsKit to take the impl from. |
UpdateOptionsKit& HPS::UpdateOptionsKit::operator= | ( | UpdateOptionsKit const & | in_kit | ) |
Copies the source UpdateOptionsKit into this UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to copy. |
bool HPS::UpdateOptionsKit::operator== | ( | UpdateOptionsKit const & | in_kit | ) | const |
Check if the source UpdateOptionsKit is equivalent to this UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to compare to this UpdateOptionsKit. |
|
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::UpdateOptionsKit::Set | ( | UpdateOptionsKit const & | in_kit | ) |
Copies the source UpdateOptionsKit into this UpdateOptionsKit.
in_kit | The source UpdateOptionsKit to copy. |
UpdateOptionsKit& HPS::UpdateOptionsKit::SetTimeLimit | ( | HPS::Time | in_time_limit | ) |
Sets the time limit of this UpdateOptionsKit.
in_time_limit | The time limit for this UpdateOptionsKit update. |
UpdateOptionsKit& HPS::UpdateOptionsKit::SetUpdateType | ( | HPS::Window::UpdateType | in_type | ) |
Sets the type of update of this UpdateOptionsKit.
in_type | The type of update that this UpdateOptionsKit will perform. |
void HPS::UpdateOptionsKit::Show | ( | UpdateOptionsKit & | out_kit | ) | const |
Copies this UpdateOptionsKit into the given UpdateOptionsKit.
out_kit | The UpdateOptionsKit to populate with the contents of this UpdateOptionsKit. |
bool HPS::UpdateOptionsKit::ShowTimeLimit | ( | HPS::Time & | out_time_limit | ) | const |
Shows the time limit from this UpdateOptionsKit.
out_proximity | The selection proximity. |
bool HPS::UpdateOptionsKit::ShowUpdateType | ( | HPS::Window::UpdateType & | out_type | ) | const |
Shows the type of control from this UpdateOptionsKit.
out_type | The type of update. |
|
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.
UpdateOptionsKit& HPS::UpdateOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this UpdateOptionsKit.
UpdateOptionsKit& HPS::UpdateOptionsKit::UnsetTimeLimit | ( | ) |
Removes the time limit of this UpdateOptionsKit.
UpdateOptionsKit& HPS::UpdateOptionsKit::UnsetUpdateType | ( | ) |
Removes the type of control for this UpdateOptionsKit.
|
static |