Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBprintfBase Class Reference

Base class for print objects. **. More...

#include <CTBprintfBase.hxx>

Inheritance diagram for CTBprintfBase:

Inheritance graph
[legend]
List of all members.

Public Methods

 CTBprintfBase (const char *c_format, int i_width, int i_precision)
virtual void ToStream (ostream &os) const=0

Protected Attributes

const char * mc_format
int mi_width
int mi_precision

Related Functions

(Note that these are not member functions.)

ostream & operator<< (ostream &os, const CTBprintfBase &obj)

Detailed Description

Base class for print objects. **.

Definition at line 16 of file CTBprintfBase.hxx.


Constructor & Destructor Documentation

CTBprintfBase::CTBprintfBase const char * c_format,
int i_width,
int i_precision
[inline]
 

Constructor.

Parameters:
c_format   format descriptor string
i_width   field width
i_precision   precision

Definition at line 37 of file CTBprintfBase.icc.


Member Function Documentation

CTBprintfBase::ToStream ostream & os const [pure virtual]
 

Concrete implementation of the ostream insertion.

Reimplemented in CTBprintfBase1d, CTBprintfBase2d, CTBprintfBase3d, and CTBprintfS.

Referenced by operator<<().


Friends And Related Function Documentation

ostream & operator<< ostream & os,
const CTBprintfBase & obj
[related]
 

ostream insertion.

Definition at line 52 of file CTBprintfBase.icc.


Member Data Documentation

const char* CTBprintfBase::mc_format [protected]
 

format string.

Definition at line 24 of file CTBprintfBase.hxx.

int CTBprintfBase::mi_width [protected]
 

field width.

Definition at line 25 of file CTBprintfBase.hxx.

int CTBprintfBase::mi_precision [protected]
 

field precision.

Definition at line 26 of file CTBprintfBase.hxx.


The documentation for this class was generated from the following files:
Generated at Fri Oct 24 18:13:59 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001