FBPropertyBase Class Template Reference

FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase FBPropertyBase
Inheritance diagram for FBPropertyBase:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class tType, FBPropertyType pPT>
class FBPropertyBase< tType, pPT >

Definition at line 488 of file fbproperties.h.


Public Member Functions

  FBPropertyBase ()
  Constructor.
  FBPropertyBase (const FBPropertyBase< tType, pPT > &pValue)
  Constructor.
  ~FBPropertyBase ()
  Destructor.
FBPropertyBase Init (void *pParent, char *pName, tType(*pGet)(void *)=NULL, void(*pSet)(void *, tType)=NULL)
  Initialization function.
  operator tType () const
  Overloaded cast to tType operator.
virtual FBPropertyType  GetPropertyType () override
  Get the property's type.
void  SetPropertyValue (tType pValue)
  Set the value of the internal property.
tType  GetPropertyValue ()
  Get the value of the internal property.
virtual bool  IsReadOnly ()
  Is this class read-only? If there is an existing set function, this class is read/write, otherwise it is read-only.
virtual void  GetData (void *pData, int pSize, FBEvaluateInfo *pEvalInfo=NULL) const
  Get value.
virtual void  SetData (void *pData)
  Set value.
void  operator= (tType pValue)
  Overloaded = operator.

Protected Attributes

void(*  Set )(void *, tType)
  Set function pointer.
tType(*  Get )(void *)
  Get function pointer.

Constructor & Destructor Documentation

FBPropertyBase (  )  [inline]

Constructor.

Definition at line 497 of file fbproperties.h.

FBPropertyBase ( const FBPropertyBase< tType, pPT > &  pValue  )  [inline]

Constructor.

Parameters:
pValue  FBPropertyBase.

Definition at line 502 of file fbproperties.h.

~FBPropertyBase (  )  [inline]

Destructor.

Definition at line 505 of file fbproperties.h.


Member Function Documentation

FBPropertyBase* Init ( void *  pParent,
char *  pName,
tType(*)(void *)  pGet = NULL,
void(*)(void *, tType)  pSet = NULL  
) [inline]

Initialization function.

Parameters:
pParent  Parent object.
pName  Name of base enum.
pGet  Get function (default=NULL).
pSet  Set function (default=NULL).
Returns:
Pointer to this object.

Definition at line 516 of file fbproperties.h.

void operator= ( tType  pValue  )  [inline]

Overloaded = operator.

Set the value of the current object using the Set function.

Parameters:
pValue  Value to set for object.

Reimplemented in FBPropertyBaseEnum, and FBPropertyBaseComponent.

Definition at line 530 of file fbproperties.h.

Referenced by FBPropertyBaseComponent::FBPropertyBaseComponent(), and FBPropertyBaseComponent::operator=().

operator tType (  )  const [inline]

Overloaded cast to tType operator.

Get the value of the current object using Get fuction.

Returns:
tType cast of current object.

Reimplemented in FBPropertyBaseEnum, and FBPropertyBaseComponent.

Definition at line 537 of file fbproperties.h.

Referenced by FBPropertyBaseComponent::operator tType(), and FBPropertyBaseComponent::operator->().

virtual FBPropertyType GetPropertyType (  )  [inline, override, virtual]

Get the property's type.

Returns:
The property's type.

Reimplemented from FBProperty.

Definition at line 542 of file fbproperties.h.

void SetPropertyValue ( tType  pValue  )  [inline]

Set the value of the internal property.

Parameters:
pValue  Value to set to internal property.

Definition at line 547 of file fbproperties.h.

tType GetPropertyValue (  )  [inline]

Get the value of the internal property.

Returns:
Property value.

Definition at line 558 of file fbproperties.h.

virtual bool IsReadOnly (  )  [inline, virtual]

Is this class read-only? If there is an existing set function, this class is read/write, otherwise it is read-only.

Returns:
true if it is read-only.

Reimplemented from FBProperty.

Definition at line 573 of file fbproperties.h.

virtual void GetData ( void *  pData,
int  pSize,
FBEvaluateInfo pEvalInfo = NULL  
) const [inline, virtual]

Get value.

Return values:
pValue  Value to fill with current object value.

Reimplemented from FBProperty.

Definition at line 578 of file fbproperties.h.

virtual void SetData ( void *  pData  )  [inline, virtual]

Set value.

Parameters:
pData  Integer to use to set.

Reimplemented from FBProperty.

Definition at line 597 of file fbproperties.h.


Member Data Documentation

void(* Set)(void *, tType) [protected]

Set function pointer.

tType(* Get)(void *) [protected]

Get function pointer.


Please send us your comments about this page.