More...

Inheritance diagram for HPS.SprocketPath:
HPS.Sprocket HPS.Object

Public Member Functions

override void Dispose ()
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.SprocketPath in_that)
 
HPS.Canvas GetCanvas ()
 Returns the Canvas associated with this SprocketPath More...
 
override int GetHashCode ()
 
HPS.KeyPath GetKeyPath ()
 Creates a key path from the model segment up to the canvas window key, including all segments and include keys along the way. This can be used to facilitate highlighting or gathering of net attributes. More...
 
HPS.Layout GetLayout ()
 Returns the Layout associated with this SprocketPath More...
 
HPS.Model GetModel ()
 Returns the Model associated with this SprocketPath More...
 
HPS.View GetView ()
 Returns the View associated with this SprocketPath More...
 
override HPS.Type ObjectType ()
 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). More...
 
void Set (HPS.SprocketPath in_that)
 
 SprocketPath (HPS.Model in_model, HPS.View in_view, HPS.Layout in_layout, HPS.Canvas in_canvas)
 
 SprocketPath (HPS.Canvas in_canvas, HPS.Layout in_layout, HPS.View in_view, HPS.Model in_model)
 
 SprocketPath (HPS.Canvas in_canvas, ulong in_layer)
 
 SprocketPath (HPS.Canvas in_canvas)
 
 SprocketPath (HPS.SprocketPath that)
 
- Public Member Functions inherited from HPS.Sprocket
 Sprocket (HPS.Sprocket in_that)
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. 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...
 
virtual 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 bool operator!= (HPS.SprocketPath a, HPS.SprocketPath b)
 
static bool operator== (HPS.SprocketPath a, HPS.SprocketPath b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The SprocketPath class is a utility class which can be used to automatically obtain a KeyPath from the Model to the Canvas.

Member Function Documentation

◆ GetCanvas()

HPS.Canvas HPS.SprocketPath.GetCanvas ( )
inline

Returns the Canvas associated with this SprocketPath

◆ GetKeyPath()

HPS.KeyPath HPS.SprocketPath.GetKeyPath ( )
inline

Creates a key path from the model segment up to the canvas window key, including all segments and include keys along the way. This can be used to facilitate highlighting or gathering of net attributes.

Returns
A key path from the model segment to the canvas window key.

◆ GetLayout()

HPS.Layout HPS.SprocketPath.GetLayout ( )
inline

Returns the Layout associated with this SprocketPath

◆ GetModel()

HPS.Model HPS.SprocketPath.GetModel ( )
inline

Returns the Model associated with this SprocketPath

◆ GetView()

HPS.View HPS.SprocketPath.GetView ( )
inline

Returns the View associated with this SprocketPath

◆ ObjectType()

override HPS.Type HPS.SprocketPath.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.


The documentation for this class was generated from the following file:
  • internals/hps_sprk/source/cs/HPS.SprocketPath.cs