Jpp  15.0.2
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 81 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 155 of file JStreamAvailable.hh.

155  :
157  {}
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 167 of file JStreamAvailable.hh.

168  {
169  return JStream(out, format.message);
170  }
std::string message

Member Data Documentation

std::string STREAM::message
protected

Definition at line 147 of file JStreamAvailable.hh.


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