Operator Console
|
#include "JSON\JSONDefs.h"
Functions | |
int | sumArrayInt (JSONNode node, int count) |
void | getFloatArray (JSONNode &array, double *data, int len) |
int | getIntFromArray (JSONNode node, char *name) |
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 &settings) |
void getFloatArray | ( | JSONNode & | array, |
double * | data, | ||
int | len | ||
) |
References JSONNode::as_float().
Referenced by SFRplusTest::ParseOverlay().
int getIntFromArray | ( | JSONNode | node, |
char * | name | ||
) |
References JSONNode::as_array(), and JSONNode::as_int().
Referenced by BlemishTest::ParseResults().
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 & | settings | ||
) |
References JSON_ARRAY, JSON_NODE, JSONNode::push_back(), JSONNode::set_name(), and JSONNode::write_formatted().
Referenced by ImageTest::Run().
int sumArrayInt | ( | JSONNode | node, |
int | count | ||
) |
References JSONNode::as_int().
Referenced by BlemishTest::ParseResults().