Outputer

All class functions are defined inline.

[ Samples | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

template <class T> struct Outputer
{
public:
Outputer() ;
Outputer(const Outputer& o) ;
Outputer(char ch) ;
void operator()(T value) ;
protected:
}; // Outputer

Back to the top of Outputer

DESCRIPTION

A function object used to print to cout.

    Author  :   Keith Suderman
    Date    :   01/20/2001
    

Back to the top of Outputer

Outputer() ;

Default constructor set fDelimiter to 0. Output will not be delimited.

    Outputer() ;

Function is currently defined inline.


Back to the top of Outputer

Outputer(const Outputer& o) ;

Copy constructor. Makes a copy of the delimiting character.

   Outputer(const Outputer& o) ;

Function is currently defined inline.


Back to the top of Outputer

Outputer(char ch) ;

Parameterized constructor. Set the delimiting character when the Ouputer is constructed.

Parameters

in ch
Character to be printed after each ouput operation.

    Outputer(char ch) ;

Function is currently defined inline.


Back to the top of Outputer

void operator()(T value) ;

Overload of the function call operator.

in value
: the value to be printed to cout.

    void operator()(T value)
                                                                                               
;

Function is currently defined inline.


Back to the top of Outputer

All Members

public:
void operator()(T value) ;
protected:

Back to the top of Outputer

Ancestors

Class does not inherit from any other class.

Back to the top of Outputer

Descendants

Class is not inherited by any others.

Back to the top of Outputer

Generated from source by the Cocoon utilities on Fri Jan 26 13:37:34 2001 .

Report problems to jkotula@vitalimages.com