1 #ifndef __OPENTREP_SVC_SERVICEABSTRACT_HPP
2 #define __OPENTREP_SVC_SERVICEABSTRACT_HPP
22 virtual void toStream (std::ostream& ioOut)
const {}
39 template <
class charT,
class traits>
41 std::basic_ostream<charT, traits>&
42 operator<< (std::basic_ostream<charT, traits>& ioOut,
49 std::basic_ostringstream<charT,traits> ostr;
54 iService.toStream (ostr);
67 template <
class charT,
class traits>
69 std::basic_istream<charT, traits>&
77 #endif // __OPENTREP_SVC_SERVICEABSTRACT_HPP
virtual ~ServiceAbstract()
virtual void toStream(std::ostream &ioOut) const
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &ioIn, OPENTREP::ServiceAbstract &ioService)
virtual void fromStream(std::istream &ioIn)