Crazy Eddie's GUI System 0.8.7
|
Class that holds information about a property and it's required initial value. More...
#include <PropertyInitialiser.h>
Public Member Functions | |
PropertyInitialiser (const String &property, const String &value) | |
Constructor. | |
void | apply (PropertySet &target) const |
Apply this property initialiser to the specified target CEGUI::PropertySet object. | |
void | setTargetPropertyName (const String &name) |
Sets the name of the property targetted by this PropertyInitialiser. | |
const String & | getTargetPropertyName () const |
Return the name of the property targetted by this PropertyInitialiser. | |
void | setInitialiserValue (const String &value) |
Sets the value string to be set on the property targetted by this PropertyInitialiser. | |
const String & | getInitialiserValue () const |
Return the value string to be set on the property targetted by this PropertyInitialiser. | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this PropertyInitialiser to out_stream. | |
Class that holds information about a property and it's required initial value.
Constructor.
property | String holding the name of the property targetted by this PropertyInitialiser. |
value | String holding the value to be set by this PropertyInitialiser. |
void CEGUI::PropertyInitialiser::apply | ( | PropertySet & | target | ) | const |
Apply this property initialiser to the specified target CEGUI::PropertySet object.
target | CEGUI::PropertySet object to be initialised by this PropertyInitialiser. |
Return the value string to be set on the property targetted by this PropertyInitialiser.
Return the name of the property targetted by this PropertyInitialiser.
Sets the value string to be set on the property targetted by this PropertyInitialiser.
Sets the name of the property targetted by this PropertyInitialiser.
name | String object holding the name of the target property. |
void CEGUI::PropertyInitialiser::writeXMLToStream | ( | XMLSerializer & | xml_stream | ) | const |
Writes an xml representation of this PropertyInitialiser to out_stream.
xml_stream | Stream where xml data should be output. |