RSC  0.17.1
TypeStringTools.h File Reference
#include <typeinfo>
#include <stdexcept>
#include <string>
#include <ostream>
#include <boost/type_traits.hpp>
#include <boost/format.hpp>
#include "Demangle.h"
#include "ContainerIO.h"
#include "rsc/rscexports.h"
Include dependency graph for TypeStringTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  boost::has_stream_output< T >
 
struct  boost::has_stream_output< bool >
 
struct  boost::has_stream_output< char >
 
struct  boost::has_stream_output< unsigned char >
 
struct  boost::has_stream_output< short >
 
struct  boost::has_stream_output< unsigned short >
 
struct  boost::has_stream_output< int >
 
struct  boost::has_stream_output< unsigned int >
 
struct  boost::has_stream_output< long >
 
struct  boost::has_stream_output< unsigned long >
 
struct  boost::has_stream_output< float >
 
struct  boost::has_stream_output< double >
 
struct  boost::has_stream_output< char * >
 
struct  boost::has_stream_output< std::string >
 
struct  boost::has_stream_output< std::vector< T > >
 
struct  boost::has_stream_output< std::type_info >
 

Namespaces

 boost
 
 rsc
 
 rsc::runtime
 

Functions

std::string rsc::runtime::typeName (const std::type_info &type)
 Returns a (demangled) string representation of type. More...
 
template<typename T >
std::string rsc::runtime::typeName ()
 Returns a (demangled) string representation of the type of the template parameter. More...
 
template<typename T >
std::string rsc::runtime::typeName (const T &object)
 Returns a (demangled) string representation of the type of object. More...
 
template<typename T >
std::string rsc::runtime::typeString (const std::string &known_type_string, const std::string &unknown_type_string, const T &value)
 Returns one of two to strings depending on whether type T is known to be able to support stream output (using operator<<). More...
 
template<typename Ch , typename Tr >
basic_ostream< Ch, Tr > & std::operator<< (basic_ostream< Ch, Tr > &stream, const type_info &type_info_)
 
template<typename T >
std::string rsc::runtime::doTypeString (const std::string &known_type_string, const std::string &, const T &value, boost::true_type)
 
template<typename T >
std::string rsc::runtime::doTypeString (const std::string &, const std::string &unknown_type_string, const T &, boost::false_type)
 

Function Documentation

template<typename Ch , typename Tr >
basic_ostream< Ch, Tr > & std::operator<< ( basic_ostream< Ch, Tr > &  stream,
const type_info &  type_info_ 
)

Definition at line 229 of file TypeStringTools.h.

References rsc::runtime::typeName().

Here is the call graph for this function: