#include <sprk.h>

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

Public Member Functions

bool Equals (SprocketPath const &in_that) const
Canvas GetCanvas () const
KeyPath GetKeyPath () const
Layout GetLayout () const
Model GetModel () const
View GetView () const
HPS::Type ObjectType () const
bool operator!= (SprocketPath const &in_that) const
SprocketPathoperator= (SprocketPath const &in_that)
bool operator== (SprocketPath const &in_that) const
void Set (SprocketPath const &in_that)
SprocketPath (Model const &in_model, View const &in_view, Layout const &in_layout, Canvas const &in_canvas)
SprocketPath (Canvas const &in_canvas, Layout const &in_layout, View const &in_view, Model const &in_model)
SprocketPath (Canvas const &in_canvas, size_t in_layer=0)
SprocketPath (SprocketPath const &that)
- Public Member Functions inherited from HPS::Sprocket
Sprocket (Sprocket &&in_that)
- Public Member Functions inherited from HPS::Object
virtual bool Empty () const
intptr_t GetClassID () const
intptr_t GetInstanceID () const
bool HasType (HPS::Type in_mask) const
Object (Object const &that)
 Object (Object &&in_that)
Objectoperator= (Object const &other_object)
Objectoperator= (Object &&in_that)
virtual void Reset ()
virtual HPS::Type Type () const

Static Public Attributes

static const HPS::Type staticType = HPS::Type::SprocketPath
- Static Public Attributes inherited from HPS::Object
static const HPS::Type staticType = HPS::Type::None

Additional Inherited Members

- Static Public Member Functions inherited from HPS::Object
template<typename T >
static intptr_t ClassID ()

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()

Canvas HPS::SprocketPath::GetCanvas ( ) const

Returns the Canvas associated with this SprocketPath

◆ GetKeyPath()

KeyPath HPS::SprocketPath::GetKeyPath ( ) const

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.

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

◆ GetLayout()

Layout HPS::SprocketPath::GetLayout ( ) const

Returns the Layout associated with this SprocketPath

◆ GetModel()

Model HPS::SprocketPath::GetModel ( ) const

Returns the Model associated with this SprocketPath

◆ GetView()

View HPS::SprocketPath::GetView ( ) const

Returns the View associated with this SprocketPath

◆ ObjectType()

HPS::Type HPS::SprocketPath::ObjectType ( ) const

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).

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: