|
Aegis
4.25.D505
|
#include <cpio.h>
Public Member Functions | |
| virtual | ~output_cpio () |
| output_cpio (const output::pointer &deeper, time_t mtime) | |
| output::pointer | child (const nstring &name, long len) |
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_cpio () | |
| output_cpio (const output_cpio &) | |
| output_cpio & | operator= (const output_cpio &) |
Private Attributes | |
| output::pointer | deeper |
| time_t | mtime |
The output_cpio class is used to represent a container class which produces cpio(7) fomatted output streams.
| virtual output_cpio::~output_cpio | ( | ) | [virtual] |
The destructor.
| output_cpio::output_cpio | ( | const output::pointer & | deeper, |
| time_t | mtime | ||
| ) |
The constructor.
| deeper | The underlying output to which the CPIO archive is to be written. |
| mtime | The time stamp to attach to all archive members |
| output_cpio::output_cpio | ( | ) | [private] |
The default constructor.
| output_cpio::output_cpio | ( | const output_cpio & | ) | [private] |
The copy constructor. Do not use.
| output::pointer output_cpio::child | ( | const nstring & | name, |
| long | len | ||
| ) |
The child method is used to create a child archive.
| name | The name of the file in the archive. |
| len | The length of the archive. Use -1 if you don't know and it will be stached into memory until the length is known. |
| void output_cpio::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_cpio::filename | ( | void | ) | const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
| long output_cpio::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_cpio& output_cpio::operator= | ( | const output_cpio & | ) | [private] |
The assignment operator. Do not use.
| nstring output_cpio::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_cpio::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_cpio::deeper [private] |
time_t output_cpio::mtime [private] |
1.7.6.1