a2dDateTimeProperty Class Reference
[a2dPropObject holds property objects]

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

#include <gen.h>

Inheritance diagram for a2dDateTimeProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dDateTimeProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dDateTimeProperty (const a2dPropertyIdDateTime *id, const wxDateTime &datetime)
 a2dDateTimeProperty (const a2dDateTimeProperty &other)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (const wxDateTime &datetimeObject)
wxDateTime GetValue () const
wxDateTime * GetValuePtr ()
wxDateTime & GetValueRef ()
void SetDateTime (const wxDateTime &datetimeObject)
wxDateTime GetDateTime ()
wxDateTime & GetDateTimeRef ()
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 a2dDateTimePropertyCreatePropertyFromString (const a2dPropertyIdDateTime *id, const wxString &value)

Protected Attributes

wxDateTime m_datetimeObject


Detailed Description

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

Definition at line 2149 of file gen.h.


Member Function Documentation

a2dDateTimeProperty * a2dDateTimeProperty::CreatePropertyFromString ( const a2dPropertyIdDateTime 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 2167 of file gen.cpp.

wxString a2dDateTimeProperty::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 2216 of file gen.cpp.

wxString a2dDateTimeProperty::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 2223 of file gen.cpp.


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