HDK
|
#include <CL_ClipIO.h>
Public Member Functions | |
bool | readClip (const char *file_name, CL_Clip &clip) |
bool | writeClip (const char *file_name, const CL_Clip &clip) |
bool | canReadFileType (const char *file_name) |
bool | canWriteFileType (const char *file_name) |
int | getNumReadableExtensions () const |
const char * | getReadableExtension (int index) const |
int | getNumWritableExtensions () const |
const char * | getWritableExtension (int index) const |
void | registerClipReader (const char *extension, CL_ClipReader &clip_reader) |
void | registerClipWriter (const char *extension, CL_ClipWriter &clip_writer) |
Static Public Member Functions | |
static CL_ClipIO & | inst () |
Definition at line 23 of file CL_ClipIO.h.
bool CL_ClipIO::canReadFileType | ( | const char * | file_name | ) |
Returns true if the file extension is supported. The input can be the full file path.
bool CL_ClipIO::canWriteFileType | ( | const char * | file_name | ) |
|
inline |
Definition at line 41 of file CL_ClipIO.h.
|
inline |
Definition at line 46 of file CL_ClipIO.h.
Definition at line 43 of file CL_ClipIO.h.
Definition at line 48 of file CL_ClipIO.h.
|
static |
void CL_ClipIO::registerClipReader | ( | const char * | extension, |
CL_ClipReader & | clip_reader | ||
) |
void CL_ClipIO::registerClipWriter | ( | const char * | extension, |
CL_ClipWriter & | clip_writer | ||
) |