Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CBINFilter Class Reference

This class supports both the legacy and the new binary format. More...

#include <BINFilter.h>

Inheritance diagram for CBINFilter::

CXSIFilter List of all members.

Public Methods


Detailed Description

This class supports both the legacy and the new binary format.


Constructor & Destructor Documentation

CBINFilter::CBINFilter bool    in_bLegacy
 

Constructor

Parameters:
in_bLegacy  (in legacy mode (3.0), we have to read the ENTIRE file in before we can decompress)...

CBINFilter::~CBINFilter   [virtual]
 

Destructor


Member Function Documentation

int CBINFilter::Close   [virtual]
 

Closes the file when finished

Reimplemented from CXSIFilter.

int CBINFilter::Eof   [virtual]
 

Tests whether we have reached the end of file

Returns:
int flag for end of file (1 - end of file, 0 - not end of file)

Reimplemented from CXSIFilter.

int CBINFilter::Open CSIBCString    in_szFilename,
_SI_FILE_MODE    in_Mode
[virtual]
 

Opens the file for either reading or writing

Parameters:
in_szFilename  Filename
in_Mode  mode

Reimplemented from CXSIFilter.

int CBINFilter::Read SI_Char *    out_pBuffer,
SI_Long    in_lSize
[virtual]
 

Reads a number of bytes into the buffer passed in.

Parameters:
out_pBuffer  output buffer
in_lSize  number of bytes to read
Returns:
int number of bytes read.

Reimplemented from CXSIFilter.

int CBINFilter::Tell   [virtual]
 

Returns the current position in the file.

Returns:
int position in the file (0 - beginning)

Reimplemented from CXSIFilter.

int CBINFilter::Write SI_Char *    in_pBuffer,
SI_Long    in_lSize
[virtual]
 

Writes a number of bytes to the file

Parameters:
in_pBuffer  input buffer
in_lSize  number of bytes to write
Returns:
int number of bytes written

Reimplemented from CXSIFilter.


The documentation for this class was generated from the following files: © Copyright 2001-2003 Avid Technology, Inc. All rights reserved.

© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.