Webmaster  |  Imprint 
Platinum
Platinum C++ Framework
Main  |  License  |  Documentation  |  Download  |  Support 

Reflectable Class Reference
[Reflection]

Make objects reflectable.

#include <Pt/Reflex/Reflectable.h>

Inheritance diagram for Reflectable:

Target

List of all members.

Public Member Functions

 Reflectable (const std::string &name)
const std::string & objectName () const
virtual Pt::Any property (const std::string &name) const
virtual void setProperty (const std::string &name, const Pt::Any &value)
void invoke (const std::string &name, const Any *args, size_t argCount)
Pt::Any call (const std::string &name, const Any *args, size_t argCount)
PropertyInfopropertyInfo (const std::string &name)
CallableInfomethodInfo (const std::string &name)
const CallableInfomethodInfo (const std::string &name) const
PropertyIterator propertiesBegin ()
PropertyIterator propertiesEnd ()
ConstPropertyIterator propertiesBegin () const
ConstPropertyIterator propertiesEnd () const
MethodIterator methodsBegin ()
MethodIterator methodsEnd ()
ConstMethodIterator methodsBegin () const
ConstMethodIterator methodsEnd () const
template<typename R, typename Parent, typename Object>
void registerProperty (const std::string &name, Parent &parent, R(Object::*getter)() const)
template<typename R, typename Parent, typename Object>
void registerProperty (const std::string &name, Parent &parent, R(Object::*getter)())
template<typename R1, typename R2, typename A, typename Parent, typename Object>
void registerProperty (const std::string &name, Parent &parent, R1(Object::*getter)() const, R2(Object::*setter)(A type))
template<typename R1, typename R2, typename A, typename Parent, typename Object>
void registerProperty (const std::string &name, Parent &parent, R1(Object::*getter)(), R2(Object::*setter)(A type))
template<typename R, typename Parent>
void registerReadProperty (const std::string &name, Parent &parent, PropertyValue< R > &value)
template<typename T, typename R, typename A, typename Parent, typename Object>
void registerProperty (const std::string &name, Parent &parent, PropertyValue< T > &value, R(Object::*setter)(A type))
template<typename R, typename ParentT>
void registerMethod (const std::string &name, ParentT &parent, R(ParentT::*memFunc)())
template<class ParentT, typename A1>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1))
template<class ParentT, typename A1>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1) const )
template<class ParentT, typename A1, typename A2>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1, A2))
template<class ParentT, typename A1, typename A2, typename A3>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1, A2, A3))
template<class ParentT, typename A1, typename A2, typename A3, typename A4>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1, A2, A3, A4))
template<class ParentT, typename A1, typename A2, typename A3, typename A4, typename A5>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1, A2, A3, A4, A5))
template<class ParentT, typename A1, typename A2, typename A3, typename A4, typename A5, typename A6, typename A7, typename A8>
void registerMethod (const std::string &name, ParentT &parent, void(ParentT::*memFunc)(A1, A2, A3, A4, A5, A6, A7, A8))
void registerCallableInfo (CallableInfo *ci)
void deserialize (const SerializationInfo &si)
void serialize (SerializationInfo &si) const

Protected Member Functions

 Reflectable (const Reflectable &other)
Reflectableoperator= (const Reflectable &other)
void registerPropertyInfo (PropertyInfo *ci)
void include (Reflectable &r)

Classes

class  ConstMethodIterator
class  ConstPropertyIterator
class  MethodIterator
class  PropertyIterator

Copyright © 2003-2007 The Pt Development Team
Pt 1.0