output_cpio Class Reference

#include <cpio.h>

Inheritance diagram for output_cpio:

output

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 () const
const char * type_name () const
long ftell_inner () const
void write_inner (const void *data, size_t length)
void end_of_line_inner ()

Private Member Functions

 output_cpio ()
 output_cpio (const output_cpio &)
output_cpiooperator= (const output_cpio &)

Private Attributes

output::pointer deeper
time_t mtime

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 destructor.

output_cpio::output_cpio ( const output::pointer deeper,
time_t  mtime 
)

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]

The default constructor.

output_cpio::output_cpio ( const output_cpio  )  [private]

The copy constructor. Do not use.


Member Function Documentation

output::pointer output_cpio::child ( const nstring name,
long  len 
)

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.

output_cpio& output_cpio::operator= ( const output_cpio  )  [private]

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.

time_t output_cpio::mtime [private]

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:

Generated on Wed Mar 12 23:37:40 2008 for Aegis by  doxygen 1.5.5