Arbor 3: FSM & BT Graph Editor 3.3.0

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Properties | List of all members
NodeList< T > Class Template Reference

Node list More...

Inheritance diagram for NodeList< T >:

## Public Member Functions
int | IndexOf (T node)
| Get Node index. More...
T | GetFromID (int nodeID)
| Gets Node from the node identifier. More...
void | Add (T node)
| Add a node. More...
bool | Remove (T node)
| Remove a node. More...

## Properties
int | count`[get]`
| Get a count of Node. More...
T | this[int index]`[get]`
| Get Node from index. More...

## Detailed Description

Node list

Template Parameters

  T | Node type

Type Constraints

  T | : | Node |

## Member Function Documentation

void Add | ( | T | node | ) |

Add a node.

Parameters

  node | The node to be added.

T GetFromID | ( | int | nodeID | ) |

Gets Node from the node identifier.

Parameters

  nodeID | The node identifier.

Returns
  Found Node. Returns null if not found.

int IndexOf | ( | T | node | ) |

Get Node index.

Parameters

  node | Node

Returns
  Index. If not, it returns -1.

bool Remove | ( | T | node | ) |

Remove a node.

Parameters

  node | The node to be removed.

Returns
  Returns true if removed.

## Property Documentation

int count
| get

Get a count of Node.

T this[int index]
| get

Get Node from index.

Parameters

  index | Index