#include <bit_bucket.h>
Public Member Functions | |
virtual | ~output_bit_bucket () |
Static Public Member Functions | |
static pointer | create () |
Protected Member Functions | |
nstring | filename () const |
const char * | type_name () const |
long int | ftell_inner () const |
void | write_inner (const void *data, size_t length) |
void | end_of_line_inner () |
int | page_width () const |
int | page_length () const |
Private Member Functions | |
output_bit_bucket () | |
output_bit_bucket (const output_bit_bucket &) | |
output_bit_bucket & | operator= (const output_bit_bucket &) |
Private Attributes | |
nstring | file_name |
long | pos |
Definition at line 30 of file bit_bucket.h.
virtual output_bit_bucket::~output_bit_bucket | ( | ) | [virtual] |
The destructor.
output_bit_bucket::output_bit_bucket | ( | ) | [private] |
The default constructor. It is private on purpose, use the "create" class method instead.
output_bit_bucket::output_bit_bucket | ( | const output_bit_bucket & | ) | [private] |
The copy constructor. Do not use.
static pointer output_bit_bucket::create | ( | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
nstring output_bit_bucket::filename | ( | ) | const [protected, virtual] |
const char* output_bit_bucket::type_name | ( | ) | const [protected, virtual] |
long int output_bit_bucket::ftell_inner | ( | ) | const [protected, virtual] |
The ftell_inner method is used to determine the current file position, without taking the buffering into account.
Implements output.
void output_bit_bucket::write_inner | ( | const void * | data, | |
size_t | length | |||
) | [protected, virtual] |
void output_bit_bucket::end_of_line_inner | ( | ) | [protected, virtual] |
int output_bit_bucket::page_width | ( | ) | const [protected, virtual] |
int output_bit_bucket::page_length | ( | ) | const [protected, virtual] |
output_bit_bucket& output_bit_bucket::operator= | ( | const output_bit_bucket & | ) | [private] |
The copy constructor. Do not use.
nstring output_bit_bucket::file_name [private] |
The file_name instance variable is used to remember the name of this "file".
Definition at line 80 of file bit_bucket.h.
long output_bit_bucket::pos [private] |
The pos instance variable is used to remember the current output position.
Definition at line 86 of file bit_bucket.h.