Vuo
0.9.1
|
The type of data in a file.
Enumerations | |
enum | VuoFileType { VuoFileType_AnyFile, VuoFileType_Audio, VuoFileType_Image, VuoFileType_Mesh, VuoFileType_Movie, VuoFileType_Scene, VuoFileType_Folder } |
The type of data in a file. More... | |
Functions | |
VuoFileType | VuoFileType_valueFromJson (json_object *js) |
Decodes the JSON object js to create a new value. | |
json_object * | VuoFileType_jsonFromValue (const VuoFileType value) |
Encodes value as a JSON object. | |
char * | VuoFileType_summaryFromValue (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_allowedValues (void) |
Returns a list of values that instances of this type can have. | |
VuoFileType | VuoFileType_valueFromString (const char *str) |
Automatically generated function. | |
char * | VuoFileType_stringFromValue (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_allowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
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.
|
read |
Encodes value as a JSON object.
void VuoFileType_release | ( | VuoFileType | value | ) |
Automatically generated function.
void VuoFileType_retain | ( | VuoFileType | value | ) |
Automatically generated function.
char* VuoFileType_stringFromValue | ( | const VuoFileType | value | ) |
Automatically generated function.
char * VuoFileType_summaryFromValue | ( | const VuoFileType | value | ) |
Returns a compact string representation of value.
VuoFileType VuoFileType_valueFromJson | ( | json_object * | js | ) |
Decodes the JSON object js to create a new value.
VuoFileType VuoFileType_valueFromString | ( | const char * | str | ) |
Automatically generated function.