Public Member Functions

FBPropertyListModel Class Reference

Search for all occurrences

Detailed Description

List: Model

Definition at line 116 of file fbmodel.h.

#include <fbmodel.h>

Inheritance diagram for FBPropertyListModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int  Add (HFBModel pItem)
  Add a model to the property list.
int  Remove (HFBModel pItem)
  Remove model pItem from property list.
virtual void  RemoveAt (int pIndex)
  Remove the model at pIndex.
FBModel operator[] (int pIndex)
  Get the model at pIndex.
virtual int  GetCount ()
  Get the number of models.
virtual FBComponent GetAt (int pIndex)
  Get the Component at pIndex.

Member Function Documentation

int Add ( HFBModel  pItem )

Add a model to the property list.

Parameters:
pItem Model to add to list.
Returns:
Number of items in list after operation.
int Remove ( HFBModel  pItem )

Remove model pItem from property list.

Parameters:
pItem Model to remove from list.
Returns:
The index of the removed element. Returns -1 if the element was not part of the list.
virtual void RemoveAt ( int  pIndex ) [virtual]

Remove the model at pIndex.

Parameters:
pIndex Index of model to remove.

Reimplemented from FBPropertyListComponentBase.

FBModel* operator[] ( int  pIndex )

Get the model at pIndex.

Parameters:
pIndex Index of model to get.
Returns:
Model at pIndex.

Reimplemented from FBPropertyListComponentBase.

virtual int GetCount ( ) [virtual]

Get the number of models.

Returns:
Number of models.

Reimplemented from FBPropertyListComponentBase.

virtual FBComponent* GetAt ( int  pIndex ) [inline, virtual]

Get the Component at pIndex.

Parameters:
pIndex Index of Component to get a handle on.
Returns:
Component at pIndex.

Implements FBPropertyListComponentBase.

Definition at line 147 of file fbmodel.h.

{ return (FBComponent*)operator[](pIndex); }

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

FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel
FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel FBPropertyListModel