class Akenti::OutputStream

A OutputStream object is a reference-count pointer that wraps a ostream object.

Inheritance:


Public Methods

[more] OutputStream (ostream* impl = NULL)
Constructs this object.
[more] ~OutputStream ()
Decrements the ref_cnt by 1, when it drops to 0 destroys the ostream and this object
[more]OutputStream& operator<< (const char c)
The overloaded output operator, that places a character into the output stream.
[more]OutputStream& operator<< (const char* s)
The overloaded output operator, that places a C-string into the output stream.
[more]OutputStream& operator<< (const void* p)
The overloaded output operator, that places the first thing that the pointer points to into the output stream.
[more]OutputStream& operator<< (int i)
The overloaded output operator, that places a character into the output stream.
[more]OutputStream& operator<< (unsigned int ui)
The overloaded output operator, that places an unsigned integer into the output stream.
[more]OutputStream& operator<< (long l)
The overloaded output operator, that places a long integer into the output stream.
[more]OutputStream& operator<< (unsigned long ul)
The overloaded output operator, that places an unsigned long integer into the output stream.
[more]OutputStream& operator<< (bool b)
The overloaded output operator, that places a boolean into the output stream.
[more]OutputStream& operator<< (double d)
The overloaded output operator, that a double into the output stream.
[more]OutputStream& operator<< (std::streambuf* sb)
The overloaded output operator, that the stream buffer into the output stream.
[more]OutputStream& operator<< (const string& s)
The overloaded output operator, that places a string into the output stream.


Documentation

A OutputStream object is a reference-count pointer that wraps a ostream object.

Clients should not assume anything about the type of the stream wrapped in this object.

o OutputStream(ostream* impl = NULL)
Constructs this object.

Parameters:
impl - the ostream for output

o ~OutputStream()
Decrements the ref_cnt by 1, when it drops to 0 destroys the ostream and this object

oOutputStream& operator<<(const char c)
The overloaded output operator, that places a character into the output stream.

Parameters:
c - the character
Returns:
the output stream

oOutputStream& operator<<(const char* s)
The overloaded output operator, that places a C-string into the output stream.

Parameters:
c - the C-string
Returns:
the output stream

oOutputStream& operator<<(const void* p)
The overloaded output operator, that places the first thing that the pointer points to into the output stream.

Parameters:
p - the void * pointer
Returns:
the output stream

oOutputStream& operator<<(int i)
The overloaded output operator, that places a character into the output stream.

Parameters:
c - the character
Returns:
the output stream

oOutputStream& operator<<(unsigned int ui)
The overloaded output operator, that places an unsigned integer into the output stream.

Parameters:
ui - the unsigned integer
Returns:
the output stream

oOutputStream& operator<<(long l)
The overloaded output operator, that places a long integer into the output stream.

Parameters:
l - the long integer
Returns:
the output stream

oOutputStream& operator<<(unsigned long ul)
The overloaded output operator, that places an unsigned long integer into the output stream.

Parameters:
ul - the unsigned long integer
Returns:
the output stream

oOutputStream& operator<<(bool b)
The overloaded output operator, that places a boolean into the output stream.

Parameters:
b - the boolean
Returns:
the output stream

oOutputStream& operator<<(double d)
The overloaded output operator, that a double into the output stream.

Parameters:
d - the double
Returns:
the output stream

oOutputStream& operator<<(std::streambuf* sb)
The overloaded output operator, that the stream buffer into the output stream.

Parameters:
sb - the stream buffer
Returns:
the output stream

oOutputStream& operator<<(const string& s)
The overloaded output operator, that places a string into the output stream.

Parameters:
s - the string
Returns:
the output stream


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/11/01
See Also:
ref_ptr

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.