Bridge++
Ver. 2.0.4
|
#include <bridgeIO.h>
Classes | |
struct | os_info |
Public Member Functions | |
BridgeIO (const std::string &filename="stdout") | |
BridgeIO (const std::string &filename, int node) | |
BridgeIO (const std::string &filename, int node, std::ios_base::openmode mode) | |
virtual | ~BridgeIO () |
void | init (const std::string &filename) |
void | init (const std::string &filename, int node) |
void | init (const std::string &filename, int node, std::ios_base::openmode mode) |
void | init (const std::ostream &os) |
void | init (const std::ostream &os, int node) |
void | unset () |
void | crucial (const char *format,...) |
void | general (const char *format,...) |
void | detailed (const char *format,...) |
void | paranoiac (const char *format,...) |
void | crucial (VerboseLevel vl, const char *format,...) |
void | general (VerboseLevel vl, const char *format,...) |
void | detailed (VerboseLevel vl, const char *format,...) |
void | paranoiac (VerboseLevel vl, const char *format,...) |
void | crucial (VerboseLevel vl, int node, const char *format,...) |
void | general (VerboseLevel vl, int node, const char *format,...) |
void | detailed (VerboseLevel vl, int node, const char *format,...) |
void | paranoiac (VerboseLevel vl, int node, const char *format,...) |
void | increase_indent () |
void | decrease_indent () |
int | indent_level () |
void | set_indent (const int level) |
bool | isOpen () |
std::ostream & | getStream () |
DEPRECATED void | ildg_init (const std::ostream &os) |
DEPRECATED void | ildg_init (const std::string &filename) |
DEPRECATED void | ildg (const char *format,...) |
Static Public Member Functions | |
static VerboseLevel | set_verbose_level (const std::string &str) |
static std::string | get_verbose_level (const VerboseLevel vl) |
Static Public Attributes | |
static const std::string | class_name = "BridgeIO" |
Private Member Functions | |
BridgeIO (const BridgeIO &) | |
BridgeIO & | operator= (const BridgeIO &) |
void | print (VerboseLevel level, VerboseLevel write_level, int node, const char *format, va_list &arg) |
void | push_ () |
void | rewind_ () |
void | tidyup_ () |
Private Attributes | |
std::ostream * | os_ |
char | buff_ [1024] |
int | m_node_write |
std::stack< os_info > | stack_ |
Static Private Attributes | |
static int | m_indent_level = 0 |
Definition at line 53 of file bridgeIO.h.
Bridge::BridgeIO::BridgeIO | ( | const std::string & | filename = "stdout" | ) |
Definition at line 29 of file bridgeIO.cpp.
Bridge::BridgeIO::BridgeIO | ( | const std::string & | filename, |
int | node | ||
) |
Definition at line 37 of file bridgeIO.cpp.
Bridge::BridgeIO::BridgeIO | ( | const std::string & | filename, |
int | node, | ||
std::ios_base::openmode | mode | ||
) |
Definition at line 45 of file bridgeIO.cpp.
|
virtual |
Definition at line 55 of file bridgeIO.cpp.
|
private |
void Bridge::BridgeIO::crucial | ( | const char * | format, |
... | |||
) |
Definition at line 242 of file bridgeIO.cpp.
void Bridge::BridgeIO::crucial | ( | VerboseLevel | vl, |
const char * | format, | ||
... | |||
) |
Definition at line 320 of file bridgeIO.cpp.
void Bridge::BridgeIO::crucial | ( | VerboseLevel | vl, |
int | node, | ||
const char * | format, | ||
... | |||
) |
Definition at line 389 of file bridgeIO.cpp.
void Bridge::BridgeIO::decrease_indent | ( | ) |
Definition at line 517 of file bridgeIO.cpp.
void Bridge::BridgeIO::detailed | ( | const char * | format, |
... | |||
) |
Definition at line 281 of file bridgeIO.cpp.
void Bridge::BridgeIO::detailed | ( | VerboseLevel | vl, |
const char * | format, | ||
... | |||
) |
Definition at line 355 of file bridgeIO.cpp.
void Bridge::BridgeIO::detailed | ( | VerboseLevel | vl, |
int | node, | ||
const char * | format, | ||
... | |||
) |
Definition at line 445 of file bridgeIO.cpp.
void Bridge::BridgeIO::general | ( | const char * | format, |
... | |||
) |
Definition at line 262 of file bridgeIO.cpp.
void Bridge::BridgeIO::general | ( | VerboseLevel | vl, |
const char * | format, | ||
... | |||
) |
Definition at line 338 of file bridgeIO.cpp.
void Bridge::BridgeIO::general | ( | VerboseLevel | vl, |
int | node, | ||
const char * | format, | ||
... | |||
) |
Definition at line 419 of file bridgeIO.cpp.
|
static |
Definition at line 216 of file bridgeIO.cpp.
std::ostream & Bridge::BridgeIO::getStream | ( | ) |
Definition at line 496 of file bridgeIO.cpp.
|
inline |
Definition at line 112 of file bridgeIO.h.
|
inline |
Definition at line 108 of file bridgeIO.h.
|
inline |
Definition at line 110 of file bridgeIO.h.
void Bridge::BridgeIO::increase_indent | ( | ) |
Definition at line 508 of file bridgeIO.cpp.
|
inline |
Definition at line 99 of file bridgeIO.h.
void Bridge::BridgeIO::init | ( | const std::ostream & | os | ) |
Definition at line 111 of file bridgeIO.cpp.
void Bridge::BridgeIO::init | ( | const std::ostream & | os, |
int | node | ||
) |
Definition at line 118 of file bridgeIO.cpp.
void Bridge::BridgeIO::init | ( | const std::string & | filename | ) |
Definition at line 62 of file bridgeIO.cpp.
void Bridge::BridgeIO::init | ( | const std::string & | filename, |
int | node | ||
) |
Definition at line 72 of file bridgeIO.cpp.
void Bridge::BridgeIO::init | ( | const std::string & | filename, |
int | node, | ||
std::ios_base::openmode | mode | ||
) |
Definition at line 79 of file bridgeIO.cpp.
bool Bridge::BridgeIO::isOpen | ( | ) |
Definition at line 503 of file bridgeIO.cpp.
void Bridge::BridgeIO::paranoiac | ( | const char * | format, |
... | |||
) |
Definition at line 300 of file bridgeIO.cpp.
void Bridge::BridgeIO::paranoiac | ( | VerboseLevel | vl, |
const char * | format, | ||
... | |||
) |
Definition at line 372 of file bridgeIO.cpp.
void Bridge::BridgeIO::paranoiac | ( | VerboseLevel | vl, |
int | node, | ||
const char * | format, | ||
... | |||
) |
Definition at line 471 of file bridgeIO.cpp.
|
inlineprivate |
Definition at line 538 of file bridgeIO.cpp.
|
private |
Definition at line 151 of file bridgeIO.cpp.
|
private |
Definition at line 164 of file bridgeIO.cpp.
void Bridge::BridgeIO::set_indent | ( | const int | level | ) |
Definition at line 526 of file bridgeIO.cpp.
|
static |
Definition at line 195 of file bridgeIO.cpp.
|
private |
Definition at line 179 of file bridgeIO.cpp.
void Bridge::BridgeIO::unset | ( | ) |
Definition at line 142 of file bridgeIO.cpp.
|
private |
Definition at line 145 of file bridgeIO.h.
|
static |
Definition at line 55 of file bridgeIO.h.
|
staticprivate |
Definition at line 147 of file bridgeIO.h.
|
private |
Definition at line 150 of file bridgeIO.h.
|
private |
Definition at line 139 of file bridgeIO.h.
|
private |
Definition at line 158 of file bridgeIO.h.