Jpp
Public Member Functions | Private Attributes | List of all members
JEEPZ::JStream Struct Reference

Auxiliary class for format STL containers. More...

#include <JPrint.hh>

Public Member Functions

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

Private Attributes

std::ostream & out
 

Detailed Description

Auxiliary class for format STL containers.

Definition at line 564 of file JPrint.hh.

Constructor & Destructor Documentation

◆ JStream()

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

Constructor.

Parameters
outoutput stream

Definition at line 571 of file JPrint.hh.

571  :
572  out(out)
573  {}

Member Function Documentation

◆ operator<<()

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

Write value to output stream.

Parameters
valuevalue
Returns
this JSTDStreamer

Definition at line 583 of file JPrint.hh.

584  {
585  return JEEP::writeObject(out, value);
586  }

Member Data Documentation

◆ out

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

Definition at line 589 of file JPrint.hh.


The documentation for this struct was generated from the following file:
JEEP::writeObject
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.
Definition: JStreamToolkit.hh:42
JEEPZ::JStream::out
std::ostream & out
Definition: JPrint.hh:589