# IRsList Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | AddNode ([in] IRsNode *pNode)
HRESULT | RemoveNode ([in] IRsNode *pNode)
HRESULT | GetCount ([out] RtUlong *count)
HRESULT | GetNode ([in] RtUlong index,[out] IRsNode **pNode)
HRESULT | FindNode ([in]IRsNode *pNode)
HRESULT | RemoveAll (void)

## Detailed Description

IRsList interface provides access to list of objects.

## Member Function Documentation

HRESULT IRsList::AddNode | ( | [in] IRsNode * | pNode | ) |

Adds object to list.

Parameters:

  | pNode | [in] Object to be added.

HRESULT IRsList::RemoveNode | ( | [in] IRsNode * | pNode | ) |

Remove node from list.

Parameters:

  | pNode | [in] Object to be removed.

HRESULT IRsList::GetCount | ( | [out] RtUlong * | count | ) |

Returns number of objects in list.

Parameters:

  | count | [out] Number of objects in list.

HRESULT IRsList::GetNode | ( | [in] RtUlong | index,
|  | [out] IRsNode ** | pNode |
| ) |  |  |

Returns i-th object from list.

Parameters:

  | index | [in] Position of object in list.
  | pNode | [out] Object.

HRESULT IRsList::FindNode | ( | [in] IRsNode * | pNode | ) |

Look up of given object.

Parameters:

  | pNode | [in] Object to look up.

Returns:
  S_OK if object is found, S_FALSE if not.

HRESULT IRsList::RemoveAll | ( | void |  | ) |

Remove all objects from list.