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
F
 Fail, Reflector
 Features
 FileInputStream
 FileOutputStream
 Find
 find_first_of, Fragment
 find_last_of, Fragment
 FindFunction, ObjectType
 FindProperty, PersistentClass
 FindString, StringBlock
 FindType, Type
 FindType(char*), Type
 FirstTypeToLoad, Type
 ForEachKey, MapProperty
 format, MutableString
 FoundSharedString
 Fragment
 Fragment)const, PropertyPath::Write(string
 FromConstOpaque, Variant
 FromConstRef, Variant
 FromIndex, StringBlock
 FromOpaque, Variant
 FromRef, Variant
 FromStaticValue, Variant
 FromString, Variant
 FromValue, Variant
 Function
 Function(name), Dynamic
 Function(protected), Function
 Functions
mFunctions, ObjectType
 FunctionSignature.hpp
G
 GC, JavaScriptContext
 GetArrayItemRefClass, PropertyPath
 GetArrayItemType, PropertyPath
 GetClass, Dynamic
 GetContext, Context<Type>
 GetDataType, PropertyPath
 GetDeserializer, Reflector
 GetJSContext, JavaScriptContext
 GetMapKeyType, PropertyPath
 GetMapRefValueClass, PropertyPath
 GetMapValueType, PropertyPath
 GetPropertyType, PersistentClass
 GetRefClass, PropertyPath
 GetRuntime, JavaScriptRuntime
 GetSerializer, Reflector
mGetter
 GetType
H
 HasKey, MapProperty
 Helper Functions
void Fail()
Flag an error condition on this Reflector.
Reflect is a complete C++ RTTI framework.
class FileInputStream : public InputStream
A FILE * based InputStream
FileInputStream(std::FILE *file) : mFile(file)
class FileOutputStream : public OutputStream
A FILE * based OutputStream
FileOutputStream(std::FILE *file) : mFile(file)
Find only, constructs an empty string if not found.
SharedString Find(const Fragment &) const
size_type find_first_of(const Fragment &,  
size_type pos =  0) const
Finds any of a set of characters in the string.
size_type find_last_of(char ch,  
size_type pos =  npos) const
Finds a character in the string, in reverse.
const function::Function *FindFunction(string::Fragment name) const
Finds a function in this class’ FunctionMap or a parent class.
const Property *FindProperty(string::Fragment name) const
Finds a property in this class’ PropertyMap or a parent class.
BlockString FindString(const Fragment &) const
static Type *FindType(string::FoundSharedString)
Retrieves a type by name.
static Type *FindType(const char *)
Retrieves a type by name.
static Type *FirstTypeToLoad()
The first class in a NULL terminated chain of classes to load in the next Type::LoadTypes.
virtual void ForEachKey(const void *in,  
void (*)(const Variant &key, void *ctx),  
void *ctx =  0) const = 0
Calls a callback with every key in the map.
size_type format(const char *format,
 ...)
prints into the string, like printf.
class FoundSharedString : public SharedString
A shared string that is always found, to allow easy construction/passing without worrying about adding new strings.
class ReflectExport(reflect) Fragment
A Fragment is the most basic string type in the reflect string suite.
operator Fragment() const
Casts this string to a Fragment
Fragment(const char *s)
Constructs a piece string from a character pointer to NUL terminated data.
operator Fragment() const
Casts this string to a Fragment
bool Write(string::Fragment) const
static Variant FromConstOpaque(const Type *type,
const void *opaque)
Builds a variant from an Type *, opaque pair.
template<typename T> static Variant FromConstRef(const &value)
Builds a Variant which wraps a const value.
BlockString FromIndex(int index) const
static Variant FromOpaque(const Type *type,
void *opaque)
Builds a variant from an Type *, opaque pair.
template<typename T> static Variant FromRef(&value)
Builds a Variant which can references a value.
template<typename T> static Variant FromStaticValue(const &value)
Creates a variant holding a copy of the value, without using reflection at all.
bool FromString(string::Fragment)
Deserializes with the StandardSerializer, at least a Type must be bound.
template<typename T> static Variant FromValue(const &value)
Creates a variant holding a copy of the value.
class ReflectExport(reflect) Function
A function object provides a virtual inteface to a function.
const function::Function *Function(string::Fragment function_name) const
Returns a Function which represents the named function.
Function(const char *name,
const Type *object_type,
ParameterTypeFun arg_type_fun,
const Type *result_type)
FunctionCollector Functions
Used to help register functions in a reflection definition.
FunctionMap *mFunctions
The map of functions registered on this type.
Generated template bindings for reflecting functions.
void GC() const
Runs the garbage collector.
const Class *GetArrayItemRefClass() const
the type of item pointers in an array of Dynamic *, requires IsArray() and IsRef() to be true.
const Type *GetArrayItemType() const
the type of items in an array, requires IsArray() to be true.
virtual ClassType *GetClass() const
The dynamic Class of the castable.
static Type *GetContext()
The current (most recently constructed) active context.
const Type *GetDataType() const
the data class of the property.
Deserializer &GetDeserializer() const
returns the deserializer represented by this Reflector
JSContext *GetJSContext() const
Returns the native context pointer.
const Type *GetMapKeyType() const
The type of item representing map keys.
const Class *GetMapRefValueClass() const
The type of item representing map values.
const Type *GetMapValueType() const
The type of item representing map values.
const Type *GetPropertyType(const Persistent *,
string::Fragment path) const
const Class *GetRefClass() const
the type of reference of the property.
JSRuntime *GetRuntime() const
Serializer &GetSerializer() const
returns the serializer represented by this Reflector
const MemberType &(ObjectType::*mGetter)() const
void (ObjectType::*mGetter)(MemberType &) const
MemberType (ObjectType::*mGetter)() const
NormalizedType GetType() const
retrieves the type of this path as an enum.
const Type *GetType() const
Check the type of this variant.
virtual bool HasKey(const void *in,
const Variant &key) const = 0
Checks if the map has an element for the given key.
These functions help automate the common uses of the Signature type.
Close