Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
cheprep::IndentPrintWriter Class Reference

#include <IndentPrintWriter.h>

Public Member Functions

 IndentPrintWriter (std::ostream *out, int level=0)
 
virtual ~IndentPrintWriter ()
 
void close ()
 
IndentPrintWriteroperator<< (const std::string &s)
 
IndentPrintWriteroperator<< (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)
 

Detailed Description

Definition at line 22 of file IndentPrintWriter.h.

Constructor & Destructor Documentation

cheprep::IndentPrintWriter::IndentPrintWriter ( std::ostream *  out,
int  level = 0 
)

Definition at line 15 of file IndentPrintWriter.cc.

cheprep::IndentPrintWriter::~IndentPrintWriter ( )
virtual

Definition at line 23 of file IndentPrintWriter.cc.

Member Function Documentation

void cheprep::IndentPrintWriter::close ( )

Definition at line 26 of file IndentPrintWriter.cc.

Here is the caller graph for this function:

int cheprep::IndentPrintWriter::getIndent ( ) const

Definition at line 73 of file IndentPrintWriter.cc.

Here is the caller graph for this function:

string cheprep::IndentPrintWriter::getIndentString ( ) const

Definition at line 81 of file IndentPrintWriter.cc.

Here is the caller graph for this function:

void cheprep::IndentPrintWriter::indent ( )

Definition at line 65 of file IndentPrintWriter.cc.

Here is the caller graph for this function:

IndentPrintWriter & cheprep::IndentPrintWriter::operator<< ( const std::string &  s)

Definition at line 33 of file IndentPrintWriter.cc.

IndentPrintWriter& cheprep::IndentPrintWriter::operator<< ( std::ostream &(*)(std::ostream &)  pf)
void cheprep::IndentPrintWriter::outdent ( )

Definition at line 69 of file IndentPrintWriter.cc.

Here is the caller graph for this function:

void cheprep::IndentPrintWriter::print ( const std::string &  s)

Definition at line 49 of file IndentPrintWriter.cc.

void cheprep::IndentPrintWriter::println ( const std::string &  s)
void cheprep::IndentPrintWriter::println ( )

Definition at line 53 of file IndentPrintWriter.cc.

void cheprep::IndentPrintWriter::setIndent ( const int  level)

Definition at line 77 of file IndentPrintWriter.cc.

void cheprep::IndentPrintWriter::setIndentString ( const std::string &  indentString)

Definition at line 85 of file IndentPrintWriter.cc.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: