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
C
 c_str
 Call(const method,by template param), Function
 Call(function), Function
 Call(method,by template param), Function
 Call(method,by variant), Function
 CallArgument, JavaScriptContext
 CallArgumentCount, JavaScriptContext
 CallArgumentText, JavaScriptContext
 CallArgumentValue, JavaScriptContext
 CallContext, JavaScriptContext
 CallInternal(protected), Function
 CallObjectType, Function
 CallReturn, JavaScriptContext
 CallReturnValue, JavaScriptContext
 CanConstRefAs, Variant
 CanConvertFrom, Type
 CanConvertFrom(template), Type
 CanReadAs, Variant
 CanRefAs, Variant
 CanWriteAs, Variant
 capacity, MutableString
 Cast, Class
 Check, Reflector
 Child, Type
 ClassifyParameter, Function
 compare, Fragment
 ConstOpaque, Variant
 ConstRef, Variant
 ConstRefValue, Variant
 Construct
 ConstString
 ConstString(default), ConstString
 ConvertToType, Variant
 ConvertValue, Type
 Copy, StringPool
 Create, PersistentClass
 CreateFunction
const char *c_str() const
A chararcter pointer to NUL terminated data.
const char *c_str() const
returns the string as a nul-terminated pointer to const char.
const char *c_str() const
a chararcter pointer to NUL terminated data.
const char *c_str() const
A chararcter pointer to NUL terminated data.
template<typename T> bool Call(const *object,  
const Parameters &params,  
Variant &result =  Variant::Void()) const
Calls a method with a statically typed, but const, “this” pointer.
bool Call(const Parameters &params,  
Variant &result =  Variant::Void()) const
Calls a non-method function without a “this” pointer.
template<typename T> bool Call(*object,  
const Parameters &params,  
Variant &result =  Variant::Void()) const
Calls a method with a statically typed “this” pointer.
bool Call(const Variant &object,  
const Parameters &params,  
Variant &result =  Variant::Void()) const
Calls this function with a variant object as self.
static bool CallArgument(int index,
Variant &variant)
Retrieves the argument index passed to the native function through a Variant.
static int CallArgumentCount()
Retrieves the number of arguments actually passed to the native function.
static const char *CallArgumentText(int index)
Retrieves the argument index as text (converted by javascript).
template<typename T> static bool CallArgumentValue(int index,
&value)
Retrieves the argument index as whatever (converted by Variant).
static const JavaScriptContext *CallContext()
Retrieves the current context from within a javascript call.
virtual bool CallInternal(const Variant &self,
Variant *args,
Variant &result) const = 0
const Type *CallObjectType() const
Returns the type of “this” pointer needed.
static bool CallReturn(Variant &value)
Sets the return value of a void native function by variant.
template<typename T> static bool CallReturnValue(const &value)
Sets the return value of a void native function by value.
bool CanConstRefAs(const Type *type) const
checks if this variant can be used as a const reference to type.
virtual bool CanConvertFrom(const Type *from) const
Checks if a cast from the specified type exists.
template<typename T> bool CanConvertFrom() const
Checks if a cast from the specified type exists.
bool CanReadAs(const Type *type) const
checks if this variant is convertable to type.
bool CanRefAs(const Type *type) const
checks if this variant can be used as a reference to type.
bool CanWriteAs(const Type *type) const
checks if this variant is convertable from type.
size_type capacity() const
the current capacity of the string.
Dynamic *Cast(Dynamic *object) const
The object cast to a Dynamic if it is a subclass of this, or NULL otherwise.
Reflector &Check(bool result)
Flag an error condition on this Reflector if result is false.
Type *Child() const
The first subclass of this class or NULL if there are no subclasses.
const Type *ClassifyParameter(int index,
bool &is_mutable) const
Returns the type of parameter at index, and changes is_mutable to true if the parameter is passed as a non-const reference.
int compare(const Fragment &other) const
const void *ConstOpaque() const
template<typename T, unsigned size> static Variant FromConstRef(
   const (&value)[size]
)
Builds a Variant which wraps a const value array (as a pointer).
template<typename T> bool ConstRefValue(const &value)
Template version of ConstRef.
Persistent *Construct(void *) const
void *Construct(void *) const
Constructs an instance of this type.
bool Construct(const Type *type =  0,
bool own_data =  false)
Ensures that this variant can be Set.
operator ConstString() const
Casts this string to a ConstString
ConstString(const char *s)
constructs a const string wrapping a c string.
operator ConstString() const
Casts this string to a ConstString
ConstString()
constructs an empty (“”) const string.
bool ConvertToType(const Type *type)
Converts this variant to another type, keeping the same (or “similar”) value.
virtual bool ConvertValue(void *opaque,
const void *source,
const Type *from) const
Uses conversions registered with RegisterConversion.
SharedString Copy(const Fragment &)
Persistent *Create() const
A new instance of the class (if it’s not Abstract)
template<typename FunctionType> inline const function::Function *CreateFunction(
   const char *name,
   FunctionType func
)
Template method which generates a generic Function object from a native function pointer.
Close