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())
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);
Definition: XMLEnumHelper.h:37
String getProperty(const String &name) const
Gets the current value of the specified Property.
String class used within the GUI system.
Definition: String.h:64
bool empty(void) const
Returns true if the String is empty.
Definition: String.h:633
void clear(void)
Removes all data from the String.
Definition: String.h:2348
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:151
Class used to create XML Document.
Definition: XMLSerializer.h:87
XMLSerializer & closeTag(void)
Close the current tag.
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1