Crazy Eddie's GUI System  0.8.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::TplWindowProperty< C, T > Class Template Reference
+ Inheritance diagram for CEGUI::TplWindowProperty< C, T >:
+ Collaboration diagram for CEGUI::TplWindowProperty< C, T >:

Public Member Functions

 TplWindowProperty (const String &name, const String &help, const String &origin, typename TplProperty< C, T >::Setter setter, typename TplProperty< C, T >::GetterFunctor getter, typename TplProperty< C, T >::Helper::pass_type defaultValue=T(), bool writesXML=true)
 
virtual Propertyclone () const
 
- Public Member Functions inherited from CEGUI::TplProperty< C, T >
 TplProperty (const String &name, const String &help, const String &origin, Setter setter, GetterFunctor getter, typename Helper::pass_type defaultValue=T(), bool writesXML=true)
 
virtual bool isReadable () const
 Returns whether the property is readable. More...
 
virtual bool isWritable () const
 Returns whether the property is writable. More...
 
- Public Member Functions inherited from CEGUI::TypedProperty< T >
 TypedProperty (const String &name, const String &help, const String &origin="Unknown", typename Helper::pass_type defaultValue=T(), bool writesXML=true)
 
virtual String get (const PropertyReceiver *receiver) const
 Return the current value of the Property as a String. More...
 
virtual void set (PropertyReceiver *receiver, const String &value)
 Sets the value of the property. More...
 
virtual void setNative (PropertyReceiver *receiver, typename Helper::pass_type value)
 native set method, sets the property given a native type More...
 
virtual
Helper::safe_method_return_type 
getNative (const PropertyReceiver *receiver) const
 native get method, returns the native type by copy More...
 
- Public Member Functions inherited from CEGUI::Property
 Property (const String &name, const String &help, const String &defaultValue="", bool writesXML=true, const String &dataType="Unknown", const String &origin="Unknown")
 Creates a new Property object. More...
 
virtual ~Property (void)
 Destructor for Property objects.
 
const StringgetHelp (void) const
 Return a String that describes the purpose and usage of this Property. More...
 
const StringgetName (void) const
 Return a the name of this Property. More...
 
const StringgetDataType (void) const
 Return string data type of this Property. More...
 
const StringgetOrigin (void) const
 Return string origin of this Property. More...
 
virtual bool isDefault (const PropertyReceiver *receiver) const
 Returns whether the property is at it's default value. More...
 
virtual String getDefault (const PropertyReceiver *receiver) const
 Returns the default value of the Property as a String. More...
 
virtual void writeXMLToStream (const PropertyReceiver *receiver, XMLSerializer &xml_stream) const
 Writes out an XML representation of this class to the given stream. More...
 
virtual bool doesWriteXML () const
 Returns whether the property writes to XML streams.
 
virtual void initialisePropertyReceiver (PropertyReceiver *) const
 function to allow initialisation of a PropertyReceiver.
 

Protected Member Functions

void setNative_impl (PropertyReceiver *receiver, typename TplProperty< C, T >::Helper::pass_type value)
  More...
 
TplProperty< C, T >
::Helper::safe_method_return_type 
getNative_impl (const PropertyReceiver *receiver) const
  More...
 

Additional Inherited Members

- Public Types inherited from CEGUI::TplProperty< C, T >
typedef PropertyHelper< T > Helper
 
typedef void(C::* Setter )(typename Helper::pass_type)
 
- Static Public Attributes inherited from CEGUI::Property
static const String XMLElementName
 
static const String NameXMLAttributeName
 
static const String ValueXMLAttributeName
 
- Protected Attributes inherited from CEGUI::TplProperty< C, T >
Setter d_setter
 
GetterFunctor d_getter
 

Member Function Documentation

template<class C, typename T>
TplProperty<C, T>::Helper::safe_method_return_type CEGUI::TplWindowProperty< C, T >::getNative_impl ( const PropertyReceiver receiver) const
inlineprotectedvirtual
template<class C, typename T>
void CEGUI::TplWindowProperty< C, T >::setNative_impl ( PropertyReceiver receiver,
typename TplProperty< C, T >::Helper::pass_type  value 
)
inlineprotected