Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Enumerations | Functions
VuoFileType

Description

The type of data in a file.

Enumerations

enum  VuoFileType {
  VuoFileType_AnyFile, VuoFileType_Audio, VuoFileType_Image, VuoFileType_Mesh,
  VuoFileType_Movie, VuoFileType_Scene, VuoFileType_Folder, VuoFileType_Feed
}
 The type of data in a file. More...
 

Functions

VuoFileType VuoFileType_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_objectVuoFileType_getJson (const VuoFileType value)
 Encodes value as a JSON object.
 
char * VuoFileType_getSummary (const VuoFileType value)
 Returns a compact string representation of value.
 
bool VuoFileType_isFileOfType (const VuoText path, VuoFileType fileType)
 Returns true if the file at path (assumed to be a file, not a folder) is of type fileType.
 
VuoList_VuoFileType VuoFileType_getAllowedValues (void)
 Returns a list of values that instances of this type can have.
 
VuoFileType VuoFileType_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoFileType_getString (const VuoFileType value)
 Automatically generated function.
 
void VuoFileType_retain (VuoFileType value)
 Automatically generated function.
 
void VuoFileType_release (VuoFileType value)
 Automatically generated function.
 

Enumeration Type Documentation

The type of data in a file.

Function Documentation

VuoList_VuoFileType VuoFileType_getAllowedValues ( void  )

Returns a list of values that instances of this type can have.

struct json_object * VuoFileType_getJson ( const VuoFileType  value)
read

Encodes value as a JSON object.

char* VuoFileType_getString ( const VuoFileType  value)

Automatically generated function.

char * VuoFileType_getSummary ( const VuoFileType  value)

Returns a compact string representation of value.

bool VuoFileType_isFileOfType ( const VuoText  path,
VuoFileType  fileType 
)

Returns true if the file at path (assumed to be a file, not a folder) is of type fileType.

VuoFileType VuoFileType_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

VuoFileType VuoFileType_makeFromString ( const char *  str)

Automatically generated function.

void VuoFileType_release ( VuoFileType  value)

Automatically generated function.

void VuoFileType_retain ( VuoFileType  value)

Automatically generated function.