27 #ifndef _CEGUIPropertyDefinitionBase_h_
28 #define _CEGUIPropertyDefinitionBase_h_
30 #include "CEGUI/String.h"
46 const String& initialValue,
47 bool redrawOnWrite,
bool layoutOnWrite,
52 const String& getPropertyName()
const;
53 void setPropertyName(
const String& name);
55 const String& getInitialValue()
const;
56 void setInitialValue(
const String& value);
58 const String& getHelpString()
const;
59 void setHelpString(
const String& help);
61 bool isRedrawOnWrite()
const;
62 void setRedrawOnWrite(
bool value);
64 bool isLayoutOnWrite()
const;
65 void setLayoutOnWrite(
bool value);
67 const String& getEventFiredOnWrite()
const;
68 void setEventFiredOnWrite(
const String& eventName);
70 const String& getEventNamespace()
const;
71 void setEventNamespace(
const String& eventNamespace);
81 virtual void writeDefinitionXMLToStream(
XMLSerializer& xml_stream)
const;
97 virtual void writeDefinitionXMLElementType(
XMLSerializer& xml_stream)
const = 0;
109 virtual void writeDefinitionXMLAttributes(
XMLSerializer& xml_stream)
const;
114 bool d_writeCausesRedraw;
115 bool d_writeCausesLayout;
116 String d_eventFiredOnWrite;