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

CTBprintfBase1d Class Reference

Base class for 1d container print objects. **. More...

#include "CTBprintfBase.hxx"

Inheritance diagram for CTBprintfBase1d:

Inheritance graph
[legend]
Collaboration diagram for CTBprintfBase1d:

Collaboration graph
[legend]
List of all members.

Public Methods

 CTBprintfBase1d (const char *c_format, int i_width, int i_precision, CTBint i_pcol, CTBint i_wind)
virtual void ToStream (ostream &os) const
virtual void ToStreamElement (ostream &os, CTBint i) const=0
virtual CTBint Dimension1 () const=0

Detailed Description

Base class for 1d container print objects. **.

Definition at line 46 of file CTBprintfBase.hxx.


Constructor & Destructor Documentation

CTBprintfBase1d::CTBprintfBase1d const char * c_format,
int i_width,
int i_precision,
CTBint i_pcol,
CTBint i_wind
 

Constructor.

Parameters:
c_format   format descriptor string
i_width   field width
i_precision   precision
i_pcol   number of columns to print (if <=0 no extra line break)
i_wind   width of index field (if <0 no index)

Definition at line 47 of file CTBprintfBase.cxx.


Member Function Documentation

void CTBprintfBase1d::ToStream ostream & os const [virtual]
 

Driver to print 1d containers to stream os .

Reimplemented from CTBprintfBase.

Definition at line 57 of file CTBprintfBase.cxx.

CTBprintfBase1d::ToStreamElement ostream & os,
CTBint i
const [pure virtual]
 

Print element (i) of the current container.

Reimplemented in CTBprintfVD.

Referenced by ToStream().

CTBprintfBase1d::Dimension1 const [pure virtual]
 

Returns size of the current container.

Reimplemented in CTBprintfVD.

Referenced by ToStream().


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