Public Member Functions | Friends

FBPropertyManager Class Reference

This reference page is linked to from the following overview topics: FBProperty - Object Properties.


Search for all occurrences

Detailed Description

Property Manager.

The property manager exists in all FBComponent objects, and contains an array of all the registered properties. These properties may be SDK properties, internal properties or both.

Definition at line 1100 of file fbproperties.h.

#include <fbproperties.h>

List of all members.

Public Member Functions

 FBPropertyManager ()
 Constructor.
 ~FBPropertyManager ()
 Destructor.
int Add (FBProperty *Property)
 Add a property to the property manager.
FBPropertyoperator[] (int pIndex)
 Overloaded [] operator.
int GetCount ()
 Get the number of properties stored in property manager.
FBPropertyFind (const char *pPropertyName, bool pMultilangLookup=true)
 Find a property, based on its name.
int Remove (FBProperty *pProperty)
 Remove a property.
void AddToCache (FBProperty *pProperty)
void RemoveFromCache (KProperty *pProperty)
FBPropertyFindInCache (KProperty *pProperty)

Friends

class FBComponent
class FBVisualComponent

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

int Add ( FBProperty Property)

Add a property to the property manager.

Parameters:
PropertyHandle to property to add.
Returns:
Index in list where Property was added.
FBProperty* operator[] ( int  pIndex)

Overloaded [] operator.

Access the property at pIndex.

Parameters:
pIndexIndex of property to access.
Returns:
Property stored at pIndex.
int GetCount ( )

Get the number of properties stored in property manager.

Returns:
Number of properties in manager.
FBProperty* Find ( const char *  pPropertyName,
bool  pMultilangLookup = true 
)

Find a property, based on its name.

Parameters:
pPropertyNameName of property to look for.
pMultilangLookupWhen searching, indicate if the name lookup should also be done on the property name as shown in the GUI. (default = true)
Returns:
Handle to property found.
int Remove ( FBProperty pProperty)

Remove a property.

Parameters:
pPropertyProperty to remove.
Returns:
Index where property was found.
void AddToCache ( FBProperty pProperty)

Add a property to PropertyCache.

Parameters:
pPropertyProperty to add to cache.
void RemoveFromCache ( KProperty *  pProperty)

Remove a property from PropertyCache.

Parameters:
pPropertyProperty to remove from cache.
FBProperty* FindInCache ( KProperty *  pProperty)

Find a property in PropertyCache.

Parameters:
pPropertyProperty to find.
Returns:
Property from cache.

Friends And Related Function Documentation

friend class FBComponent [friend]

Definition at line 1177 of file fbproperties.h.

friend class FBVisualComponent [friend]

Definition at line 1178 of file fbproperties.h.


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

FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager
FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager FBPropertyManager