Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members

default_registrations.h

00001 #ifndef s11n_DEFAULT_REGISTRATIONS_H_INCLUDED
00002 #define s11n_DEFAULT_REGISTRATIONS_H_INCLUDED 1
00003 ////////////////////////////////////////////////////////////////////////
00004 // a set of default proxy installations used by the s11n framework
00005 // License: Public Domain
00006 // Author: stephan@wanderinghorse.net
00007 ////////////////////////////////////////////////////////////////////////
00008 
00009 #include <s11n/data_node_functor.h>
00010 #include <s11n/data_node_algo.h>
00011 
00012 #define S11N_STREAMABLES_PROXY s11n::streamable_type_serializer_proxy
00013 
00014 #define S11N_TYPE char
00015 #define S11N_NAME "char"
00016 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00017 #include <s11n/reg_proxy.h>
00018 
00019 #define S11N_TYPE bool
00020 #define S11N_NAME "bool"
00021 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00022 #include <s11n/reg_proxy.h>
00023 
00024 #define S11N_TYPE int
00025 #define S11N_NAME "int"
00026 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00027 #include <s11n/reg_proxy.h>
00028 
00029 #define S11N_TYPE size_t
00030 #define S11N_NAME "size_t"
00031 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00032 #include <s11n/reg_proxy.h>
00033 
00034 #define S11N_TYPE float
00035 #define S11N_NAME "float"
00036 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00037 #include <s11n/reg_proxy.h>
00038 
00039 #define S11N_TYPE double
00040 #define S11N_NAME "double"
00041 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00042 #include <s11n/reg_proxy.h>
00043 
00044 #define S11N_TYPE long
00045 #define S11N_NAME "long"
00046 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00047 #include <s11n/reg_proxy.h>
00048 
00049 #define S11N_TYPE std::string
00050 #define S11N_NAME "std::string"
00051 #define S11N_SERIALIZE_FUNCTOR S11N_STREAMABLES_PROXY
00052 #include <s11n/reg_proxy.h>
00053 
00054 
00055 #undef S11N_STREAMABLES_PROXY
00056 #endif // s11n_DEFAULT_REGISTRATIONS_H_INCLUDED

Generated on Thu Jun 16 16:18:12 2005 for s11n by  doxygen 1.4.3-20050530