Crazy Eddies GUI System
0.6.2
|
Class that holds information about a property and it's required initial value. More...
Public Member Functions | |
PropertyInitialiser (const String &property, const String &value) | |
Constructor. More... | |
void | apply (PropertySet &target) const |
Apply this property initialiser to the specified target CEGUI::PropertySet object. More... | |
const String & | getTargetPropertyName () const |
Return the name of the property targetted by this PropertyInitialiser. More... | |
const String & | getInitialiserValue () const |
Return the value string to be set on the property targetted by this PropertyInitialiser. More... | |
void | writeXMLToStream (XMLSerializer &xml_stream) const |
Writes an xml representation of this PropertyInitialiser to out_stream. More... | |
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 | ( | CEGUI::PropertySet & | target | ) | const |
Apply this property initialiser to the specified target CEGUI::PropertySet object.
target | CEGUI::PropertySet object to be initialised by this PropertyInitialiser. |
References CEGUI::PropertySet::setProperty().
const String & CEGUI::PropertyInitialiser::getInitialiserValue | ( | ) | const |
Return the value string to be set on the property targetted by this PropertyInitialiser.
Referenced by CEGUI::Window::isPropertyAtDefault().
const String & CEGUI::PropertyInitialiser::getTargetPropertyName | ( | ) | const |
Return the name of the property targetted by this PropertyInitialiser.
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. |
References CEGUI::XMLSerializer::attribute(), CEGUI::XMLSerializer::closeTag(), and CEGUI::XMLSerializer::openTag().