Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <IndentPrintWriter.h>
Public Member Functions | |
IndentPrintWriter (std::ostream *out, int level=0) | |
virtual | ~IndentPrintWriter () |
void | close () |
IndentPrintWriter & | operator<< (const std::string &s) |
IndentPrintWriter & | operator<< (std::ostream &(*pf)(std::ostream &)) |
void | println (const std::string &s) |
void | print (const std::string &s) |
void | println () |
void | indent () |
void | outdent () |
int | getIndent () const |
void | setIndent (const int level) |
std::string | getIndentString () const |
void | setIndentString (const std::string &indentString) |
Definition at line 21 of file IndentPrintWriter.h.
cheprep::IndentPrintWriter::IndentPrintWriter | ( | std::ostream * | out, |
int | level = 0 |
||
) |
Definition at line 14 of file IndentPrintWriter.cc.
|
virtual |
Definition at line 22 of file IndentPrintWriter.cc.
void cheprep::IndentPrintWriter::close | ( | ) |
Definition at line 25 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::close(), cheprep::XMLWriter::closeTag(), and cheprep::XMLWriter::~XMLWriter().
int cheprep::IndentPrintWriter::getIndent | ( | ) | const |
Definition at line 72 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::printAttributes().
string cheprep::IndentPrintWriter::getIndentString | ( | ) | const |
Definition at line 80 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::openDoc().
void cheprep::IndentPrintWriter::indent | ( | ) |
Definition at line 64 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::openTag(), and cheprep::XMLWriter::printAttributes().
IndentPrintWriter & cheprep::IndentPrintWriter::operator<< | ( | const std::string & | s | ) |
Definition at line 32 of file IndentPrintWriter.cc.
IndentPrintWriter & cheprep::IndentPrintWriter::operator<< | ( | std::ostream &(*)(std::ostream &) | pf | ) |
void cheprep::IndentPrintWriter::outdent | ( | ) |
Definition at line 68 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::closeTag(), and cheprep::XMLWriter::printAttributes().
void cheprep::IndentPrintWriter::print | ( | const std::string & | s | ) |
Definition at line 48 of file IndentPrintWriter.cc.
void cheprep::IndentPrintWriter::println | ( | ) |
Definition at line 52 of file IndentPrintWriter.cc.
void cheprep::IndentPrintWriter::println | ( | const std::string & | s | ) |
Definition at line 44 of file IndentPrintWriter.cc.
void cheprep::IndentPrintWriter::setIndent | ( | const int | level | ) |
Definition at line 76 of file IndentPrintWriter.cc.
void cheprep::IndentPrintWriter::setIndentString | ( | const std::string & | indentString | ) |
Definition at line 84 of file IndentPrintWriter.cc.
Referenced by cheprep::XMLWriter::openDoc(), and cheprep::XMLWriter::XMLWriter().