List of scene objects.
This list is a more generic container often used as object properties. The types of actual object that it can contain can be specialised.
Definition at line 467 of file fbcomponent.h.
#include <fbcomponent.h>
Public Member Functions |
|
FBPropertyListObject () | |
Constructor. |
|
virtual int | GetCount () |
Get the object count. |
|
virtual int | Add (FBComponent *pObject) |
Add an object at the end of the list.
|
|
virtual int | SetAt (int pIndex, FBComponent *pObject) |
Replace an existing entry at a specific
index. |
|
virtual void | RemoveAt (int pIndex) |
Remove an object at a specific index.
|
|
virtual int | InsertAt (int pIndex, FBComponent *pObject) |
Insert an object at a specific index.
|
|
virtual void | Clear () |
Clears the content of the list. |
|
virtual void | SetSingleConnect (bool pSingleConnect) |
Set if the connection is single or multiple.
|
|
virtual int | GetSingleConnect () |
Get if the connection support only one
connection. |
|
void | SetFilter (int pInternalClassId) |
Set the filter connections to the property
list (UI only). |
|
int | GetFilter () |
Get the filter class Id for the property
list (UI only). |
|
virtual FBComponent * | operator[] (int pIndex) |
Get the object at pIndex. |
|
virtual FBComponent * | GetAt (int pIndex) |
Get the Component at pIndex.
|
Constructor.
virtual int GetCount | ( | ) | [virtual] |
virtual FBComponent* operator[] | ( | int | pIndex | ) | [virtual] |
Get the object at pIndex.
pIndex | Index of the object to query. |
Reimplemented from FBPropertyListComponentBase.
virtual FBComponent* GetAt | ( | int | pIndex | ) | [virtual] |
Get the Component at pIndex.
pIndex | Index of Component to get a handle on. |
Reimplemented from FBPropertyListComponent.
virtual int Add | ( | FBComponent * | pObject | ) | [virtual] |
Add an object at the end of the list.
pObject | Object to add to list. |
Reimplemented from FBPropertyListComponentBase.
virtual int SetAt | ( | int | pIndex, |
FBComponent * | pObject | ||
) | [virtual] |
Replace an existing entry at a specific index.
pIndex | Index of the object that should be replaced. |
pObject | Object to insert in the list. |
virtual void RemoveAt | ( | int | pIndex | ) | [virtual] |
Remove an object at a specific index.
pIndex | Index of the object that should be removed. |
Reimplemented from FBPropertyListComponentBase.
virtual int InsertAt | ( | int | pIndex, |
FBComponent * | pObject | ||
) | [virtual] |
Insert an object at a specific index.
pIndex | Index where the object should be inserted. |
pObject | Object to insert in the list. |
virtual void Clear | ( | ) | [virtual] |
Clears the content of the list.
virtual void SetSingleConnect | ( | bool | pSingleConnect | ) | [virtual] |
Set if the connection is single or multiple.
pSingleConnect | set to true for only one connection allowed. |
virtual int GetSingleConnect | ( | ) | [virtual] |
Get if the connection support only one connection.
void SetFilter | ( | int | pInternalClassId | ) |
Set the filter connections to the property list (UI only).
pInternalClassId | used for filtering connections; should be taken from object::GetInternalClassId() (-1 equal no filter). |
int GetFilter | ( | ) |
Get the filter class Id for the property list (UI only).