7 #ifndef __STDAIR_BOM_BOMABSTRACT_HPP
8 #define __STDAIR_BOM_BOMABSTRACT_HPP
32 virtual void toStream (std::ostream& ioOut)
const = 0;
39 virtual void fromStream (std::istream& ioIn) = 0;
46 virtual std::string
toString()
const = 0;
63 typedef std::map<const std::type_info*, BomAbstract*>
HolderMap_T;
71 template <
class charT,
class traits>
73 std::basic_ostream<charT, traits>&
74 operator<< (std::basic_ostream<charT, traits>& ioOut,
81 std::basic_ostringstream<charT,traits> ostr;
99 template <
class charT,
class traits>
101 std::basic_istream<charT, traits>&
109 #endif // __STDAIR_BOM_BOMABSTRACT_HPP
Handle on the StdAir library context.
std::map< const std::type_info *, BomAbstract * > HolderMap_T
Base class for the Business Object Model (BOM) layer.
BomAbstract(const BomAbstract &)
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &ioIn, stdair::BomAbstract &ioBom)
virtual std::string toString() const =0
virtual void fromStream(std::istream &ioIn)=0
virtual void toStream(std::ostream &ioOut) const =0