|
Jpp
|
I/O formatting auxiliaries. More...
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 | JFlags |
| Auxiliary class to temporarily modify format specifications. More... | |
Namespaces | |
| JEEP | |
| General puprpose classes and methods. | |
| JPP | |
Macros | |
| #define | MAKE_STRING(A) (static_cast<std::ostringstream&>(JEEP::getOstream() << A)).str() |
| Make string. More... | |
| #define | MAKE_CSTRING(A) MAKE_STRING(A).c_str() |
| 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 or 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 MAKE_STRING | ( | A | ) | (static_cast<std::ostringstream&>(JEEP::getOstream() << A)).str() |
| #define MAKE_CSTRING | ( | A | ) | MAKE_STRING(A).c_str() |
|
inline |
|
inline |
|
inline |
|
inline |
Set short print option.
| out | output stream |
Definition at line 103 of file JPrint.hh.
|
inline |
|
inline |
Set medium print option.
| out | output stream |
Definition at line 126 of file JPrint.hh.
|
inline |
|
inline |
Set long print option.
| out | output stream |
Definition at line 149 of file JPrint.hh.
|
inline |
|
inline |
Set medium printing.
| out | output stream |
Definition at line 175 of file JPrint.hh.
|
inline |
|
inline |
|
inline |
|
inline |
1.8.5