ESyS-Particle  2.3
Con Class Reference

console with window buffer More...

#include <console.h>

Inheritance diagram for Con:
Collaboration diagram for Con:

Public Member Functions

 Con (ostream *Ios)
 
virtual ~Con ()
 
virtual char * GetLast (char *buff)
 
- Public Member Functions inherited from BasicCon
 BasicCon ()
 
 BasicCon (ostream *Ios)
 
virtual ~BasicCon ()
 
void SetQuiet (bool Q)
 
void SetTiming (bool T)
 
virtual void flush ()
 
virtual void SetOStream (ostream *Ios)
 
BasicConMessage (bool h=true)
 set verbose level of next message to "msg" More...
 
BasicConError (bool h=true)
 set verbose level of next message to "err" More...
 
BasicConWarning (bool h=true)
 set verbose level of next message to "wrn" More...
 
BasicConCritical (bool h=true)
 set verbose level of next message to "crt" More...
 
BasicConInfo (bool h=true)
 set verbose level of next message to "inf" More...
 
BasicConDebug (bool h=true)
 set verbose level of next message to "dbg" More...
 
BasicConXDebug (bool h=true)
 set verbose level of next message to "xdg" More...
 
BasicConTiming (bool h=true)
 set verbose level of next message to "tme" More...
 
BasicConoperator<< (const char *s)
 
BasicConoperator<< (char s)
 
BasicConoperator<< (short s)
 
BasicConoperator<< (int s)
 
BasicConoperator<< (long s)
 
BasicConoperator<< (float s)
 
BasicConoperator<< (double s)
 
BasicConoperator<< (unsigned char s)
 
BasicConoperator<< (unsigned short s)
 
BasicConoperator<< (unsigned int s)
 
BasicConoperator<< (unsigned long s)
 
BasicConoperator<< (void *s)
 
BasicConoperator<< (Vec3 s)
 
BasicConoperator<< (const Matrix3 &)
 
BasicConoperator<< (CCounter &s)
 
BasicConoperator<< (CCounterList &s)
 
BasicConoperator<< (const string &)
 

Protected Member Functions

virtual void process (ostringstream *str_os)
 
 Con ()
 
- Protected Member Functions inherited from BasicCon
virtual void show (char *level, bool h)
 

Private Attributes

int CurCol
 
char Buffer [4096]
 

Additional Inherited Members

- Public Types inherited from BasicCon
enum  VerboseLevel {
  all =0, dbg, info, msg,
  warning, err, critical, silent
}
 
- Static Public Member Functions inherited from BasicCon
static void SetVerbose (int vl=all)
 set verbose level More...
 
static int GetVerbose ()
 
- Protected Attributes inherited from BasicCon
char * CurBuffer
 buffer for output & process More...
 
ostream * os
 Output stream (cout usually) More...
 
- Static Protected Attributes inherited from BasicCon
static int VLevel = Con::info
 current verbose level More...
 
static bool mute = false
 
static bool quiet = false
 flag to mute console (loats output) or quiet console More...
 
static bool timing = false
 

Detailed Description

console with window buffer

Constructor & Destructor Documentation

Con::Con ( )
protected

References CurCol.

Con::Con ( ostream *  Ios)

References CurCol.

Con::~Con ( )
virtual

Member Function Documentation

char * Con::GetLast ( char *  buff)
virtual

References Buffer, and CurCol.

void Con::process ( ostringstream *  str_os)
protectedvirtual

output stream on Output stream if not quiet

Parameters
str_osstream to output

Reimplemented from BasicCon.

References Buffer, cout, CurCol, BasicCon::flush(), esys::lsm::bpu::len(), BasicCon::process(), and ConsoleWindow::Update().

Here is the call graph for this function:

Member Data Documentation

char Con::Buffer[4096]
private

Referenced by GetLast(), and process().

int Con::CurCol
private

Referenced by Con(), GetLast(), and process().


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