Jpp 19.3.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JEEP::JEEPZ::JStream Struct Reference

Auxiliary class for format STL containers. More...

#include <JStreamToolkit.hh>

Public Member Functions

 JStream (std::ostream &out)
 Constructor.
 
template<class T >
std::ostream & operator<< (const T &value)
 Write value to output stream.
 

Private Attributes

std::ostream & out
 

Detailed Description

Auxiliary class for format STL containers.

Definition at line 611 of file JStreamToolkit.hh.

Constructor & Destructor Documentation

◆ JStream()

JEEP::JEEPZ::JStream::JStream ( std::ostream & out)
inline

Constructor.

Parameters
outoutput stream

Definition at line 618 of file JStreamToolkit.hh.

618 :
619 out(out)
620 {}

Member Function Documentation

◆ operator<<()

template<class T >
std::ostream & JEEP::JEEPZ::JStream::operator<< ( const T & value)
inline

Write value to output stream.

Parameters
valuevalue
Returns
this JSTDStreamer

Definition at line 630 of file JStreamToolkit.hh.

631 {
632 return writeObject(out, value);
633 }
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.

Member Data Documentation

◆ out

std::ostream& JEEP::JEEPZ::JStream::out
private

Definition at line 636 of file JStreamToolkit.hh.


The documentation for this struct was generated from the following file: