HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CL_ClipIO Class Reference

#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_ClipIOinst ()
 

Protected Member Functions

CL_ClipReaderfindReader (const char *name) const
 
CL_ClipWriterfindWriter (const char *name) const
 

Detailed Description

Definition at line 23 of file CL_ClipIO.h.

Member Function Documentation

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)
CL_ClipReader* CL_ClipIO::findReader ( const char *  name) const
inlineprotected

Definition at line 61 of file CL_ClipIO.h.

CL_ClipWriter* CL_ClipIO::findWriter ( const char *  name) const
inlineprotected

Definition at line 66 of file CL_ClipIO.h.

int CL_ClipIO::getNumReadableExtensions ( ) const
inline

Definition at line 41 of file CL_ClipIO.h.

int CL_ClipIO::getNumWritableExtensions ( ) const
inline

Definition at line 46 of file CL_ClipIO.h.

const char* CL_ClipIO::getReadableExtension ( int  index) const
inline

Definition at line 43 of file CL_ClipIO.h.

const char* CL_ClipIO::getWritableExtension ( int  index) const
inline

Definition at line 48 of file CL_ClipIO.h.

static CL_ClipIO& CL_ClipIO::inst ( )
static
bool CL_ClipIO::readClip ( const char *  file_name,
CL_Clip clip 
)
void CL_ClipIO::registerClipReader ( const char *  extension,
CL_ClipReader clip_reader 
)
void CL_ClipIO::registerClipWriter ( const char *  extension,
CL_ClipWriter clip_writer 
)
bool CL_ClipIO::writeClip ( const char *  file_name,
const CL_Clip clip 
)

The documentation for this class was generated from the following file: