Free Electron
|
Run time C++ type management. More...
#include <TypeMaster.h>
Public Member Functions | |
template<class T > | |
sp< BaseType > | lookupType (void) |
sp< BaseType > | lookupType (const TypeInfo &typeInfo) |
void | dumpTypes (void) const |
Result | addTypeLoader (sp< TypeLoader > a_spTypeLoader) |
Result | loadType (String a_name) |
template<class Converter , class In , class Out > | |
void | registerConversion (void) |
template<class In , class Out > | |
void | nativeConversion (void) |
void | registerConversion (sp< TypeConversion > spConv, sp< BaseType > spInType, sp< BaseType > spOutType) |
sp< BaseType > | lookupName (const String &name) |
sp< BaseType > | lookupNameLoaded (const String &name) |
String | lookupBaseType (const sp< BaseType > &type) |
template<class In , class Out > | |
sp< TypeConversion > | lookupConversion (void) |
void | reverseLookup (sp< BaseType > basetype, std::list< String > &names) |
String | reverseLookup (sp< BaseType > basetype) |
sp< TypeConversion > | lookupConversion (sp< BaseType > spInType, sp< BaseType > spOutType) |
void | peek (Peeker &peeker) |
template<class T > | |
sp< BaseType > | assertType (const String &name) |
template<class T > | |
sp< BaseType > | assertType (void) |
template<class T , class Info > | |
sp< BaseType > | assertTypeInfo (const String &name) |
template<class T > | |
sp< BaseType > | assertPtr (const String &name) |
const String & | name (void) const |
sp< BaseType > | assertTypeInternal (const TypeInfo &typeInfo, sp< BaseType > spT, const String &name) |
template<class T > | |
Result | input (String a_buffer, T &a_value) |
serialize String buffer into value More... | |
template<class T > | |
Result | output (T &a_value, String &a_buffer) |
serialize value into String buffer More... | |
Public Member Functions inherited from fe::Counted | |
virtual void | acquire (void) |
Increment the reference count. More... | |
virtual void | acquire (int &rCount) |
Increment the reference count (and get the count) More... | |
virtual void | release (void) |
Decrement the reference count. More... | |
virtual void | abandon (void) |
Decrement the reference count. More... | |
int | count (void) const |
Return the count of references. More... | |
void | setName (const String &) |
void | trackReference (void *pReference, String what) |
void | untrackReference (void *pReference) |
void | registerRegion (void *pT, U32 bytes) |
Private Attributes | |
type_info_map | m_hTypeidMap |
string_type_map | m_hNameMap |
type_string_map | m_hTypeMap |
in_out_converter_map | m_hConverter |
String | m_name |
Array< sp< TypeLoader > > | m_typeLoaderArray |
Additional Inherited Members | |
Static Public Member Functions inherited from fe::Counted | |
static String | reportTracker (void) |
static U32 | trackerCount (void) |
Protected Member Functions inherited from fe::Counted | |
int | releaseInternal (void) |
Decrement the reference count. More... | |
void | suppressReport (void) |
Run time C++ type management.
serialize String buffer into value
sp< TypeConversion > fe::TypeMaster::lookupConversion | ( | sp< BaseType > | spInType, |
sp< BaseType > | spOutType | ||
) |
serialize value into String buffer