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
F
 Fail, Reflector
 FileInputStream, FileInputStream
 FileOutputStream, FileOutputStream
 Find, StringPool
 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
 Fragment
 Fragment)const, PropertyPath::Write(string
 FromConstOpaque, Variant
 FromConstRef, Variant
 FromIndex, StringBlock
 FromOpaque, Variant
 FromRef, Variant
 FromStaticValue, Variant
 FromString, Variant
 FromValue, Variant
 Function(name), Dynamic
 Function(protected), Function
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
 GetType
H
 HasKey, MapProperty
I
 IncRef, JavaScriptContext
 Index, BlockString
 IsArray, PropertyPath
 IsArrayData, PropertyPath
 IsConstMethod, Function
 IsData, PropertyPath
 IsDatum, PropertyPath
 IsMap, PropertyPath
 IsMapData, PropertyPath
 IsMethod, Function
 IsOpaque, PropertyPath
 IsRef, PropertyPath
 ItemType, ArrayProperty
J
 JavaScriptContext, JavaScriptContext
K
 KeyType, MapProperty
L
 length
 Literal, StringPool
 Load, StringBlock
 LoadFile
 LoadTypes, Type
void Fail()
Flag an error condition on this Reflector.
FileInputStream(std::FILE *file) : mFile(file)
FileOutputStream(std::FILE *file) : mFile(file)
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.
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.
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)
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
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.
template<typename T> void IncRef(*object) const
Increments the reference count on a pointer that the java runtime knows about.
int Index() const
bool IsArray() const
check if this path result is an array property.
bool IsArrayData() const
check if this path result is an array data property.
virtual bool IsConstMethod() const = 0
Checks if this function can be called with a const “this” pointer.
bool IsData() const
check if this path result is a Data property (not ref, array, map...)
bool IsDatum() const
check if this path result is not an array or map, (may be Data or Ref).
bool IsMap() const
check if this path result is a map property.
bool IsMapData() const
check if this path result is a map data property.
bool IsMethod() const
Checks if this function is a member function, and needs a “this” pointer to be called.
bool IsOpaque() const
check if this path result is an Opaque property (just a Property::Serialize function with no associated structure or Type.
bool IsRef() const
check if this path result is a Ref, ArrayRef, or MapRef property
virtual Type *ItemType() const = 0
returns the type of the items in the property.
JavaScriptContext(
   const JavaScriptRuntime & =  JavaScriptRuntime::SharedRuntime()
)
virtual const Type *KeyType() const = 0
Retrieves the type of keys represented by this map property.
size_type length() const
the number of non-nul chars in this string.
size_type length() const
the current length of the string.
SharedString Literal(const ConstString &)
void Load(const Fragment &data)
Copies the data into the StringBlock.
template<typename Type> bool LoadFile(Type &data,
string::ConstString filename)
Saves “data” into a file using a StandardDeserializer.
static Type *LoadTypes()
Initializes all types which have been static initialized.
Close