Interface ICamApiCustomAttributesTreeIterator
Custom attributes tree iterator to visit attribute nodes
Namespace: CAMAPI.CustomAttributes
Assembly: CAMAPI.CustomAttributes.dll
Syntax
[Guid("3DA0CD2C-33A9-47FA-9AFA-3A4AF42B3B95")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiCustomAttributesTreeIterator
Properties
CurrentNode
Current node of iterator
Declaration
ICamApiCustomAttributesTreeNode CurrentNode { get; }
Property Value
| Type | Description |
|---|---|
| ICamApiCustomAttributesTreeNode |
HideUndefinedNodes
Skip node of attribute if it is not defined in the one of libraries attached to the application
Declaration
bool HideUndefinedNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Assign(ICamApiCustomAttributesTreeIterator)
Copy state of iterator from another one
Declaration
void Assign(ICamApiCustomAttributesTreeIterator source)
Parameters
| Type | Name | Description |
|---|---|---|
| ICamApiCustomAttributesTreeIterator | source |
GetCopy()
Create a new copy of myself with identical state
Declaration
ICamApiCustomAttributesTreeIterator GetCopy()
Returns
| Type | Description |
|---|---|
| ICamApiCustomAttributesTreeIterator |
IsEqual(ICamApiCustomAttributesTreeIterator)
Check if iterators have eual state
Declaration
bool IsEqual(ICamApiCustomAttributesTreeIterator iterator)
Parameters
| Type | Name | Description |
|---|---|---|
| ICamApiCustomAttributesTreeIterator | iterator |
Returns
| Type | Description |
|---|---|
| bool |
MoveToChild()
Change CurrentNode to child of current node
Declaration
bool MoveToChild()
Returns
| Type | Description |
|---|---|
| bool | Returns false if no child inside and does not change current node |
MoveToParent()
Change CurrentNode to parent of current node
Declaration
bool MoveToParent()
Returns
| Type | Description |
|---|---|
| bool | Returns false if no parent above and does not change current node |
MoveToSibling()
Change CurrentNode to next sibling of current node
Declaration
bool MoveToSibling()
Returns
| Type | Description |
|---|---|
| bool | Returns false if no sibling nodes and does not change current node |