From: stephan b. <sg...@us...> - 2004-12-28 15:51:14
|
Update of /cvsroot/pclasses/pclasses2/src/s11n/proxy In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1893 Added Files: LexT_s11n.h SimplePropertyStore_s11n.h Log Message: egg --- NEW FILE: LexT_s11n.h --- //////////////////////////////////////////////////////////////////////// // Defines an s11n proxy for the LexT type. // Should be included from any code which wants to de/serialize // a LexT using the standard s11n interface. // // Conventions: // - Clients must include SIO support before including this. //////////////////////////////////////////////////////////////////////// #if !defined(PCLASSES_S11N_INCLUDED) # error "s11n.h or SIO.h must be included before plugging in s11n proxies!" #else #if !defined(p_UTIL_LEXT_REGISTERED_WITH_S11N) # define p_UTIL_LEXT_REGISTERED_WITH_S11N 1 # include <pclasses/Util/LexT.h> // better safe than sorry. # define PS11N_TYPE P::Util::LexT # define PS11N_TYPE_NAME "LexT" # define PS11N_SERIALIZE_FUNCTOR ::P::s11n::streamable_type_serialization_proxy # include <pclasses/s11n/reg_serializable_traits.h> #endif // p_UTIL_LEXT_REGISTERED_WITH_S11N #endif // PCLASSES_S11N_INCLUDED //////////////////////////////////////////////////////////////////////// --- NEW FILE: SimplePropertyStore_s11n.h --- #if !defined(PCLASSES_S11N_INCLUDED) # error "s11n.h or SIO.h must be included before plugging in s11n proxies!" #else #include "LexT_s11n.h" #if !defined(p_UTIL_SIMPLEPRPOPERTYSTORE_REGISTERED_WITH_S11N) # define p_UTIL_SIMPLEPRPOPERTYSTORE_REGISTERED_WITH_S11N 1 # define PS11N_TYPE SimplePropertyStore # define PS11N_TYPE_NAME "SimplePropertyStore" # define PS11N_SERIALIZE_FUNCTOR ::P::s11n::map::streamable_map_serializable_proxy # include <pclasses/s11n/reg_serializable_traits.h> #endif // p_UTIL_SIMPLEPRPOPERTYSTORE_REGISTERED_WITH_S11N |