Vuo  1.2.8
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. More...
 
bool VuoFileFormat_isSupportedAudioFile (const char *path)
 Returns true if the file is of one of the supported audio file formats. More...
 
bool VuoFileFormat_isSupportedImageFile (const char *path)
 Returns true if the file is of one of the supported image file formats. More...
 
bool VuoFileFormat_isSupportedMeshFile (const char *path)
 Returns true if the file is of one of the supported mesh file formats. More...
 
bool VuoFileFormat_isSupportedMovieFile (const char *path)
 Returns true if the file is of one of the supported movie file formats. More...
 
bool VuoFileFormat_isSupportedSceneFile (const char *path)
 Returns true if the file is of one of the supported scene file formats. More...
 
bool VuoFileFormat_isSupportedFeedFile (const char *path)
 Returns true if the file is of one of the supported RSS file formats. More...
 
bool VuoFileFormat_isSupportedJsonFile (const char *path)
 Returns true if the file is of the JSON file format. More...
 
bool VuoFileFormat_isSupportedXmlFile (const char *path)
 Returns true if the file is of the XML file format. More...
 
bool VuoFileFormat_isSupportedTableFile (const char *path)
 Returns true if the file is of one of the supported table file formats. More...
 
bool VuoFileFormat_isSupportedDataFile (const char *path)
 Returns true if the file is of one of the supported data file formats. More...
 
bool VuoFileFormat_isSupportedAppFile (const char *path)
 Returns true if the file is of one of the supported app file formats. More...
 

Function Documentation

◆ VuoFileFormat_isFileOfFormat()

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.

◆ VuoFileFormat_isSupportedAppFile()

bool VuoFileFormat_isSupportedAppFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedAudioFile()

bool VuoFileFormat_isSupportedAudioFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedDataFile()

bool VuoFileFormat_isSupportedDataFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedFeedFile()

bool VuoFileFormat_isSupportedFeedFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedImageFile()

bool VuoFileFormat_isSupportedImageFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedJsonFile()

bool VuoFileFormat_isSupportedJsonFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedMeshFile()

bool VuoFileFormat_isSupportedMeshFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedMovieFile()

bool VuoFileFormat_isSupportedMovieFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedSceneFile()

bool VuoFileFormat_isSupportedSceneFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedTableFile()

bool VuoFileFormat_isSupportedTableFile ( const char *  path)

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

◆ VuoFileFormat_isSupportedXmlFile()

bool VuoFileFormat_isSupportedXmlFile ( const char *  path)

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