![]() |
PhoenixTypeStream
0.1.0
Unified C++ type-to-string conversion framework
|
#include <string>
#include <vector>
#include <map>
#include "type_stream_get_type.h"
#include "phoenix_composeType_impl.h"
Go to the source code of this file.
Classes | |
struct | ConvertTupleTypeToString< First, Last > |
Serialise a call type into a std::string. More... | |
struct | ConvertTupleTypeToString< N, N > |
Serialise a call type into a std::string. More... | |
struct | TypeStream< T > |
Generic DataStream class. More... | |
struct | TypeStream< std::list< T > > |
Generic std::list type abstraction. More... | |
struct | TypeStream< std::map< T, U > > |
Generic std::map type abstraction. More... | |
struct | TypeStream< std::pair< T, U > > |
Generic std::pair type abstraction. More... | |
struct | TypeStream< std::tuple< T... > > |
Generic std::tuple type abstraction. More... | |
struct | TypeStream< std::vector< T > > |
Generic std::vector type abstraction. More... | |
Functions | |
template<typename T> | |
std::string | phoenix_getTypeToStr () |
Get the corresponding type of a string. | |
template<typename T> | |
std::string | phoenix_getTypeToStr (const T &data) |
Get the corresponding type of a string. | |
template<typename R, typename... T> | |
std::string | phoenix_getTypeToStr (R(*func)(T...)) |
Convert a function prototype into a string. | |
std::string phoenix_getTypeToStr | ( | ) |
Get the corresponding type of a string.
Definition at line 16 of file phoenix_composeType_impl.h.
References TypeStream< T >::getTypeToStr().
Referenced by ConvertTupleTypeToString< First, Last >::getTypeToStr(), phoenix_getTypeToStr(), and phoenix_getTypeToStr().
std::string phoenix_getTypeToStr | ( | const T & | data | ) |
Get the corresponding type of a string.
data | : parameter used to get its type |
Definition at line 25 of file phoenix_composeType_impl.h.
References phoenix_getTypeToStr().
std::string phoenix_getTypeToStr | ( | R(* | func )(T...) | ) |
Convert a function prototype into a string.
func | : function to be called |
Definition at line 34 of file phoenix_composeType_impl.h.
References phoenix_getTypeToStr().