class ReflectExport( reflect ) PersistentClass : public Class
This class enables serialization and stores property maps.
PersistentClass | This class enables serialization and stores property maps. |
Types | |
PropertyMap | A map of properties for the class by name. |
Functions | |
Construct | |
Destruct | A pointer to a Persistent constructed with this Class. |
Create | A new instance of the class (if it’s not Abstract) |
AddProperty | Adds the property to the property map. |
Properties | Const accessor for the class PropertyMap. |
Properties | Accessor for the class PropertyMap. |
FindProperty | Finds a property in this class’ PropertyMap or a parent class. |
FindProperty | Finds a property in this class’ PropertyMap or a parent class. |
ResolvePropertyPath | |
ResolvePropertyPath | |
ResolvePropertyPath | |
WriteProperty | Writes a property using a StandardDeserializer to parse the data. |
WriteStringProperty | |
ReadProperty | Reads a property using a StandardSerializer to format the data. |
ReadStringProperty | |
WriteRefProperty | Writes a reference property (a property representing a Dynamic *). |
ReadRefProperty | Reads a reference property (a property representing a Dynamic *). |
GetPropertyType | |
SerializeProperties | |
DeserializeProperties | |
Serialize | |
PersistentClass:: |
Const accessor for the class PropertyMap.
PropertyMap &Properties()
Accessor for the class PropertyMap.
const Property *FindProperty( string:: Fragment name ) const
Finds a property in this class’ PropertyMap or a parent class.
const Property *FindProperty( string:: SharedString name ) const
Finds a property in this class’ PropertyMap or a parent class. The SharedString name should be in the global string stack.
bool WriteProperty( Persistent * , string:: Fragment path, string:: Fragment value ) const
Writes a property using a StandardDeserializer to parse the data.
bool ReadProperty( const Persistent * , string:: Fragment path, string:: String & value ) const
Reads a property using a StandardSerializer to format the data.
bool WriteRefProperty( Persistent * , string:: Fragment path, Dynamic * value ) const
Writes a reference property (a property representing a Dynamic *).
bool ReadRefProperty( const Persistent * , string:: Fragment path, Dynamic *& value ) const
Reads a reference property (a property representing a Dynamic *).
This class enables serialization and stores property maps.
class ReflectExport( reflect ) PersistentClass : public Class
A map of properties for the class by name.
typedef std::map<string::SharedString, const Property *> PropertyMap
Persistent *Construct( void * ) const
A pointer to a Persistent constructed with this Class.
void Destruct( Persistent * ) const
A new instance of the class (if it’s not Abstract)
Persistent *Create() const
Accessor for the class PropertyMap.
PropertyMap &Properties()
Finds a property in this class’ PropertyMap or a parent class.
const Property *FindProperty( string:: Fragment name ) const
static bool ResolvePropertyPath( PropertyPath & result, const Persistent * , string:: Fragment path )
Writes a property using a StandardDeserializer to parse the data.
bool WriteProperty( Persistent * , string:: Fragment path, string:: Fragment value ) const
A basic ascii text deserializer.
class ReflectExport( reflect ) StandardDeserializer : public Deserializer
bool WriteStringProperty( Persistent * , string:: Fragment path, string:: Fragment value ) const
Reads a property using a StandardSerializer to format the data.
bool ReadProperty( const Persistent * , string:: Fragment path, string:: String & value ) const
A basic ascii text serializer.
class ReflectExport( reflect ) StandardSerializer : public Serializer
bool ReadStringProperty( const Persistent * , string:: Fragment path, string:: String & value ) const
Writes a reference property (a property representing a Dynamic *).
bool WriteRefProperty( Persistent * , string:: Fragment path, Dynamic * value ) const
This class defines the core interface for all runtime type identification (RTTI) in reflect.
class ReflectExport( reflect ) Dynamic
Reads a reference property (a property representing a Dynamic *).
bool ReadRefProperty( const Persistent * , string:: Fragment path, Dynamic *& value ) const
const Type *GetPropertyType( const Persistent * , string:: Fragment path ) const
void SerializeProperties( const Persistent * , Reflector & ) const
void DeserializeProperties( Persistent * , Reflector & ) const
void Serialize( const void * in, void * out, Reflector & reflector ) const
class ReflectExport( reflect ) PersistentClass::PropertyIterator
A PropertyPath is a generic proxy for a data in an object.
class ReflectExport( reflect ) PropertyPath