1 #ifndef __OPENTREP_BAS_STRUCTABSTRACT_HPP
2 #define __OPENTREP_BAS_STRUCTABSTRACT_HPP
45 virtual std::string
describe()
const = 0;
60 template <
class charT,
class traits>
62 std::basic_ostream<charT, traits>&
63 operator<< (std::basic_ostream<charT, traits>& ioOut,
70 std::basic_ostringstream<charT,traits> ostr;
75 iStruct.toStream (ostr);
88 template <
class charT,
class traits>
90 std::basic_istream<charT, traits>&
98 #endif // __OPENTREP_BAS_STRUCTABSTRACT_HPP
virtual std::string describe() const =0
Base class for the light structures.
virtual ~StructAbstract()
void toStream(std::ostream &ioOut) const
virtual void fromStream(std::istream &ioIn)
std::basic_istream< charT, traits > & operator>>(std::basic_istream< charT, traits > &ioIn, OPENTREP::StructAbstract &ioStruct)