|
Aegis
4.25.D505
|
#include <to_wide.h>
Public Member Functions | |
| virtual | ~output_to_wide () |
Static Public Member Functions | |
| static pointer | open (const wide_output::pointer &deeper) |
Protected Member Functions | |
| nstring | filename (void) const |
| nstring | type_name (void) const |
| long | ftell_inner (void) const |
| void | write_inner (const void *data, size_t length) |
| void | end_of_line_inner (void) |
| void | flush_inner (void) |
| int | page_width (void) const |
| int | page_length (void) const |
Private Member Functions | |
| output_to_wide (const wide_output::pointer &deeper) | |
| output_to_wide () | |
| output_to_wide (const output_to_wide &) | |
| output_to_wide & | operator= (const output_to_wide &) |
Private Attributes | |
| wide_output::pointer | deeper |
| char * | input_buf |
| size_t | input_len |
| size_t | input_max |
| mbstate_t | input_state |
| bool | input_bol |
| wchar_t * | output_buf |
| size_t | output_len |
| size_t | output_max |
The output_to_wide class is used to represent a narrow character to wide character filter.
| virtual output_to_wide::~output_to_wide | ( | ) | [virtual] |
The destructor.
| output_to_wide::output_to_wide | ( | const wide_output::pointer & | deeper | ) | [private] |
The constructor. It is private on purpose, use the "open" class method instead.
| deeper | the deeper wide output stream on which this filter writes to. |
| output_to_wide::output_to_wide | ( | ) | [private] |
The default constructor. Do not use.
| output_to_wide::output_to_wide | ( | const output_to_wide & | ) | [private] |
The copy constructor. Do not use.
| void output_to_wide::end_of_line_inner | ( | void | ) | [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.
| nstring output_to_wide::filename | ( | void | ) | const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
| void output_to_wide::flush_inner | ( | void | ) | [protected, virtual] |
The flush_inner method is called by the flush method once all the data has been written. The default implementation does nothing.
Reimplemented from output.
| long output_to_wide::ftell_inner | ( | void | ) | const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Implements output.
| static pointer output_to_wide::open | ( | const wide_output::pointer & | deeper | ) | [static] |
The open class method is used to create new dynamically allocated instances of this class.
| deeper | the deeper wide output stream on which this filter writes to. |
| output_to_wide& output_to_wide::operator= | ( | const output_to_wide & | ) | [private] |
The assignment operator. Do not use.
| int output_to_wide::page_length | ( | void | ) | const [protected, virtual] |
The page_length method is used to obtain the length of the page of the output device.
Reimplemented from output.
| int output_to_wide::page_width | ( | void | ) | const [protected, virtual] |
The page_width method is used to obtain the width of the page of the output device.
Reimplemented from output.
| nstring output_to_wide::type_name | ( | void | ) | const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Implements output.
| void output_to_wide::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.
wide_output::pointer output_to_wide::deeper [private] |
bool output_to_wide::input_bol [private] |
char* output_to_wide::input_buf [private] |
size_t output_to_wide::input_len [private] |
size_t output_to_wide::input_max [private] |
mbstate_t output_to_wide::input_state [private] |
wchar_t* output_to_wide::output_buf [private] |
size_t output_to_wide::output_len [private] |
size_t output_to_wide::output_max [private] |
1.7.6.1