Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
M
 MapItem, PropertyPath
 MutableString, MutableString
N
 Name
 NameMap, EnumType
 NextTypeToLoad, Type
 NumParameters, Function
O
 Ok, Reflector
 Opaque, Variant
 opaque_cast
 OpaqueCast
 OpaqueSerialize, Reflector
 operator bool, Reflector
 operator Deserializer, Reflector
 operator Serializer, Reflector
 operator(const T*,T*), Reflector
 operator=, Variant
 operator==, SerializationTag
 operator|, Reflector
P
 Parameters, Parameters
 ParameterType, Function
 Params, Parameters
 Parent, Type
 PreviousContext, Context<Type>
 Properties, PersistentClass
 Property, Persistent
 PropertyPath, PropertyPath
R
 read, Parameters
 Read
 Read(mutable_string)const, PropertyPath
 Read(Reflector&)const, PropertyPath
 Read(string), PropertyPath
 ReadData
 ReadEnum, EnumType
 ReadProperty, PersistentClass
 ReadRefProperty, PersistentClass
 ReadStringProperty, PersistentClass
 ReadValue
 ref, Parameters
 Ref, Variant
 RefData
 Reference
 Reference(const Dynamic*object), StandardSerializer
 ReflectConstructor, PersistentClass::DescriptionHelper
 Reflector, Reflector
 RefValue, Variant
 RegisterConversion, Type
 RegisterFunction
 RegisterFunction(template), JavaScriptContext
 Resizable, ArrayProperty
 Resize, ArrayProperty
 ResolvePropertyPath, PersistentClass
 rfind, Fragment
 Run, Application
PropertyPath MapItem(string::Fragment key) const
gets a map item as a property path, requires IsMap() to be true.
MutableString(char *buffer,
size_type buffersize,
size_type &length)
Constructs a mutable string.
const char *Name() const
const char *Name() const
The registered name of this type.
const ToNameMap &NameMap() const
Type *NextTypeToLoad() const
The next type in a NULL terminated chain of types to load in Type::LoadTypes.
int NumParameters() const
The number of parameters passed to this function.
bool Ok() const
true if an error has not been flagged on this reflector.
void *Opaque() const
template<typename T> inline void *opaque_cast(*value)
Turns a typed pointer (of type Type *) into an opaque pointer (a void *), for use with the class Signature::TheClass.
template<typename T> static void *OpaqueCast(*ptr)
Casts a type represented by this Class to a void *, used by Serialize.
template<typename Type> static void *OpaqueCast(Type *ptr)
Casts a type represented by this Type to a void *, used by Serialize.
template<typename T> static inline void OpaqueSerialize(const *in,
*out,
Reflector &reflector)
Helper function for invoking Class::Serialize which takes void * arguments which need to be normalized with opaque_cast so the implementation can cast back safely.
operator bool() const
convenient alias for Ok
operator Deserializer &() const
returns the deserializer represented by this Reflector
operator Serializer &() const
returns the serializer represented by this Reflector
template<typename T> BoundReflector<T> operator()(const T *in, T *out)
a Reflector bound to an object which can serialize pointer-to-members bidirectionally.
const Variant &operator=(const Variant &other)
copies another variant
bool operator ==(const SerializationTag &tag) const
Checks if the other tag has the same type and text.
template<typename T> Reflector &operator |(&data)
Serializes or Deserializes data.
Parameters(const Function *fun)
Builds a parameter list for a function.
const Type *ParameterType(int index) const
Returns the type of parameter at index.
Variant *Params() const
Returns the parameters as an array of Variant.
Type *Parent() const
Gets the parent (base class) of this Type.
Type *PreviousContext() const
The context that was active when the current context was constructed.
Const accessor for the class PropertyMap.
PropertyPath Property(string::Fragment property_path)
Returns a PropertyPath which can be used to access the named property.
PropertyPath()
default constructor.
FunctionParameter read(const string::Fragment &text,  
int index =  0)
Deserialize text using a StandardSerializer.
virtual size_type Read(void *buffer,
size_type bufmax) = 0
Reads binary data.
string::String Read() const
bool Read(string::MutableString) const
void Read(Reflector &reflector) const
bool Read(string::String&) const
virtual bool ReadData(const void *,
unsigned item_index,
Variant &) const = 0
Reads the array and stores the value into the Variant.
virtual bool ReadData(const void *,
Variant &) const = 0
Reads this property with the Variant value.
virtual bool ReadData(const void *in,
const Variant &key,
Variant &value) const = 0
Reads the value for key.
int ReadEnum(const void *)
bool ReadProperty(const Persistent *,
string::Fragment path,
string::String &value) const
Reads a property using a StandardSerializer to format the data.
bool ReadRefProperty(const Persistent *,
string::Fragment path,
Dynamic *&value) const
Reads a reference property (a property representing a Dynamic *).
bool ReadStringProperty(const Persistent *,
string::Fragment path,
string::String &value) const
template<typename T> bool ReadValue(&data) const
Easy way to read data templated on data type.
template<typename T> bool ReadValue(&value) const
Reads this variant as typeof(value).
FunctionParameter ref(Variant &value,  
int index =  0)
Assign (mutable) params (held in a variant) to parameter, using a chainable method.
bool Ref(const Variant &value)
Assigns a reference to the variant.
virtual bool RefData(const void *in,
void *out,
unsigned item_index,
Variant &) const = 0
Refs the Variant to the array index.
virtual bool RefData(const void *,
void *,
Variant &) const = 0
Refs this property into the Variant value.
virtual bool Reference(Dynamic *object) = 0
References a Dynamic *.
virtual bool Reference(const Dynamic *object) = 0
Adds the object to the list of objects known to this serializer.
bool Reference(const Dynamic *object)
Writes “@<<count>>” where count is the number of references made so far.
inline void ReflectConstructor() const
This function is available in the reflection definition.
Reflector(Serializer &)
Builds a serializing reflector
template<typename T> bool RefValue(&value)
Template version of Ref.
void RegisterConversion(const Type *from,
void (*)(void *, const void *))
Registers a cast from type from to this type.
bool RegisterFunction(string::ConstString name,  
const function::Function *function,  
bool take_ownership =  false)
Registers a function in this context.
void RegisterFunction(const char *name,
const function::Function *)
Adds the function to the function map.
template<typename FunctionType> bool RegisterFunction(
   string::ConstString name,
   FunctionType function
)
Like RegisterFunction, but takes a regular C function pointer, creates the function::Function object wrapper and marks it for deletion.
virtual bool Resizable(const void *) const = 0
Checks if the array/vector represented by this property is resizable.
virtual bool Resize(void *,
unsigned size) const = 0
Resizes the array/vector in the object.
static bool ResolvePropertyPath(PropertyPath &result,
const Persistent *,
string::Fragment path)
size_type rfind(const char *s,  
size_type pos =  npos,
size_type length =  npos) const
Finds a string in the string, in reverse.
virtual int Run(int argc,
char *argv[]) = 0
Close