|
Aegis
4.25.D505
|
#include <tar.h>
Public Member Functions | |
| virtual | ~output_tar () |
| output_tar (const output::pointer &deeper) | |
| output::pointer | child (const nstring &name, long len, bool executable) |
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) |
Private Member Functions | |
| output_tar () | |
| output_tar (const output_tar &) | |
| output_tar & | operator= (const output_tar &) |
Private Attributes | |
| output::pointer | deeper |
The output_tar class is used to represent a tar archive.
| virtual output_tar::~output_tar | ( | ) | [virtual] |
The destructor.
| output_tar::output_tar | ( | const output::pointer & | deeper | ) |
The constructor.
| deeper | The underlying output to which the tar archive is to be written. |
| output_tar::output_tar | ( | ) | [private] |
The default constructor. Do not use.
| output_tar::output_tar | ( | const output_tar & | ) | [private] |
The copy constructor. Do not use.
| output::pointer output_tar::child | ( | const nstring & | name, |
| long | len, | ||
| bool | executable | ||
| ) |
The child method is used to create a new output object into which the archive member contents are written.
| name | The name of the archive member. |
| len | The exact length of the archive member. It is a bug if the wrong amount of data is written. |
| executable | Wherther ot not the archive member is executable. |
| void output_tar::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_tar::filename | ( | void | ) | const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
| long output_tar::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.
| output_tar& output_tar::operator= | ( | const output_tar & | ) | [private] |
The assignment operator. Do not use.
| nstring output_tar::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_tar::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.
output::pointer output_tar::deeper [private] |
1.7.6.1