Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ChannelIO Class Reference

Support for loading and saving channel suites in different formats. More...

#include <channelio.h>

List of all members.

Public Types

typedef ChannelIOFormat Format
typedef ChannelIOFormatList FormatList

Static Public Methods

ChannelFileMetaInfo getMetaInfo (QtVision *qtv, const QString &filename, const char *fmt=0)
bool load (QtVision *qtv, ChannelStore *store, const QString &filename, const char *fmt=0)
bool save (QtVision *qtv, ChannelStore *store, const QString &filename, const char *fmt=0)
void registerFormat (QtVision *qtv, ChannelIOFormat *format)
ChannelIOFormatList * formats (QtVision *qtv)
ChannelIOFormatfindFormat (QtVision *qtv, const char *fmt, int flags=ChannelIOFormat::FormatRead)


Detailed Description

Support for loading and saving channel suites in different formats.

Author:
Richard Moore, <rich@kde.org>


Member Function Documentation

ChannelFileMetaInfo ChannelIO::getMetaInfo QtVision * qtv,
const QString & filename,
const char * fmt = 0
[static]
 

Get the meta info for a given channel file.

bool ChannelIO::load QtVision * qtv,
ChannelStore * store,
const QString & filename,
const char * fmt = 0
[static]
 

Loads a channel file into the specified store.

bool ChannelIO::save QtVision * qtv,
ChannelStore * store,
const QString & filename,
const char * fmt = 0
[static]
 

Save the channels in the store to the specified file.

void ChannelIO::registerFormat QtVision * qtv,
ChannelIOFormat * format
[static]
 

Registers the specified format.

ChannelIOFormatList* ChannelIO::formats QtVision * qtv [static]
 

Returns a list of all the known formats.

ChannelIOFormat* ChannelIO::findFormat QtVision * qtv,
const char * fmt,
int flags = ChannelIOFormat::FormatRead
[static]
 

Try to find a format handler for the specified format.

The flags indicate the facility we need, ie. reading or writing. If there is no matching handler, 0 is returned.


The documentation for this class was generated from the following file:
Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001