27 #ifndef _CEGUIFormattingSetting_h_
28 #define _CEGUIFormattingSetting_h_
30 #include "CEGUI/Window.h"
31 #include "CEGUI/falagard/XMLEnumHelper.h"
48 d_propertySource(property_name)
57 T
get(
const Window& wnd)
const
59 if (d_propertySource.
empty())
63 wnd.getProperty(d_propertySource));
70 d_propertySource.
clear();
80 const String& getPropertySource()
const
82 return d_propertySource;
86 void setPropertySource(
const String& property_name)
88 d_propertySource = property_name;
92 bool isFetchedFromProperty()
const
94 return !d_propertySource.
empty();
100 writeXMLTagToStream(xml_stream);
101 writeXMLAttributesToStream(xml_stream);
112 virtual void writeXMLAttributesToStream(
XMLSerializer& )
const
120 return d_value == rhs.d_value &&
121 d_propertySource == rhs.d_propertySource;
127 return !operator==(rhs);
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
bool empty(void) const
Returns true if the String is empty.
Definition: String.h:633
Definition: XMLEnumHelper.h:37
XMLSerializer & closeTag(void)
Close the current tag.
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
Class used to create XML Document.
Definition: XMLSerializer.h:85
void clear(void)
Removes all data from the String.
Definition: String.h:2348
String class used within the GUI system.
Definition: String.h:62