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

#include <svt_checkout.h>

Inheritance diagram for input_svt_checkout:
input_ty

Public Member Functions

virtual ~input_svt_checkout ()
 input_svt_checkout (const nstring &filename, const nstring &version)
nstring name ()
ssize_t read_inner (void *data, size_t nbytes)
off_t length ()
off_t ftell_inner ()

Private Member Functions

 input_svt_checkout ()
 input_svt_checkout (const input_svt_checkout &)
input_svt_checkoutoperator= (const input_svt_checkout &)

Private Attributes

input src1_p
input src2_p
input src3_p
input src4_p
off_t pos

Detailed Description

The input_svt_checkout class is used to represent and input which is a version extracted from a Simple Version Tool archive.

Definition at line 29 of file svt_checkout.h.


Constructor & Destructor Documentation

The destructor.

input_svt_checkout::input_svt_checkout ( const nstring filename,
const nstring version 
)

The constructor.

Parameters:
filenameThe name of the history file being manipulated
versionThe version to checkout.

The default constructor. Do not use.

The copy constructor. Do not use.


Member Function Documentation

off_t input_svt_checkout::ftell_inner ( ) [virtual]

The ftell_inner method is used to determine the unbuffered current position within the input.

Implements input_ty.

off_t input_svt_checkout::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.

The name method is used to determine the name of the input.

Implements input_ty.

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

The assignment operator. Do not use.

ssize_t input_svt_checkout::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.

Parameters:
dataWhere to put the results of the read.
nbytesThe maximum number of bytes to read.
Returns:
The actual number of bytes read, or zero for end-of-file.

Implements input_ty.


Field Documentation

off_t input_svt_checkout::pos [private]

Definition at line 65 of file svt_checkout.h.

Definition at line 61 of file svt_checkout.h.

Definition at line 62 of file svt_checkout.h.

Definition at line 63 of file svt_checkout.h.

Definition at line 64 of file svt_checkout.h.


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