Class CustomAttributesTreeIteratorHelper
Inheritance
CustomAttributesTreeIteratorHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CustomAttributesTreeIteratorHelper
Methods
Assign(ComWrapper<ICamApiCustomAttributesTreeIterator>, ComWrapper<ICamApiCustomAttributesTreeIterator>)
Copy state of iterator from another one.
Declaration
public static void Assign(this ComWrapper<ICamApiCustomAttributesTreeIterator> it, ComWrapper<ICamApiCustomAttributesTreeIterator> source)
Parameters
CurrentNode(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Current node of iterator.
Declaration
public static ComWrapper<ICamApiCustomAttributesTreeNode> CurrentNode(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
GetCopy(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Create a new copy of myself with identical state.
Declaration
public static ComWrapper<ICamApiCustomAttributesTreeIterator> GetCopy(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
HideUndefinedNodes(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Skip node of attribute if it is not defined in the one of libraries attached to the application.
Declaration
public static bool HideUndefinedNodes(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
IsEqual(ComWrapper<ICamApiCustomAttributesTreeIterator>, ComWrapper<ICamApiCustomAttributesTreeIterator>)
Check if iterators have equal state.
Declaration
public static bool IsEqual(this ComWrapper<ICamApiCustomAttributesTreeIterator> it, ComWrapper<ICamApiCustomAttributesTreeIterator> other)
Parameters
Returns
MoveToChild(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Change CurrentNode to child of current node.
Returns false if no child inside and does not change current node.
Declaration
public static bool MoveToChild(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
MoveToParent(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Change CurrentNode to parent of current node.
Returns false if no parent above and does not change current node.
Declaration
public static bool MoveToParent(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
MoveToSibling(ComWrapper<ICamApiCustomAttributesTreeIterator>)
Change CurrentNode to next sibling of current node.
Returns false if no sibling nodes and does not change current node.
Declaration
public static bool MoveToSibling(this ComWrapper<ICamApiCustomAttributesTreeIterator> it)
Parameters
Returns
SetHideUndefinedNodes(ComWrapper<ICamApiCustomAttributesTreeIterator>, bool)
Skip node of attribute if it is not defined in the one of libraries attached to the application.
Declaration
public static void SetHideUndefinedNodes(this ComWrapper<ICamApiCustomAttributesTreeIterator> it, bool value)
Parameters