|
|
Support for loading and saving channel suites in different formats.
typedef ChannelIOFormat Format | Format |
typedef ChannelIOFormatList FormatList | FormatList |
bool load ( ChannelStore *store, const QString &filename, const char *fmt=0 )
| load |
[static]
Loads a channel file into the specified store.
bool save ( ChannelStore *store, const QString &filename, const char *fmt=0 )
| save |
[static]
Save the channels in the store to the specified file.
void registerFormat ( ChannelIOFormat *format )
| registerFormat |
[static]
Registers the specified format.
ChannelIOFormatList * formats ()
| formats |
[static]
Returns a list of all the known formats.
ChannelIOFormat * findFormat ( const char *fmt, int flags = ChannelIOFormat::FormatRead )
| findFormat |
[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.
const char * guessFormat ( const QString &filename )
| guessFormat |
[static]
Tries to guess the format from the filename.