Aegis  4.25.D505
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
output_tar Class Reference

#include <tar.h>

Inheritance diagram for output_tar:
output

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_taroperator= (const output_tar &)

Private Attributes

output::pointer deeper

Detailed Description

The output_tar class is used to represent a tar archive.

Definition at line 27 of file tar.h.


Constructor & Destructor Documentation

virtual output_tar::~output_tar ( ) [virtual]

The destructor.

The constructor.

Parameters:
deeperThe 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.


Member Function Documentation

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.

Parameters:
nameThe name of the archive member.
lenThe exact length of the archive member. It is a bug if the wrong amount of data is written.
executableWherther 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.


Field Documentation

The deeper instance variable is used to remember the underlying output to which the tar archive is to be written.

Definition at line 80 of file tar.h.


The documentation for this class was generated from the following file: