a2dProperty Class Reference
[a2dPropObject holds property objects]

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

#include <gen.h>

Inheritance diagram for a2dProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dProperty (const a2dPropertyIdRefObject *id, a2dObject *value)
 a2dProperty (const a2dProperty &other, a2dObject::CloneOptions options)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (a2dObject *value)
virtual a2dObjectGetRefObject () const
 when a2dProperty, return its value else assert
virtual a2dObjectGetRefObjectNA () const
 when a2dProperty, return its value else return NULL
a2dObjectGetValue () const
a2dObjectPtrGetValuePtr ()
a2dObjectPtrGetValueRef ()
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 a2dPropertyCreatePropertyFromString (const a2dPropertyIdRefObject *id, const wxString &value)

Protected Attributes

a2dObjectPtr m_value


Detailed Description

property to hold a a2dObjectPtr smart pointer type variable to be associated with a a2dPropObject

Definition at line 1640 of file gen.h.


Member Function Documentation

a2dProperty * a2dProperty::CreatePropertyFromString ( const a2dPropertyIdRefObject 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 1189 of file gen.cpp.

wxString a2dProperty::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 1249 of file gen.cpp.

wxString a2dProperty::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 1254 of file gen.cpp.


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