Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::PrintPingerBase Class Reference

#include <PrintPingerBase.h>

Inheritance diagram for FastShower::PrintPingerBase:

Inheritance graph
[legend]
Collaboration diagram for FastShower::PrintPingerBase:

Collaboration graph
[legend]
List of all members.

Public Methods

 PrintPingerBase (int indent=0)
virtual IPingerclone () const=0
virtual void action (const IDebug *)=0
 the ping methods of the destination class uses this method to print

virtual void operator++ ()
 the ping methods of the destination class uses this method to print increase indentation

virtual void operator++ (int)
virtual std::string indent () const

Private Attributes

int m_indent

Static Private Attributes

const int s_step

Constructor & Destructor Documentation

FastShower::PrintPingerBase::PrintPingerBase int    indent = 0 [inline]
 

Definition at line 22 of file PrintPingerBase.h.

References indent(), and m_indent.

00022 :m_indent(indent){};

Member Function Documentation

virtual IPinger* FastShower::PrintPingerBase::clone   const [pure virtual]
 

Implements FastShower::IPrintPinger.

Implemented in FastShower::ComplexPinger, FastShower::ComplexStatsCollector, FastShower::ComplexStatsCollector2, FastShower::SimplePinger, and FastShower::SimpleStatsCollector.

virtual void FastShower::PrintPingerBase::action const IDebug   [pure virtual]
 

the ping methods of the destination class uses this method to print

Implements FastShower::IPrintPinger.

Implemented in FastShower::ComplexPinger, FastShower::ComplexStatsCollector, FastShower::ComplexStatsCollector2, FastShower::SimplePinger, and FastShower::SimpleStatsCollector.

void FastShower::PrintPingerBase::operator++   [virtual]
 

the ping methods of the destination class uses this method to print increase indentation

Implements FastShower::IPrintPinger.

Definition at line 8 of file PrintPingerBase.cxx.

References m_indent, and s_step.

00008 {m_indent+=s_step;}

void FastShower::PrintPingerBase::operator++ int    [virtual]
 

Implements FastShower::IPrintPinger.

Definition at line 9 of file PrintPingerBase.cxx.

References m_indent, and s_step.

00009 {m_indent+=s_step;}

std::string FastShower::PrintPingerBase::indent   const [virtual]
 

Implements FastShower::IPrintPinger.

Definition at line 10 of file PrintPingerBase.cxx.

References m_indent.

Referenced by PrintPingerBase().

00010                                           {
00011     std::string s(m_indent,' ');
00012     return s;
00013   }

Member Data Documentation

int FastShower::PrintPingerBase::m_indent [private]
 

Definition at line 32 of file PrintPingerBase.h.

Referenced by indent(), operator++(), and PrintPingerBase().

const int FastShower::PrintPingerBase::s_step [static, private]
 

Referenced by operator++().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:56:48 2003 for FastShowerUtils by doxygen1.3-rc1