RSC
0.13.4
|
#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"
Go to the source code of this file.
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) |
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().