output_cpio Class Reference
#include <cpio.h>
Detailed Description
The
output_cpio class is used to represent a container class which produces cpio(7) fomatted
output streams.
Definition at line 33 of file cpio.h.
Constructor & Destructor Documentation
virtual output_cpio::~output_cpio |
( |
|
) |
[virtual] |
The constructor.
- Parameters:
-
| 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] |
output_cpio::output_cpio |
( |
const output_cpio & |
|
) |
[private] |
The copy constructor. Do not use.
Member Function Documentation
The child method is used to create a child archive.
- Parameters:
-
| 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. |
nstring output_cpio::filename |
( |
|
) |
const [protected, virtual] |
The filename method is used to obtain the filename of this output.
Implements output.
const char* output_cpio::type_name |
( |
|
) |
const [protected, virtual] |
The type_name method is used to determine the name of this output device or file or type.
Implements output.
long output_cpio::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_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.
void output_cpio::end_of_line_inner |
( |
|
) |
[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.
The assignment operator. Do not use.
Field Documentation
The deeper instance variable is used to remember the underlying output to which the CPIO archive is to be written.
Definition at line 85 of file cpio.h.
The mtime instance variable is used to remember the time to attach to all archive members.
Definition at line 91 of file cpio.h.
The documentation for this class was generated from the following file: