AbstractPropertyAccess Class Reference

Encapsulates methods for accessing property data. More...

Inheritance diagram for AbstractPropertyAccess:

Inheritance graph
[legend]
Collaboration diagram for AbstractPropertyAccess:

Collaboration graph
[legend]
List of all members.

Constructors & Destructors

 AbstractPropertyAccess (const char *name)
virtual ~AbstractPropertyAccess ()

Interface

virtual bool set (const Variant &data)=0
virtual Variant get () const=0
virtual bool set (u_int i, const Variant &data)=0
virtual Variant get (u_int i) const=0
const char * name () const
bool isWritable () const
bool isVector () const
Variant::types type () const
virtual Propertizedobject ()=0
virtual AbstractPropertyAccessclone () const=0

Protected Attributes

char * namep
Variant::types typep
bool writable
bool vectorv

Detailed Description

Details here


Constructor & Destructor Documentation

AbstractPropertyAccess ( const char *  name  )  [inline]

Constructor

virtual ~AbstractPropertyAccess (  )  [inline, virtual]

Destructor


Member Function Documentation

virtual bool set ( const Variant data  )  [pure virtual]

Set the value of property

Implemented in PropertyAccess, and VectorPropertyAccess.

virtual Variant get (  )  const [pure virtual]

Return the value of property

Implemented in PropertyAccess, and VectorPropertyAccess.

virtual bool set ( u_int  i,
const Variant data 
) [pure virtual]

Set the i-th value of Vector property

Implemented in PropertyAccess, and VectorPropertyAccess.

virtual Variant get ( u_int  i  )  const [pure virtual]

Return the i-th value of Vector property

Implemented in PropertyAccess, and VectorPropertyAccess.

const char* name (  )  const [inline]

Return the name of property

bool isWritable (  )  const [inline]

Return true if the property is writable

bool isVector (  )  const [inline]

Return true if the property is a Vector value

Variant::types type (  )  const [inline]

Return the type of property

virtual Propertized* object (  )  [pure virtual]

Return the object whom this AbstractPropertyAccess is refered to

Implemented in PropertyAccess, and VectorPropertyAccess.

virtual AbstractPropertyAccess* clone (  )  const [pure virtual]

Clone this

Implements Clonable.

Implemented in PropertyAccess, and VectorPropertyAccess.


Member Data Documentation

char* namep [protected]

Name of property

Variant::types typep [protected]

Type of property

bool writable [protected]

True if the property is writable

bool vectorv [protected]

True if the property is a Vector of values


The documentation for this class was generated from the following file:
BerliOS Developer Logo Valid XHTML 1.0 Transitional Valid CSS!