LibCapy - fileFormat

Virtual parent class for all file format support.

Macros:

CapyFileFormat class definition macro. Type of the format CapyFileFormatType type; Human readable type char const* lbl; Given an object of type , Load an instance of the object from a file

Input argument(s):

file: the file (as an opened CapyStreamIo)

Output and side effect(s):

Return the instance of the object. Exceptions: May raise CapyExc_StreamReadError, CapyExc_UnsupportedFormat, CapyExc_InvalidStream * (*load)(CapyStreamIo* const file); Save an instance of the object to a file

Input argument(s):

obj: the instance to save
file: the file (as an opened CapyStreamIo)
Exceptions: May raise CapyExc_StreamWriteError, CapyExc_UnsupportedFormat void (*save)( const* const obj, CapyStreamIo* const file);

Enumerations:

Supported file formats

Typedefs:

CapyFileFormat object

Functions:

Create a CapyFileFormat

Input argument(s):

type: the type of the format

Output and side effect(s):

Return a CapyFileFormat

2022-07-01
in LibCapy,
80 views
Copyright 2021-2024 Baillehache Pascal