Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoFileFormat.h File Reference

Description

VuoFileFormat interface.

Functions

bool VuoFileFormat_isFileOfFormat (const char *path, const char **formats, size_t numFormats)
 Returns true if the file has one of the given formats, based on the file extension.
 
bool VuoFileFormat_isSupportedAudioFile (const char *path)
 Returns true if the file is of one of the supported audio file formats.
 
bool VuoFileFormat_isSupportedImageFile (const char *path)
 Returns true if the file is of one of the supported image file formats.
 
bool VuoFileFormat_isSupportedMeshFile (const char *path)
 Returns true if the file is of one of the supported mesh file formats.
 
bool VuoFileFormat_isSupportedMovieFile (const char *path)
 Returns true if the file is of one of the supported movie file formats.
 
bool VuoFileFormat_isSupportedSceneFile (const char *path)
 Returns true if the file is of one of the supported scene file formats.
 
bool VuoFileFormat_isSupportedFeedFile (const char *path)
 Returns true if the file is of one of the supported RSS file formats.
 
bool VuoFileFormat_isSupportedJsonFile (const char *path)
 Returns true if the file is of the JSON file format.
 
bool VuoFileFormat_isSupportedXmlFile (const char *path)
 Returns true if the file is of the XML file format.
 
bool VuoFileFormat_isSupportedTableFile (const char *path)
 Returns true if the file is of one of the supported table file formats.
 
bool VuoFileFormat_isSupportedDataFile (const char *path)
 Returns true if the file is of one of the supported data file formats.
 
bool VuoFileFormat_isSupportedAppFile (const char *path)
 Returns true if the file is of one of the supported app file formats.
 

Function Documentation

bool VuoFileFormat_isFileOfFormat ( const char *  path,
const char **  formats,
size_t  numFormats 
)

Returns true if the file has one of the given formats, based on the file extension.

Todo:
https://b33p.net/kosada/node/8795 : Determine the file type from its content.
bool VuoFileFormat_isSupportedAppFile ( const char *  path)

Returns true if the file is of one of the supported app file formats.

bool VuoFileFormat_isSupportedAudioFile ( const char *  path)

Returns true if the file is of one of the supported audio file formats.

bool VuoFileFormat_isSupportedDataFile ( const char *  path)

Returns true if the file is of one of the supported data file formats.

bool VuoFileFormat_isSupportedFeedFile ( const char *  path)

Returns true if the file is of one of the supported RSS file formats.

bool VuoFileFormat_isSupportedImageFile ( const char *  path)

Returns true if the file is of one of the supported image file formats.

bool VuoFileFormat_isSupportedJsonFile ( const char *  path)

Returns true if the file is of the JSON file format.

bool VuoFileFormat_isSupportedMeshFile ( const char *  path)

Returns true if the file is of one of the supported mesh file formats.

bool VuoFileFormat_isSupportedMovieFile ( const char *  path)

Returns true if the file is of one of the supported movie file formats.

bool VuoFileFormat_isSupportedSceneFile ( const char *  path)

Returns true if the file is of one of the supported scene file formats.

bool VuoFileFormat_isSupportedTableFile ( const char *  path)

Returns true if the file is of one of the supported table file formats.

bool VuoFileFormat_isSupportedXmlFile ( const char *  path)

Returns true if the file is of the XML file format.