|
Jpp
|
I/O formatting auxiliaries. More...
#include <string>#include <ostream>#include <sstream>#include <iomanip>#include "Jeep/JStreamToolkit.hh"Go to the source code of this file.
Classes | |
| struct | WIDTH |
| Auxiliary data structure for alignment of data. More... | |
| struct | LEFT |
| Auxiliary data structure for alignment of data. More... | |
| struct | RIGHT |
| Auxiliary data structure for alignment of data. More... | |
| struct | FILL |
| Auxiliary data structure for sequence of same character. More... | |
| struct | CENTER |
| Auxiliary data structure for alignment of data. More... | |
| struct | CENTER::JCenter |
| Auxiliary class for format center. More... | |
| struct | FIXED |
| Auxiliary data structure for floating point format specification. More... | |
| struct | SCIENTIFIC |
| Auxiliary data structure for floating point format specification. More... | |
| struct | JEEPZ |
| Auxiliary data structure for streaming of STL containers. More... | |
| struct | JEEPZ::JStream |
| Auxiliary class for format STL containers. More... | |
| struct | JFlags |
| Auxiliary class to temporarily modify format specifications. More... | |
Namespaces | |
| JEEP | |
| General puprpose classes and methods. | |
| JPP | |
| This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Macros | |
| #define | VARGS_STRING(A, B,...) MAKE_STRING(B) |
| Make string for variadic macro. More... | |
| #define | MAKE_STRING(A) (static_cast<std::ostringstream&>(JEEP::getOstream() << A)).str() |
| Make string. More... | |
| #define | MAKE_CSTRING(A) JEEP::getCString(MAKE_STRING(A)) |
| Make C-string. More... | |
Enumerations | |
| enum | JEEP::JPrintOption_t { JEEP::SHORT_PRINT = 1, JEEP::MEDIUM_PRINT = 2, JEEP::LONG_PRINT = 3 } |
| Print options. More... | |
Functions | |
| int | JEEP::getIndex () |
| Get index for user I/O manipulation. More... | |
| std::ostream & | JEEP::getOstream () |
| Get output stream for conversion to std::string. More... | |
| const char * | JEEP::getCString (const std::string &input) |
| Get output C-string. More... | |
| int | getPrintOption (std::ostream &out) |
| Get print option. More... | |
| void | setPrintOption (std::ostream &out, const int option) |
| Set print option. More... | |
| bool | getShortprint (std::ostream &out) |
| Get short print option. More... | |
| void | setShortprint (std::ostream &out) |
| Set short print option. More... | |
| bool | getMediumprint (std::ostream &out) |
| Get medium print option. More... | |
| void | setMediumprint (std::ostream &out) |
| Set medium print option. More... | |
| bool | getLongprint (std::ostream &out) |
| Get long print option. More... | |
| void | setLongprint (std::ostream &out) |
| Set long print option. More... | |
| std::ostream & | shortprint (std::ostream &out) |
| Set short printing. More... | |
| std::ostream & | mediumprint (std::ostream &out) |
| Set medium printing. More... | |
| std::ostream & | longprint (std::ostream &out) |
| Set long printing. More... | |
| std::ostream & | newline (std::ostream &out) |
| Print newline character. More... | |
| std::ostream & | whitespace (std::ostream &out) |
| Print white space character. More... | |
| std::ostream & | tab (std::ostream &out) |
| Print tab character. More... | |
| std::ostream & | rewind (std::ostream &out) |
| Rewind character. More... | |
I/O formatting auxiliaries.
Definition in file JPrint.hh.
| #define VARGS_STRING | ( | A, | |
| B, | |||
| ... | |||
| ) | MAKE_STRING(B) |
| #define MAKE_STRING | ( | A | ) | (static_cast<std::ostringstream&>(JEEP::getOstream() << A)).str() |
| #define MAKE_CSTRING | ( | A | ) | JEEP::getCString(MAKE_STRING(A)) |
|
inline |
|
inline |
|
inline |
|
inline |
Set short print option.
| out | output stream |
Definition at line 122 of file JPrint.hh.
|
inline |
|
inline |
Set medium print option.
| out | output stream |
Definition at line 145 of file JPrint.hh.
|
inline |
|
inline |
Set long print option.
| out | output stream |
Definition at line 168 of file JPrint.hh.
|
inline |
|
inline |
Set medium printing.
| out | output stream |
Definition at line 194 of file JPrint.hh.
|
inline |
|
inline |
|
inline |
|
inline |
1.8.5