The GlyphDefinition class is a smart pointer to a database object. It is a handler to a glyph defined within a portfolio. More...
Public Member Functions | |
override void | Dispose () |
GlyphDefinition () | |
The default constructor creates an uninitialized GlyphDefinition object. The Type() function will return Type::None. More... | |
GlyphDefinition (HPS.Definition 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. More... | |
GlyphDefinition (HPS.GlyphDefinition 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. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
void | Set (HPS.GlyphKit in_kit) |
Redefine the glyph for this GlyphDefinition. More... | |
void | Show (out HPS.GlyphKit out_kit) |
Shows the glyph for this GlyphDefinition. More... | |
![]() | |
Definition () | |
The default constructor creates an uninitialized Definition object. The Type() function will return Type::None. More... | |
Definition (HPS.Definition in_that) | |
The copy constructor creates a Definition object that shares the underlying smart-pointer of the source Definition. More... | |
void | Undefine () |
Removes this definition from the owning portfolio. More... | |
HPS.PortfolioKey | Owner () |
Get the portfolio that owns this Definition. More... | |
string | Name () |
Get the name given to this Definition when it was defined. More... | |
virtual void | Assign (HPS.Definition in_that) |
Associate this Definition with the same underlying impl as the source Definition. More... | |
override bool | Equals (System.Object obj) |
override int | GetHashCode () |
bool | Equals (HPS.Definition in_that) |
Check if the source Definition is equivalent to this Definition. More... | |
![]() | |
IntPtr | GetClassID () |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
HPS.Type | Type () |
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. More... | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
IntPtr | GetInstanceID () |
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. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static bool | operator== (HPS.Definition a, HPS.Definition b) |
static bool | operator!= (HPS.Definition a, HPS.Definition b) |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
HandleRef | cptr |
HandleRef | scptr |
bool | cMemOwn |
The GlyphDefinition class is a smart pointer to a database object. It is a handler to a glyph defined within a portfolio.
|
inline |
The default constructor creates an uninitialized GlyphDefinition object. The Type() function will return Type::None.
|
inline |
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 <ref refid="class_h_p_s_1_1_definition" kindref="compound">Definition</ref> to copy. |
|
inline |
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 <ref refid="class_h_p_s_1_1_definition" kindref="compound">Definition</ref> to copy. |
|
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.
|
inline |
Redefine the glyph for this GlyphDefinition.
in_kit | The new glyph for this <ref refid="class_h_p_s_1_1_glyph_definition" kindref="compound">GlyphDefinition</ref>. |
|
inline |
Shows the glyph for this GlyphDefinition.
out_kit | The glyph for this <ref refid="class_h_p_s_1_1_glyph_definition" kindref="compound">GlyphDefinition</ref>. |