wide_output_header Class Reference
#include <header.h>
Detailed Description
The
wide_output_header class is used to add page headers to the
output.
Definition at line 29 of file header.h.
Member Typedef Documentation
Constructor & Destructor Documentation
wide_output_header::~wide_output_header |
( |
|
) |
|
The constructor.
- Parameters:
-
| deeper | where to write the filtered output |
wide_output_header::wide_output_header |
( |
|
) |
[private] |
The default constructor. Do not use.
The copy constructor. Do not use.
Member Function Documentation
The open class method is used to create new dynamically allocated instances of this class.
void wide_output_header::title |
( |
const char * |
, |
|
|
const char * |
| |
|
) |
| | |
static void wide_output_header::title |
( |
wide_output::pointer |
fp, |
|
|
const char * |
l1, |
|
|
const char * |
l2 | |
|
) |
| | [inline, static] |
void wide_output_header::need |
( |
int |
|
) |
|
void wide_output_header::need1 |
( |
int |
|
) |
|
void wide_output_header::eject |
( |
|
) |
|
bool wide_output_header::is_at_top_of_page |
( |
|
) |
|
nstring wide_output_header::filename |
( |
|
) |
[protected, virtual] |
The filename method is used to obtain the name of the file being written by this output stream.
- Returns:
- the name of the destination
Implements wide_output.
int wide_output_header::page_width |
( |
|
) |
[protected, virtual] |
The page-width method is used to obtain the width (in printing columns) of the output destination.
Implements wide_output.
int wide_output_header::page_length |
( |
|
) |
[protected, virtual] |
The length method is used to obtain the length (in whole lines) of the output destination.
Implements wide_output.
const char* wide_output_header::type_name |
( |
|
) |
const [protected, virtual] |
The type_name method is used to return the name of the class of output. Useful for debugging.
Implements wide_output.
void wide_output_header::write_inner |
( |
const wchar_t * |
data, |
|
|
size_t |
len | |
|
) |
| | [protected, virtual] |
The write_inner method is called by the write method to emit buffered data.
- Parameters:
-
| data | The data to be written |
| len | The number of wide characters to be written |
Implements wide_output.
void wide_output_header::flush_inner |
( |
|
) |
[protected, virtual] |
The flush_inner method is called by the flush method, after it writes any buffered data via the write_inner method.
Implements wide_output.
void wide_output_header::end_of_line_inner |
( |
|
) |
[protected, virtual] |
The end_of_line_inner method is used to do end-of-line processing by the derived class, if the buffered character state is not sufficient for the end_of_line method to determine whether or not the output position is currently at the start of a line.
Implements wide_output.
void wide_output_header::left_and_right |
( |
const wstring & |
lhs, |
|
|
const char * |
rhs | |
|
) |
| | [private] |
void wide_output_header::top_of_page_processing |
( |
|
) |
[private] |
void wide_output_header::bottom_of_page_processing |
( |
|
) |
[private] |
The assignment operator. Do not use.
Field Documentation
The documentation for this class was generated from the following file: