|
Aegis
4.25.D505
|
#include <tar.h>
Public Member Functions | |
| virtual | ~input_tar () |
| input_tar (input &deeper) | |
| input | child (nstring &archive_name, bool &executable) |
| nstring | name () |
| off_t | length () |
| ssize_t | read_inner (void *data, size_t nbytes) |
| off_t | ftell_inner () |
Private Member Functions | |
| nstring | read_data_as_string (size_t hsize) |
| void | padding () |
| input_tar () | |
| input_tar (const input_tar &arg) | |
| input_tar & | operator= (const input_tar &arg) |
Private Attributes | |
| input | deeper |
| virtual input_tar::~input_tar | ( | ) | [virtual] |
The destructor.
| input_tar::input_tar | ( | input & | deeper | ) |
The constructor.
| deeper | the data sourec for this filter. |
| input_tar::input_tar | ( | ) | [private] |
The default constructor.
| input_tar::input_tar | ( | const input_tar & | arg | ) | [private] |
The copy constructor.
| input input_tar::child | ( | nstring & | archive_name, |
| bool & | executable | ||
| ) |
The child method is used to obtain the next archive element.
| archive_name | Use to return the name of the file in the archive to the caller. |
| executable | Use to return the executability of the file to the caller. |
| off_t input_tar::ftell_inner | ( | ) | [virtual] |
The ftell_inner method is used to determine the unbuffered current position within the input.
Implements input_ty.
| off_t input_tar::length | ( | ) | [virtual] |
The length method is used to determine the length of the input. May return -1 if the length is unknown.
Implements input_ty.
| nstring input_tar::name | ( | ) | [virtual] |
The name method is used to determine the name of the input.
Implements input_ty.
| void input_tar::padding | ( | ) | [private] |
| nstring input_tar::read_data_as_string | ( | size_t | hsize | ) | [private] |
| ssize_t input_tar::read_inner | ( | void * | data, |
| size_t | nbytes | ||
| ) | [virtual] |
The read_inner method is used to read unbuffered data from the given input stream. At most nbytes bytes will be read into data. The number of bytes actually read will be returned. At end-of-file, a value <= 0 will be returned, and data will be unchanged. All file read errors or format errors are fatal, and will cause the method to not return.
| data | Where to put the results of the read. |
| nbytes | The maximum number of bytes to read. |
Implements input_ty.
input input_tar::deeper [private] |
1.7.6.1