a2dDoubleProperty Class Reference
[a2dPropObject holds property objects]

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

#include <gen.h>

Inheritance diagram for a2dDoubleProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dDoubleProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dDoubleProperty (const a2dPropertyIdDouble *id, double value)
 a2dDoubleProperty (const a2dDoubleProperty &other)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (double value)
double GetValue () const
virtual double GetDouble () const
 when a2dDoubleProperty, return its value else assert
double * GetValuePtr ()
double & GetValueRef ()
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 a2dDoublePropertyCreatePropertyFromString (const a2dPropertyIdDouble *id, const wxString &value)

Protected Attributes

double m_value


Detailed Description

property to hold a double type variable to be associated with a a2dPropObject

Definition at line 1942 of file gen.h.


Member Function Documentation

a2dDoubleProperty * a2dDoubleProperty::CreatePropertyFromString ( const a2dPropertyIdDouble 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 1762 of file gen.cpp.

wxString a2dDoubleProperty::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 1800 of file gen.cpp.

wxString a2dDoubleProperty::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 1807 of file gen.cpp.


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