|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The Definition class is a smart pointer to a database object. It is the base class for all definition objects.
◆ Definition() [1/2]
HPS.Definition.Definition |
( |
| ) |
|
|
inline |
The default constructor creates an uninitialized Definition object. The Type() function will return Type.None.
◆ Definition() [2/2]
The copy constructor creates a Definition object that shares the underlying smart-pointer of the source Definition.
- Parameters
-
◆ Assign()
◆ Equals()
Check if the source Definition is equivalent to this Definition.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ Name()
string HPS.Definition.Name |
( |
| ) |
|
|
inline |
Get the name given to this Definition when it was defined.
- Returns
- UTF8-encoded name of this Definition.
◆ ObjectType()
override HPS.Type HPS.Definition.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
Reimplemented in HPS.GlyphDefinition, HPS.ImageDefinition, HPS.LinePatternDefinition, HPS.MaterialPaletteDefinition, HPS.NamedStyleDefinition, HPS.ShapeDefinition, and HPS.TextureDefinition.
◆ Owner()
◆ Undefine()
void HPS.Definition.Undefine |
( |
| ) |
|
|
inline |
Removes this definition from the owning portfolio.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.Definition.cs