a2dFileNameProperty Class Reference
[a2dPropObject holds property objects]

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

#include <gen.h>

Inheritance diagram for a2dFileNameProperty:

Inheritance graph
[legend]
Collaboration diagram for a2dFileNameProperty:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dFileNameProperty (const a2dPropertyIdFileName *id, const wxFileName &filename)
 a2dFileNameProperty (const a2dFileNameProperty &other)
virtual a2dNamedPropertyClone (a2dObject::CloneOptions options) const
 Virtual copy constructor.
virtual void Assign (const a2dNamedProperty &other)
 Virtual assignment operator.
void SetValue (const wxFileName &filenameObject)
wxFileName GetValue () const
wxFileName * GetValuePtr ()
wxFileName & GetValueRef ()
void SetFileName (const wxFileName &filenameObject)
wxFileName GetFileName ()
wxFileName & GetFileNameRef ()
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 a2dFileNamePropertyCreatePropertyFromString (const a2dPropertyIdFileName *id, const wxString &value)

Protected Attributes

wxFileName m_filenameObject


Detailed Description

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

Definition at line 2095 of file gen.h.


Member Function Documentation

a2dFileNameProperty * a2dFileNameProperty::CreatePropertyFromString ( const a2dPropertyIdFileName 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 2072 of file gen.cpp.

wxString a2dFileNameProperty::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 2117 of file gen.cpp.

wxString a2dFileNameProperty::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 2124 of file gen.cpp.


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