Vuo
1.2.3
|
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_object * | VuoFileType_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. | |
enum VuoFileType |
The type of data in a file.
VuoList_VuoFileType VuoFileType_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
|
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.