User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - IO - Type Name


Type Names

Unfortunately the C++ standard does not specify what string is returned from the type_info.name() function. This means if you wish to use files containing with code generated by different compilers you'll get inconsistent results. These functions are here to help get around the problem. The preferred format is the c++ type name with all spaces removed.

Normal classes:

 TypeNameC Register typename.

Normal functions:

 TypeName(const type_info &) Return the C++ type name for a type info instance.
 TypeHandleName(const type_info &) Lookup the name of a handle type from body type_info structure.
 TypeName(const char *) Return the C++ name for a type_info.name().
 RTypeName(const char *) Given a standardised name return the compiler specific one.
 RTypeInfo(const char *) Given a standardised name return the type_info instance.
 AddTypeName(const type_info &,const char *) Set the stanard name to be used for a particular type.
 AddTypeName(const char *,const char *) Set the stanard name to be used for a particular type.
 AddTypeHandleName(const type_info &,const char *) Add body to handle type mapping.
Documentation by CxxDoc: Tue Aug 13 10:00:52 2002