|
Aegis
4.25.D505
|
#include <wrap_simple.h>
Public Types | |
| typedef aegis_shared_ptr < output_filter_wrap_simple > | pointer |
Public Member Functions | |
| virtual | ~output_filter_wrap_simple () |
Static Public Member Functions | |
| static pointer | create (const output::pointer &deeper) |
Protected Member Functions | |
| void | write_inner (const void *data, size_t data_size) |
| nstring | type_name (void) const |
| void | end_of_line_inner (void) |
Private Member Functions | |
| output_filter_wrap_simple (const output::pointer &deeper) | |
| output_filter_wrap_simple () | |
| output_filter_wrap_simple (const output_filter_wrap_simple &) | |
| output_filter_wrap_simple & | operator= (const output_filter_wrap_simple &) |
Private Attributes | |
| nstring_accumulator | word |
| int | icol |
| int | ocol |
The output_filter_wrap_simple class is used to represent simple wrapping of simple ASCII text, with no provision for breaking at any point except for at white space.
If you need to handle multi-byte encodings, use the output_wrap_open function instead.
Definition at line 34 of file wrap_simple.h.
The pointer type is used to describe a pointer to an output destination.
Reimplemented from output.
Definition at line 38 of file wrap_simple.h.
| virtual output_filter_wrap_simple::~output_filter_wrap_simple | ( | ) | [virtual] |
The destructor.
| output_filter_wrap_simple::output_filter_wrap_simple | ( | const output::pointer & | deeper | ) | [private] |
The constructor. It is private on purpose, use the create class method instead.
| deeper | where to write the filtered output |
| output_filter_wrap_simple::output_filter_wrap_simple | ( | ) | [private] |
The default constructor. Do not use.
| output_filter_wrap_simple::output_filter_wrap_simple | ( | const output_filter_wrap_simple & | ) | [private] |
The copy constructor. Do not use.
| static pointer output_filter_wrap_simple::create | ( | const output::pointer & | deeper | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| deeper | where to write the filtered output |
| void output_filter_wrap_simple::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.
Reimplemented from output_filter.
| output_filter_wrap_simple& output_filter_wrap_simple::operator= | ( | const output_filter_wrap_simple & | ) | [private] |
The assignment operator. Do not use.
| nstring output_filter_wrap_simple::type_name | ( | void | ) | const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Reimplemented from output_filter.
| void output_filter_wrap_simple::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.
Reimplemented from output_filter.
int output_filter_wrap_simple::icol [private] |
The icol instance variable is used to remember the current input column.
Definition at line 84 of file wrap_simple.h.
int output_filter_wrap_simple::ocol [private] |
The ocol instance variable is used to remember the current output column.
Definition at line 90 of file wrap_simple.h.
The word instance variable is used to remember the word currently being accumulated.
Definition at line 78 of file wrap_simple.h.
1.7.6.1