PropertyAccess Class Template Reference

Template creation of actual PropertyAccess. More...

Inheritance diagram for PropertyAccess:

Inheritance graph
[legend]
Collaboration diagram for PropertyAccess:

Collaboration graph
[legend]
List of all members.

Constructors

 PropertyAccess (const char *name, Variant::types t, T *o, Variant(T::*g)(), bool(T::*s)(const Variant &)=0)

Interface

virtual Variant get () const
virtual bool set (const Variant &data)
virtual bool set (u_int, const Variant &)
virtual Variant get (u_int) const
virtual Propertizedobject ()
virtual PropertyAccessclone () const

Detailed Description

template<class T>
class nnfw::PropertyAccess< T >

you don't have to use it directly, it's automatically instanciated by Propertized's methods


Constructor & Destructor Documentation

PropertyAccess ( const char *  name,
Variant::types  t,
T *  o,
Variant(T::*)()  g,
bool(T::*)(const Variant &)  s = 0 
) [inline]

Constructor


Member Function Documentation

virtual Variant get (  )  const [inline, virtual]

return the value of property

Implements AbstractPropertyAccess.

virtual bool set ( const Variant data  )  [inline, virtual]

set the property

Warning:
It doesn't check is the property is writable or not; before calling this method check if the property is writable via isWritable() method

Implements AbstractPropertyAccess.

virtual bool set ( u_int  ,
const Variant  
) [inline, virtual]

It always return false

Implements AbstractPropertyAccess.

virtual Variant get ( u_int   )  const [inline, virtual]

It always return a Null Variant

Implements AbstractPropertyAccess.

virtual Propertized* object (  )  [inline, virtual]

Return the object whom this PropertyAccess is refered to

Implements AbstractPropertyAccess.

virtual PropertyAccess* clone (  )  const [inline, virtual]

Clone this

Implements AbstractPropertyAccess.


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