Jpp  19.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Protected Attributes | Friends | List of all members
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. More...
 

Protected Attributes

std::string message
 

Friends

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

Detailed Description

Auxiliary data structure for handling std::ostream.

Definition at line 36 of file JStreamAvailable.hh.

Constructor & Destructor Documentation

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 Function Documentation

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  }
std::string message

Member Data Documentation

std::string STREAM::message
protected

Definition at line 102 of file JStreamAvailable.hh.


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