fmtio::printableType Namespace Reference

namespace holding expression classifier types and methods. More...

Classes

struct  Char
struct  classification
 Contains member, printableClass, that indicates the printing style of type T. More...
struct  classification< char * >
struct  classification< char >
struct  classification< double >
struct  classification< float >
struct  classification< int >
 < Superseeds the default printing type category for pointers. More...
struct  classification< long >
struct  classification< long long >
struct  classification< short >
struct  classification< std::string >
struct  classification< T * >
struct  classification< unsigned char * >
struct  classification< unsigned char >
struct  classification< unsigned char const * >
struct  classification< unsigned int >
struct  classification< unsigned long >
struct  classification< unsigned long long >
struct  classification< unsigned short >
struct  deconstify
struct  deconstify< T const >
struct  devolify
struct  devolify< T volatile >
struct  DoubleFloat
struct  Exception
 < Invalid format type specified for a given actual data type More...
struct  Float
struct  Integral
struct  isClassType
 Declares a const member, value, which is either 0 or 1 depending on whether or not Type is a class object or not. More...
struct  StlString
struct  String
struct  typeDetector< 0 >
struct  typeDetector< 1 >
 This template struct defines a nested type, type, which is a typedef for one of the following: More...
struct  Unsigned
struct  UserDefined

Functions

template<class T >
classification< typename
deconstify< T >::type >
::printableClass 
classifier (T const &t)
 The template function, classifier<T>, returns a different type based on its parameter.

Detailed Description

namespace holding expression classifier types and methods.

There are two basic categories of symbols in this namespace

The classifier functions return different return value types based on what kind of expression is passed to them.


Function Documentation

classification< typename deconstify<T>::type >::printableClass fmtio::printableType::classifier ( T const &  t  ) 

The template function, classifier<T>, returns a different type based on its parameter.

It does this only because specializations for all builtin data types, change the default classification::printableClass data type, UserDefined, to one of the well known types (Integral, String, etc.).

Parameters:
t specifies a reference to some expression value
Returns:
a data type that implies the printing algorithm for value

Definition at line 133 of file fmtio.h.

Here is the caller graph for this function:

Generated on Wed Feb 29 22:59:12 2012 for CXXUtilities by  doxygen 1.6.3