Operator Console
|
Functions | |
int | sumArrayInt (JSONNode node, int count) |
int | getIntFromArray (JSONNode node, char *name) |
void | getStringArray (JSONNode &array, int len, std::string *s) |
void | getFloatArray (JSONNode &array, double *data, int len) |
void | prepareTestSettings (int width, int height, int ncolors, const char *extension, const char *fileroot, const char *serial_number, const char *part_number, int crop_borders[4], json_string &test_settings) |
void getFloatArray | ( | JSONNode & | array, |
double * | data, | ||
int | len | ||
) |
References JSONNode::as_float().
int getIntFromArray | ( | JSONNode | node, |
char * | name | ||
) |
References JSONNode::as_array(), and JSONNode::as_int().
void getStringArray | ( | JSONNode & | array, |
int | len, | ||
std::string * | s | ||
) |
void prepareTestSettings | ( | int | width, |
int | height, | ||
int | ncolors, | ||
const char * | extension, | ||
const char * | fileroot, | ||
const char * | serial_number, | ||
const char * | part_number, | ||
int | crop_borders[4], | ||
json_string & | test_settings | ||
) |
References JSON_ARRAY, JSON_NODE, JSONNode::push_back(), JSONNode::set_name(), and JSONNode::write_formatted().
int sumArrayInt | ( | JSONNode | node, |
int | count | ||
) |
References JSONNode::as_int().