Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
STREAM Struct Reference

Auxiliary data structure for handling std::ostream. More...

#include <JStreamAvailable.hh>

Classes

struct  JStream
 Auxiliary class for format stream. More...
 

Public Member Functions

 STREAM (const std::string &message="")
 Constructor.
 

Protected Attributes

std::string message
 

Friends

JStream operator<< (std::ostream &out, const STREAM &format)
 Format specifier.
 

Detailed Description

Auxiliary data structure for handling std::ostream.

Definition at line 36 of file JStreamAvailable.hh.

Constructor & Destructor Documentation

◆ STREAM()

STREAM::STREAM ( const std::string & message = "")
inline

Constructor.

Parameters
messagemessage printed in case operator std::ostream<< is unavailable

Definition at line 110 of file JStreamAvailable.hh.

110 :
112 {}
std::string message

Friends And Related Symbol Documentation

◆ operator<<

JStream operator<< ( std::ostream & out,
const STREAM & format )
friend

Format specifier.

Parameters
outoutput stream
formatformat
Returns
output stream

Definition at line 122 of file JStreamAvailable.hh.

123 {
124 return JStream(out, format.message);
125 }

Member Data Documentation

◆ message

std::string STREAM::message
protected

Definition at line 102 of file JStreamAvailable.hh.


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