IOLink C# 1.16.1
Loading...
Searching...
No Matches
IOLink.ViewOriginExtension Class Reference
Inheritance diagram for IOLink.ViewOriginExtension:
IOLink.Extension

Public Member Functions

 ViewOriginExtension (global::System.IntPtr cPtr, bool cMemoryOwn)
 
virtual ulong Uid ()
 
virtual uint ParentCount ()
 
virtual ViewOriginExtension Parent (uint idx)
 
virtual ViewDataOrigin DataOrigin ()
 
virtual string DisplayName ()
 
string ToString ()
 String representation of the extension.
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (ViewOriginExtension obj)
 
static ViewOriginExtension Cast (Extension extension)
 Upcast a generic extension to this specific type.
 

Static Public Attributes

static readonly uint EXTENSION_ID = IOLinkPINVOKE.ViewOriginExtension_EXTENSION_ID_get()
 Identifier used to load the extension using the View::extension method.
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Extension used to access view's origins if it exists. Views can be created from scratch, but also from one or many other views. This extension provides methods which allow to build the dependency tree of current view. It also helps to retrieve information to know data origin and to identify a view between others.

Member Function Documentation

◆ Cast()

static ViewOriginExtension IOLink.ViewOriginExtension.Cast ( Extension  extension)
inlinestatic

Upcast a generic extension to this specific type.

Parameters
extensionThe extension to cast.
Returns
The upcasted extension. This will be null if no upcasting is possible.

◆ DataOrigin()

virtual ViewDataOrigin IOLink.ViewOriginExtension.DataOrigin ( )
inlinevirtual

Returns the data origin of current view

Exceptions
Errorif data origin is not available

◆ DisplayName()

virtual string IOLink.ViewOriginExtension.DisplayName ( )
inlinevirtual

Returns the name of the current view to display

Exceptions
Errorif display name is not available

◆ Dispose()

override void IOLink.ViewOriginExtension.Dispose ( bool  disposing)
inlineprotectedvirtual

Reimplemented from IOLink.Extension.

◆ Parent()

virtual ViewOriginExtension IOLink.ViewOriginExtension.Parent ( uint  idx)
inlinevirtual

Returns, for the given index, the viewOrigin extension of the parent used to create the current view.

Parameters
idxindex of parent to retrieve
Exceptions
Errorif the index is out of range
Returns
a ViewOrigin extension which cannot be null

◆ ParentCount()

virtual uint IOLink.ViewOriginExtension.ParentCount ( )
inlinevirtual

Returns the count of parents used to create the current view.

Returns
count of view's parents

◆ Uid()

virtual ulong IOLink.ViewOriginExtension.Uid ( )
inlinevirtual

Returns an unique identifier for current view

Returns
view identifier

The documentation for this class was generated from the following file: