nis-util
1.0.D108
|
#include <string.h>
Public Types | |
typedef boost::shared_ptr < output_string > | pointer |
Public Member Functions | |
virtual | ~output_string () |
rcstring | mkstr (void) const |
Static Public Member Functions | |
static pointer | create (int line_width) |
Protected Member Functions | |
void | put (char c) |
int | get_column (void) const |
int | get_line_width (void) const |
Private Member Functions | |
output_string (int linlen) | |
output_string () | |
output_string (const output_string &rhs) | |
output_string & | operator= (const output_string &rhs) |
Private Attributes | |
int | linlen |
int | column |
rcstring_accumulator | acc |
The output_string class is used to represent the processing required to send output to a string.
typedef boost::shared_ptr<output_string> output_string::pointer |
output_string::~output_string | ( | ) | [virtual] |
output_string::output_string | ( | int | linlen | ) | [private] |
output_string::output_string | ( | ) | [private] |
The default constructor. Do not use.
output_string::output_string | ( | const output_string & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
output_string::pointer output_string::create | ( | int | line_width | ) | [static] |
int output_string::get_column | ( | void | ) | const [protected, virtual] |
int output_string::get_line_width | ( | void | ) | const [protected, virtual] |
rcstring output_string::mkstr | ( | void | ) | const |
output_string& output_string::operator= | ( | const output_string & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
void output_string::put | ( | char | c | ) | [protected, virtual] |
rcstring_accumulator output_string::acc [private] |
int output_string::column [private] |
int output_string::linlen [private] |