Aegis  4.25.D505
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
output_filter_wrap_simple Class Reference

#include <wrap_simple.h>

Inheritance diagram for output_filter_wrap_simple:
output_filter output

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_simpleoperator= (const output_filter_wrap_simple &)

Private Attributes

nstring_accumulator word
int icol
int ocol

Detailed Description

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.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

The destructor.

The constructor. It is private on purpose, use the create class method instead.

Parameters:
deeperwhere to write the filtered output

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

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.

Parameters:
deeperwhere 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.


Field Documentation

The icol instance variable is used to remember the current input column.

Definition at line 84 of file wrap_simple.h.

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.


The documentation for this class was generated from the following file: