OpenTREP Logo  0.07.11
C++ Open Travel Request Parsing Library
StructAbstract.hpp File Reference
#include <iosfwd>
#include <string>

Go to the source code of this file.

Classes

struct  OPENTREP::StructAbstract
 Base class for the light structures. More...
 

Namespaces

namespace  OPENTREP
 

Functions

template<class charT , class traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &ioOut, const OPENTREP::StructAbstract &iStruct)
 
template<class charT , class traits >
std::basic_istream< charT, traits > & operator>> (std::basic_istream< charT, traits > &ioIn, OPENTREP::StructAbstract &ioStruct)
 

Function Documentation

◆ operator<<()

template<class charT , class traits >
std::basic_ostream< charT, traits > & operator<< ( std::basic_ostream< charT, traits > &  ioOut,
const OPENTREP::StructAbstract iStruct 
)
inline

Piece of code given by Nicolai M. Josuttis, Section 13.12.1 "Implementing Output Operators" (p653) of his book "The C++ Standard Library: A Tutorial and Reference", published by Addison-Wesley.

Definition at line 1 of file StructAbstract.hpp.

◆ operator>>()

template<class charT , class traits >
std::basic_istream< charT, traits > & operator>> ( std::basic_istream< charT, traits > &  ioIn,
OPENTREP::StructAbstract ioStruct 
)
inline

Piece of code given by Nicolai M. Josuttis, Section 13.12.1 "Implementing Output Operators" (pp655-657) of his book "The C++ Standard Library: A Tutorial and Reference", published by Addison-Wesley.

Definition at line 91 of file StructAbstract.hpp.

References OPENTREP::StructAbstract::fromStream().