a2dInt32Property Class Reference
[a2dPropObject holds property objects]

property to hold a 2 byte integer type variable to be associated with a a2dPropObject More...

#include <gen.h>

Inheritance diagram for a2dInt32Property:

Inheritance graph
[legend]
Collaboration diagram for a2dInt32Property:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dInt32Property (const a2dPropertyIdInt32 *id, wxInt32 value)
 a2dInt32Property (const a2dInt32Property &other)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (wxInt32 value)
wxInt32 GetValue () const
virtual wxInt32 GetInt32 () const
 when a2dInt32Property, return its value else assert
wxInt32 * GetValuePtr ()
wxInt32 & 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 a2dInt32PropertyCreatePropertyFromString (const a2dPropertyIdInt32 *id, const wxString &value)

Protected Attributes

wxInt32 m_value


Detailed Description

property to hold a 2 byte integer type variable to be associated with a a2dPropObject

Definition at line 1842 of file gen.h.


Member Function Documentation

a2dInt32Property * a2dInt32Property::CreatePropertyFromString ( const a2dPropertyIdInt32 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 1586 of file gen.cpp.

wxString a2dInt32Property::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 1624 of file gen.cpp.

wxString a2dInt32Property::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 1631 of file gen.cpp.


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