Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Bridge::BridgeIO Class Reference

#include <bridgeIO.h>

Public Member Functions

 BridgeIO (const std::string &filename="stdout")
 
virtual ~BridgeIO ()
 
void init (const std::string &filename)
 
void init (const std::ostream &os)
 
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,...)
 
bool isOpen ()
 
std::ostream & getStream ()
 
void ildg_init (const std::ostream &os)
 
void ildg_init (const std::string &filename)
 
void ildg (const char *format,...)
 
std::ostream & getILDGStream ()
 

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 &)
 
BridgeIOoperator= (const BridgeIO &)
 
void print (VerboseLevel level, VerboseLevel write_level, int node, const char *format, va_list &arg)
 
void rewind_ ()
 
void tidyup_ ()
 

Private Attributes

std::ostream * os_
 
std::stack< std::ostream * > stack_
 
char buff_ [1024]
 
std::ostream * ildg_os_
 

Detailed Description

Definition at line 50 of file bridgeIO.h.

Constructor & Destructor Documentation

Bridge::BridgeIO::BridgeIO ( const std::string &  filename = "stdout")

Definition at line 27 of file bridgeIO.cpp.

Bridge::BridgeIO::~BridgeIO ( )
virtual

Definition at line 44 of file bridgeIO.cpp.

Bridge::BridgeIO::BridgeIO ( const BridgeIO )
private

Member Function Documentation

void Bridge::BridgeIO::crucial ( const char *  format,
  ... 
)

Definition at line 178 of file bridgeIO.cpp.

void Bridge::BridgeIO::crucial ( VerboseLevel  vl,
const char *  format,
  ... 
)

Definition at line 255 of file bridgeIO.cpp.

void Bridge::BridgeIO::crucial ( VerboseLevel  vl,
int  node,
const char *  format,
  ... 
)

Definition at line 324 of file bridgeIO.cpp.

void Bridge::BridgeIO::detailed ( const char *  format,
  ... 
)

Definition at line 216 of file bridgeIO.cpp.

void Bridge::BridgeIO::detailed ( VerboseLevel  vl,
const char *  format,
  ... 
)

Definition at line 289 of file bridgeIO.cpp.

void Bridge::BridgeIO::detailed ( VerboseLevel  vl,
int  node,
const char *  format,
  ... 
)

Definition at line 358 of file bridgeIO.cpp.

void Bridge::BridgeIO::general ( const char *  format,
  ... 
)

Definition at line 197 of file bridgeIO.cpp.

void Bridge::BridgeIO::general ( VerboseLevel  vl,
const char *  format,
  ... 
)

Definition at line 272 of file bridgeIO.cpp.

void Bridge::BridgeIO::general ( VerboseLevel  vl,
int  node,
const char *  format,
  ... 
)

Definition at line 341 of file bridgeIO.cpp.

std::string Bridge::BridgeIO::get_verbose_level ( const VerboseLevel  vl)
static

Definition at line 152 of file bridgeIO.cpp.

std::ostream & Bridge::BridgeIO::getILDGStream ( )

Definition at line 494 of file bridgeIO.cpp.

std::ostream & Bridge::BridgeIO::getStream ( )

Definition at line 391 of file bridgeIO.cpp.

void Bridge::BridgeIO::ildg ( const char *  format,
  ... 
)

Definition at line 467 of file bridgeIO.cpp.

void Bridge::BridgeIO::ildg_init ( const std::ostream &  os)

Definition at line 434 of file bridgeIO.cpp.

void Bridge::BridgeIO::ildg_init ( const std::string &  filename)

Definition at line 448 of file bridgeIO.cpp.

void Bridge::BridgeIO::init ( const std::string &  filename)

Definition at line 51 of file bridgeIO.cpp.

void Bridge::BridgeIO::init ( const std::ostream &  os)

Definition at line 73 of file bridgeIO.cpp.

bool Bridge::BridgeIO::isOpen ( )

Definition at line 398 of file bridgeIO.cpp.

BridgeIO& Bridge::BridgeIO::operator= ( const BridgeIO )
private
void Bridge::BridgeIO::paranoiac ( const char *  format,
  ... 
)

Definition at line 235 of file bridgeIO.cpp.

void Bridge::BridgeIO::paranoiac ( VerboseLevel  vl,
const char *  format,
  ... 
)

Definition at line 306 of file bridgeIO.cpp.

void Bridge::BridgeIO::paranoiac ( VerboseLevel  vl,
int  node,
const char *  format,
  ... 
)

Definition at line 375 of file bridgeIO.cpp.

void Bridge::BridgeIO::print ( VerboseLevel  level,
VerboseLevel  write_level,
int  node,
const char *  format,
va_list &  arg 
)
inlineprivate

Definition at line 407 of file bridgeIO.cpp.

void Bridge::BridgeIO::rewind_ ( )
private

Definition at line 100 of file bridgeIO.cpp.

VerboseLevel Bridge::BridgeIO::set_verbose_level ( const std::string &  str)
static

Definition at line 131 of file bridgeIO.cpp.

void Bridge::BridgeIO::tidyup_ ( )
private

Definition at line 112 of file bridgeIO.cpp.

void Bridge::BridgeIO::unset ( )

Definition at line 91 of file bridgeIO.cpp.

Member Data Documentation

char Bridge::BridgeIO::buff_[1024]
private

Definition at line 126 of file bridgeIO.h.

const std::string Bridge::BridgeIO::class_name = "BridgeIO"
static

Definition at line 52 of file bridgeIO.h.

std::ostream* Bridge::BridgeIO::ildg_os_
private

Definition at line 129 of file bridgeIO.h.

std::ostream* Bridge::BridgeIO::os_
private

Definition at line 120 of file bridgeIO.h.

std::stack<std::ostream *> Bridge::BridgeIO::stack_
private

Definition at line 123 of file bridgeIO.h.


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