Auxiliary class to temporarily replace std::ostream.
More...
#include <JPrintHelper.hh>
|
typedef std::ostream &(* | io_manip) (std::ostream &) |
| Type definition of I/O operator. More...
|
|
Auxiliary class to temporarily replace std::ostream.
Definition at line 155 of file JPrintHelper.hh.
◆ io_manip
typedef std::ostream&(* JLANG::JPrinter::io_manip) (std::ostream &) |
◆ JPrinter()
JLANG::JPrinter::JPrinter |
( |
std::ostream & |
out | ) |
|
|
inline |
◆ operator<<() [1/2]
std::ostream& JLANG::JPrinter::operator<< |
( |
io_manip |
manip | ) |
|
|
inline |
Parse I/O manipulator.
- Parameters
-
- Returns
- output stream
Definition at line 178 of file JPrintHelper.hh.
180 return __out << manip;
◆ operator<<() [2/2]
template<class T >
std::ostream& JLANG::JPrinter::operator<< |
( |
const T & |
object | ) |
|
|
inline |
Parse object.
- Parameters
-
- Returns
- output stream
Definition at line 191 of file JPrintHelper.hh.
193 return __out << object;
◆ __out
std::ostream& JLANG::JPrinter::__out |
|
private |
The documentation for this struct was generated from the following file: