a2dVoidPtrProperty Class Reference
[a2dPropObject holds property objects]

property to hold a void pointer type variable to be associated with a a2dPropObject More...

#include <gen.h>

Inheritance diagram for a2dVoidPtrProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dVoidPtrProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dVoidPtrProperty (const a2dPropertyIdVoidPtr *id, void *value)
 a2dVoidPtrProperty (const a2dVoidPtrProperty &other)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (void *value)
void * GetValue () const
virtual void * GetVoidPtr () const
 when a2dVoidPtrProperty, return its value else assert
void ** GetValuePtr ()
virtual wxString StringRepresentation () const
virtual wxString StringValueRepresentation () const
virtual void DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite)
 Save settings.
virtual void DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts)
 Load settings.

Static Public Member Functions

static a2dVoidPtrPropertyCreatePropertyFromString (const a2dPropertyIdVoidPtr *id, const wxString &value)

Protected Attributes

void * m_value


Detailed Description

property to hold a void pointer type variable to be associated with a a2dPropObject

Definition at line 1557 of file gen.h.


Member Function Documentation

a2dVoidPtrProperty * a2dVoidPtrProperty::CreatePropertyFromString ( const a2dPropertyIdVoidPtr id,
const wxString &  value 
) [static]

Construct a new property object from a string If this is not appropriate, this may return NULL

Definition at line 1096 of file gen.cpp.

wxString a2dVoidPtrProperty::StringRepresentation (  )  const [virtual]

Convert the property to a string, used to serialize class. Override to define it for your properties.

Reimplemented from a2dNamedProperty.

Definition at line 1132 of file gen.cpp.

wxString a2dVoidPtrProperty::StringValueRepresentation (  )  const [virtual]

Convert the property value to a string, used to serialize class. Override to define it for your properties.

Reimplemented from a2dNamedProperty.

Definition at line 1137 of file gen.cpp.


The documentation for this class was generated from the following files:
a2dVoidPtrProperty Class Reference -- Tue Aug 31 18:36:48 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation