The ComponentPath contains an array of components, organized from leaf to root. It allows the user to perform queries and operations along that path. More...

Public Member Functions | |
HPS.ComponentPath | Append (HPS.Component in_component) |
Appends the supplied Component into this object. Same as operator+= function. More... | |
HPS.ComponentPath | Append (HPS.ComponentPath in_path) |
Appends the supplied key into this object. Same as operator+= function. More... | |
HPS.ComponentPath | Append (HPS.Component[] in_components) |
Appends the supplied key into this object. Same as operator+= function. More... | |
ComponentPath () | |
Creates an uninitialized Component path that refers to no database objects. More... | |
ComponentPath (HPS.Component[] in_components) | |
Creates a new ComponentPath object based on the supplied path. More... | |
ComponentPath (HPS.ComponentPath in_that) | |
Copies in_that into this component path. More... | |
override void | Dispose () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.ComponentPath in_that) |
Check if the source ComponentPath is equivalent to this object. More... | |
HPS.Component[] | GetComponents () |
Gets the components defining this ComponentPath. More... | |
override int | GetHashCode () |
HPS.KeyPath[] | GetKeyPaths () |
Gets the KeyPath objects corresponding to this ComponentPath. These key paths will include all possible paths which include the path components and all Canvas, Layout and View paths which include the Model which contains the path components. More... | |
HPS.KeyPath[] | GetKeyPaths (HPS.Canvas in_canvas, ulong in_layer) |
Gets the KeyPath objects corresponding to this ComponentPath which are included by the specified Canvas and layer. More... | |
HPS.KeyPath[] | GetKeyPaths (HPS.Canvas in_canvas) |
Gets the KeyPath objects corresponding to this ComponentPath which are included by the specified Canvas and layer. More... | |
void | Hide (HPS.Canvas in_canvas, ulong in_layer) |
Hides this ComponentPath under the given Canvas in the specified layer. More... | |
void | Hide (HPS.Canvas in_canvas) |
Hides this ComponentPath under the given Canvas in the specified layer. More... | |
void | Highlight (HPS.Canvas in_canvas, HPS.HighlightOptionsKit in_options) |
Highlights this ComponentPath with the provided options under the given Canvas in layer zero. More... | |
void | Highlight (HPS.Canvas in_canvas, ulong in_layer, HPS.HighlightOptionsKit in_options) |
Highlights this ComponentPath with the provided options under the given Canvas in the specified layer. More... | |
bool | IsHidden (HPS.Canvas in_canvas, ulong in_layer) |
Indicates whether this ComponentPath under the given Canvas in the specified layer is hidden. Note that even if a path is hidden, it's possible that paths descending from this path may not be hidden. More... | |
bool | IsHidden (HPS.Canvas in_canvas) |
Indicates whether this ComponentPath under the given Canvas in the specified layer is hidden. Note that even if a path is hidden, it's possible that paths descending from this path may not be hidden. More... | |
void | Isolate (HPS.Canvas in_canvas, ulong in_layer) |
Shows only this ComponentPath and hides all other Component objects under the given Canvas in the specified layer. More... | |
void | Isolate (HPS.Canvas in_canvas) |
Shows only this ComponentPath and hides all other Component objects under the given Canvas in the specified layer. 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.ComponentPath in_that) |
Copies the supplied path into this object. More... | |
HPS.ComponentPath | SetComponents (HPS.Component[] in_components) |
Copies an array of components into this object. More... | |
void | Show (HPS.Canvas in_canvas, ulong in_layer) |
Shows this ComponentPath under the given Canvas in the specified layer. More... | |
void | Show (HPS.Canvas in_canvas) |
Shows this ComponentPath under the given Canvas in the specified layer. More... | |
void | Unhighlight (HPS.Canvas in_canvas, HPS.HighlightOptionsKit in_options) |
Unhighlights this ComponentPath with the provided options under the given Canvas in layer zero. More... | |
void | Unhighlight (HPS.Canvas in_canvas) |
Unhighlights this ComponentPath with the provided options under the given Canvas in layer zero. More... | |
void | Unhighlight (HPS.Canvas in_canvas, ulong in_layer, HPS.HighlightOptionsKit in_options) |
Unhighlights this ComponentPath with the provided options under the given Canvas in the specified layer. More... | |
void | Unhighlight (HPS.Canvas in_canvas, ulong in_layer) |
Unhighlights this ComponentPath with the provided options under the given Canvas in the specified layer. More... | |
![]() | |
override void | Dispose () |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
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... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. 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... | |
Static Public Member Functions | |
static void | Isolate (HPS.ComponentPath[] in_components_to_be_isolated, HPS.Canvas in_canvas, ulong in_layer) |
static void | Isolate (HPS.ComponentPath[] in_components_to_be_isolated, HPS.Canvas in_canvas) |
static bool | operator!= (HPS.ComponentPath a, HPS.ComponentPath b) |
static bool | operator== (HPS.ComponentPath a, HPS.ComponentPath b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
Detailed Description
The ComponentPath contains an array of components, organized from leaf to root. It allows the user to perform queries and operations along that path.
Constructor & Destructor Documentation
|
inline |
Creates an uninitialized Component path that refers to no database objects.
|
inline |
Creates a new ComponentPath object based on the supplied path.
- Parameters
-
in_components An array of components arranged from leaf to root.
|
inline |
Copies in_that into this component path.
Member Function Documentation
|
inline |
|
inline |
Appends the supplied key into this object. Same as operator+= function.
- Parameters
-
in_path The ComponentPath to be appended to this.
- Returns
- A reference to this object.
|
inline |
Appends the supplied key into this object. Same as operator+= function.
- Parameters
-
in_components The ComponentArray to be appended to this.
- Returns
- A reference to this object.
|
inline |
Check if the source ComponentPath is equivalent to this object.
- Parameters
-
in_that The source ComponentPath to compare to this object.
- Returns
- true if the objects are equivalent, false otherwise.
|
inline |
Gets the components defining this ComponentPath.
- Returns
- The components defining this ComponentPath.
|
inline |
|
inline |
|
inline |
|
inline |
Hides this ComponentPath under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to hide the ComponentPath. in_layer The layer under the provided Canvas in which to hide the ComponentPath.
|
inline |
Hides this ComponentPath under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to hide the ComponentPath.
|
inline |
Highlights this ComponentPath with the provided options under the given Canvas in layer zero.
- Parameters
-
in_canvas The Canvas in which to perform the highlight. in_options The options to use to perform the highlight.
|
inline |
Highlights this ComponentPath with the provided options under the given Canvas in the specified layer.
|
inline |
Indicates whether this ComponentPath under the given Canvas in the specified layer is hidden. Note that even if a path is hidden, it's possible that paths descending from this path may not be hidden.
- Parameters
-
in_canvas The Canvas in which to check whether the specified path is hidden. in_layer The layer under the provided Canvas in which to check whether the specified path is hidden.
- Returns
- true if this path is hidden, false otherwise.
|
inline |
Indicates whether this ComponentPath under the given Canvas in the specified layer is hidden. Note that even if a path is hidden, it's possible that paths descending from this path may not be hidden.
- Parameters
-
in_canvas The Canvas in which to check whether the specified path is hidden.
- Returns
- true if this path is hidden, false otherwise.
|
inline |
Shows only this ComponentPath and hides all other Component objects under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to isolate the ComponentPath. in_layer The layer under the provided Canvas in which to isolate the ComponentPath.
|
inline |
Shows only this ComponentPath and hides all other Component objects under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to isolate the ComponentPath.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
|
inline |
Copies the supplied path into this object.
- Parameters
-
in_that The source of the copy.
|
inline |
Copies an array of components into this object.
- Parameters
-
in_components The source array, assumed to be arranged from leaf to root.
- Returns
- A reference to this object.
|
inline |
Shows this ComponentPath under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to show the ComponentPath. in_layer The layer under the provided Canvas in which to show the ComponentPath.
|
inline |
Shows this ComponentPath under the given Canvas in the specified layer.
- Parameters
-
in_canvas The Canvas in which to show the ComponentPath.
|
inline |
Unhighlights this ComponentPath with the provided options under the given Canvas in layer zero.
- Parameters
-
in_canvas The Canvas in which to perform the unhighlight. in_options The options to use to perform the unhighlight.
|
inline |
Unhighlights this ComponentPath with the provided options under the given Canvas in layer zero.
- Parameters
-
in_canvas The Canvas in which to perform the unhighlight.
|
inline |
Unhighlights this ComponentPath with the provided options under the given Canvas in the specified layer.
|
inline |
Unhighlights this ComponentPath with the provided options under the given Canvas in the specified layer.
The documentation for this class was generated from the following file:
- internals/hps_sprk/source/cs/HPS.ComponentPath.cs