1 #ifndef __SIMCRS_BOM_BOMABSTRACT_HPP
2 #define __SIMCRS_BOM_BOMABSTRACT_HPP
20 virtual void toStream (std::ostream& ioOut)
const = 0;
24 virtual void fromStream (std::istream& ioIn) = 0;
27 virtual std::string
toString()
const = 0;
53 template <
class charT,
class traits>
55 std::basic_ostream<charT, traits>&
56 operator<< (std::basic_ostream<charT, traits>& ioOut,
63 std::basic_ostringstream<charT,traits> ostr;
81 template <
class charT,
class traits>
83 std::basic_istream<charT, traits>&
91 #endif // __SIMCRS_BOM_BOMABSTRACT_HPP