Base template class for list properties.
Definition at line 868 of file fbproperties.h.
#include <fbproperties.h>
Public Member Functions | |
FBPropertyBaseList () | |
Constructor. | |
~FBPropertyBaseList () | |
Destructor. | |
FBPropertyBaseList (HIObject pParent, const char *pName) | |
Constructor. | |
virtual int | Add (tType pItem)=0 |
Add a property to the list. | |
virtual tType | operator[] (int pIndex)=0 |
[] operator overload. | |
virtual int | Find (tType pItem) |
Locate a property in the list. | |
virtual int | Remove (tType pItem) |
Remove pItem from the list. | |
virtual tType | GetAt (int pIndex) |
Get a property at pIndex . |
FBPropertyBaseList | ( | ) | [inline] |
~FBPropertyBaseList | ( | ) | [inline] |
FBPropertyBaseList | ( | HIObject | pParent, |
const char * | pName | ||
) | [inline] |
Constructor.
pParent | Parent for property list. |
pName | Name of property list. |
Definition at line 883 of file fbproperties.h.
:FBPropertyBasicList( pParent, pName ) {}
virtual int Add | ( | tType | pItem | ) | [pure virtual] |
Add a property to the list.
pItem | Property to add. |
Implemented in FBPropertyListAnimationNode, FBPropertyListCommPort, FBPropertyListModelMarkerOptical, FBPropertyListRigidBodyMarkers, FBPropertyListScene, FBPropertyListTriggerGroup, FBPropertyListTrigger, FBPropertyListMotionClip, FBPropertyListTriggerBranch, and FBPropertyListTreeNode.
virtual tType operator[] | ( | int | pIndex | ) | [pure virtual] |
[] operator overload.
pIndex | Index of property to access. |
pIndex
. Implemented in FBPropertyListConsoleChannel, FBPropertyListFCurveKey, FBPropertyListAnimationNode, FBPropertyListCommPort, FBPropertyListManipulator, FBPropertyListMotionClip, FBPropertyListMarkerSegment, FBPropertyListOpticalSegment, FBPropertyListOpticalGap, FBPropertyListModelMarkerOptical, FBPropertyListRigidBodyMarkers, FBPropertyListRigidBody, FBPropertyListDeviceOpticalMarker, FBPropertyListScene, FBPropertyListTriggerGroup, FBPropertyListTrigger, FBPropertyListMotionClip, FBPropertyListTriggerBranch, and FBPropertyListTreeNode.
virtual int Find | ( | tType | pItem | ) | [inline, virtual] |
Locate a property in the list.
pItem | Property to find in the list. |
pItem
can be found. Definition at line 913 of file fbproperties.h.
{ int Index; for(Index=0; Index<GetCount(); Index++ ) { if( operator[](Index)==pItem ) { return Index; } } return -1; }
virtual int Remove | ( | tType | pItem | ) | [inline, virtual] |
Remove pItem
from the list.
pItem | Property to remove from the list. |
Reimplemented in FBPropertyListAnimationNode, and FBPropertyListCommPort.
Definition at line 930 of file fbproperties.h.
virtual tType GetAt | ( | int | pIndex | ) | [inline, virtual] |
Get a property at pIndex
.
pIndex | Index to access. |
pIndex
. Definition at line 944 of file fbproperties.h.
{ return operator[](pIndex); }