#include <hps.h>
Public Member Functions | |
| GlyphDefinition () | |
| GlyphDefinition (Definition const &in_that) | |
| GlyphDefinition (GlyphDefinition const &in_that) | |
| GlyphDefinition & | operator= (GlyphDefinition const &in_that) |
| GlyphDefinition (GlyphDefinition &&in_that) | |
| GlyphDefinition & | operator= (GlyphDefinition &&in_that) |
| HPS::Type | ObjectType () const |
| void | Set (GlyphKit const &in_kit) |
| void | Show (GlyphKit &out_kit) const |
Public Member Functions inherited from HPS::Definition | |
| Definition () | |
| Definition (Definition const &in_that) | |
| Definition & | operator= (Definition const &in_that) |
| Definition (Definition &&in_that) | |
| Definition & | operator= (Definition &&in_that) |
| void | Undefine () |
| PortfolioKey | Owner () const |
| UTF8 | Name () const |
| virtual void | Assign (Definition const &in_that) |
| bool | Equals (Definition const &in_that) const |
| bool | operator== (Definition const &in_that) const |
| bool | operator!= (Definition const &in_that) const |
Public Member Functions inherited from HPS::Object | |
| Object & | operator= (Object const &other_object) |
| Object (Object &&in_that) | |
| Object & | operator= (Object &&in_that) |
| HPS::Type | Type () const |
| virtual bool | Empty () const |
| virtual void | Reset () |
| bool | HasType (HPS::Type in_mask) const |
| intptr_t | GetClassID () const |
| intptr_t | GetInstanceID () const |
Additional Inherited Members | |
Static Public Member Functions inherited from HPS::Object | |
| template<typename T > | |
| static intptr_t | ClassID () |
The GlyphDefinition class is a smart pointer to a database object. It is a handler to a glyph defined within a portfolio.
| HPS::GlyphDefinition::GlyphDefinition | ( | ) |
The default constructor creates an uninitialized GlyphDefinition object. The Type() function will return Type::None.
| HPS::GlyphDefinition::GlyphDefinition | ( | Definition const & | in_that | ) |
This constructor creates an GlyphDefinition object that shares the underlying smart-pointer of the source Definition. The copy will only be successful if the source definition is really an upcast of a glyph definition. Otherwise the copy will fail and the resulting GlyphDefinition will be invalid.
| in_that | The source Definition to copy. |
| HPS::GlyphDefinition::GlyphDefinition | ( | GlyphDefinition const & | in_that | ) |
The copy constructor creates an GlyphDefinition object that shares the underlying smart-pointer of the source GlyphDefinition.
| in_that | The source GlyphDefinition to copy. |
| HPS::GlyphDefinition::GlyphDefinition | ( | GlyphDefinition && | in_that | ) |
The move constructor creates a GlyphDefinition by transferring the underlying impl of the rvalue reference to this GlyphDefinition thereby avoiding a copy and allocation.
| in_that | An rvalue reference to a GlyphDefinition to take the impl from. |
|
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::Definition.
| GlyphDefinition& HPS::GlyphDefinition::operator= | ( | GlyphDefinition const & | in_that | ) |
Associate this GlyphDefinition with the same underlying impl as the source GlyphDefinition.
| in_that | The source GlyphDefinition for the assignment. |
| GlyphDefinition& HPS::GlyphDefinition::operator= | ( | GlyphDefinition && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this GlyphDefinition thereby avoiding a copy.
| in_that | An rvalue reference to a GlyphDefinition to take the impl from. |
| void HPS::GlyphDefinition::Set | ( | GlyphKit const & | in_kit | ) |
Redefine the glyph for this GlyphDefinition.
| in_kit | The new glyph for this GlyphDefinition. |
| void HPS::GlyphDefinition::Show | ( | GlyphKit & | out_kit | ) | const |
Shows the glyph for this GlyphDefinition.
| out_kit | The glyph for this GlyphDefinition. |