From: stephan b. <sg...@us...> - 2004-12-27 20:07:27
|
Update of /cvsroot/pclasses/pclasses2/src/s11n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18328/src/s11n Modified Files: SIO.h Log Message: Removed the COMPLETELY bogus save() overload taking a (const std::ostream &). Index: SIO.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/s11n/SIO.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- SIO.h 26 Dec 2004 14:41:07 -0000 1.5 +++ SIO.h 27 Dec 2004 20:07:18 -0000 1.6 @@ -20,9 +20,10 @@ namespace P { /** - The SIO namespace encapsulates the entire client-side s11n-related - API. Clients using s11n proxies and implementing serialization code - may need to use the classes in the P::s11n as well. + The SIO namespace encapsulates the entire client-side + P::s11n-related API. Clients using s11n proxies and implementing + serialization code may need to use the classes in P::s11n or + possibly even P::s11n::io as well. */ namespace SIO { @@ -199,18 +200,6 @@ } /** - Serializes src to a S11nNode && returns serialize(node,dest). - - Returns true on success, false on error. - */ - template <typename SerializableT> - bool save( const SerializableT & src, const std::ostream & dest ) - { - S11nNode n; - return serialize( n, src ) && save( n, dest ); - } - - /** Sets the current Serializer class used by createSerializer(). Pass it a class name of a SerializerInterface type. */ |