output_stdout Class Reference
#include <stdout.h>
Detailed Description
The
output_stdout class is used to repersent the state of an
output stream being written to the standard
output.
Definition at line 29 of file stdout.h.
Constructor & Destructor Documentation
virtual output_stdout::~output_stdout |
( |
|
) |
[virtual] |
output_stdout::output_stdout |
( |
|
) |
[private] |
The default constructor. It is private on purpose, use the create class method instead.
The copy constructor. Do not use.
Member Function Documentation
static pointer output_stdout::create |
( |
|
) |
[static] |
The create class method is used to create new dynamically allocated instances of this class.
nstring output_stdout::filename |
( |
|
) |
const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
const char* output_stdout::type_name |
( |
|
) |
const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Implements output.
long output_stdout::ftell_inner |
( |
|
) |
const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Implements output.
void output_stdout::write_inner |
( |
const void * |
data, |
|
|
size_t |
length | |
|
) |
| | [protected, virtual] |
The write_inner method is used write data to the output, without taking the buffering into account.
Implements output.
void output_stdout::end_of_line_inner |
( |
|
) |
[protected, virtual] |
The end_of_line_inner method is used to ensure that the current output position is at the beginning of a line, without taking the buffering into account.
Implements output.
int output_stdout::page_width |
( |
|
) |
const [protected, virtual] |
The page_width method is used to obtain the width of the page of the output device.
Reimplemented from output.
int output_stdout::page_length |
( |
|
) |
const [protected, virtual] |
The page_length method is used to obtain the length of the page of the output device.
Reimplemented from output.
The assignment operator. Do not use.
Field Documentation
The bol instance variable is used to remember whether or not we are at the beginning of a line.
Definition at line 79 of file stdout.h.
The pos instance variable is used to remember our relative position in the standard output stream.
Definition at line 85 of file stdout.h.
The documentation for this class was generated from the following file: