- The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   | Project Page   

VCF::DelegateProperty Class Reference

#include <vcf/FoundationKit/Property.h>

Inheritance diagram for VCF::DelegateProperty:

VCF::AbstractDelegateProperty List of all members.

Public Types

typedef Delegate &(Object::* DelegateMethod )(void)
 Typedef for a getter function for returning a delegate.

Public Member Functions

 DelegateProperty (const String &delegateClassName, const String &delegateName, DelegateMethod delegateMethod)
virtual ~DelegateProperty ()
String getDelegateClassName ()
String getDelegateName ()
virtual bool isAbstract ()=0
virtual DelegatePropertyclone ()=0
DelegategetDelegateInstance (Object *source=NULL)
 Get the delegate for the source.
void setSource (Object *source)
void setSource (const Object *source)
ObjectgetSource ()
uint32 sizeOf () const

Protected Attributes

String delegateClassName_
String delegateName_
DelegateMethod delegateMethod_

Member Typedef Documentation

typedef Delegate&(Object::* VCF::DelegateProperty::DelegateMethod)(void)

Typedef for a getter function for returning a delegate.

Constructor & Destructor Documentation

VCF::DelegateProperty::DelegateProperty const String delegateClassName,
const String delegateName,
DelegateMethod  delegateMethod

virtual VCF::DelegateProperty::~DelegateProperty  )  [inline, virtual]

Member Function Documentation

virtual DelegateProperty* VCF::DelegateProperty::clone  )  [pure virtual]

Implemented in VCF::AbstractDelegateProperty.

String VCF::DelegateProperty::getDelegateClassName  )  [inline]

Delegate* VCF::DelegateProperty::getDelegateInstance Object source = NULL  )  [inline]

Get the delegate for the source.

String VCF::DelegateProperty::getDelegateName  )  [inline]

Object* VCF::DelegateProperty::getSource  )  [inline]

virtual bool VCF::DelegateProperty::isAbstract  )  [pure virtual]

Implemented in VCF::AbstractDelegateProperty.

void VCF::DelegateProperty::setSource const Object source  )  [inline]

void VCF::DelegateProperty::setSource Object source  )  [inline]

uint32 VCF::DelegateProperty::sizeOf  )  const [inline]

Member Data Documentation

String VCF::DelegateProperty::delegateClassName_ [protected]

DelegateMethod VCF::DelegateProperty::delegateMethod_ [protected]

String VCF::DelegateProperty::delegateName_ [protected]

Object* VCF::DelegateProperty::source_ [protected]

The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information