VuoImageFormat implementation.
Definition in file VuoImageFormat.c.
Go to the source code of this file.
Functions | |
VuoImageFormat | VuoImageFormat_makeFromJson (json_object *js) |
Decodes the JSON object js , expected to contain a string, to create a new VuoImageFormat . More... | |
json_object * | VuoImageFormat_getJson (const VuoImageFormat value) |
Encodes value as a JSON object. More... | |
VuoList_VuoImageFormat | VuoImageFormat_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
char * | VuoImageFormat_getSummary (const VuoImageFormat value) |
Same as VuoImageFormat_getString () but with some capitilization involved. More... | |
struct json_object * | VuoImageFormat_getValidFileExtensions (const VuoImageFormat format) |
Return an array of valid file extensions for this format (ex, JPEG returns {"jpeg", "jpg"}). More... | |
char * | VuoImageFormat_getExtension (const VuoImageFormat value) |
Return a char* that can be used as an extension. More... | |
bool | VuoImageFormat_areEqual (const VuoImageFormat value1, const VuoImageFormat value2) |
Returns true if the two formats are identical. More... | |
bool | VuoImageFormat_isLessThan (const VuoImageFormat value1, const VuoImageFormat value2) |
Returns true if value1 < value2. More... | |