#include <CXSIFilter.h>
Inheritance diagram for CXSIFilter::
This base class defines the basis for all filters in the system. A filter will be used both for reading and writing to/from a file. Filters can be chained so we can create constructs like, BUFFERING | ASCII or COMPRESS for example.
|
Constructor |
|
Destructor |
|
Closes the file when finished Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
Tests whether we have reached the end of file
Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
returns the current header
|
|
returns the current ID
|
|
Returns the name of the file used
|
|
Returns the current subfilter
|
|
Opens the file for either reading or writing
Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
Reads a number of bytes into the buffer passed in.
Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
Sets the header to be used for the file ("xsi 0360txt") for example
|
|
Sets the ID for the filter. This ID will appear inside the dotXSI header
|
|
Sets the name of the file to be used, needed because the FTK receives the name, but it is the last filter that will open the file, so it has to be passed down from filter to filter.
|
|
Sets sub filter, used during construction.
|
|
Returns the current position in the file.
Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
Writes a number of bytes to the file
Reimplemented in CASCIIFilter, CBINFilter, CBufferFilter, and CLegacyFilter. |
|
Writes out the header, this is called when we are about to write the file, to make sure the header is the first thing written in the file. |
© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.