VTK
9.1.0
|
Functions | |
void | PrintMemberNames (const Json::Value &root) |
print names of members of root. | |
bool | GetPointFromJSON (const Json::Value &pointJSON, double point[3]) |
read a 3d point stored directly in JSON | |
bool | GetIntValue (const Json::Value &root, int &value) |
Get int value from Json variable, with existence and type checks. | |
bool | GetUIntValue (const Json::Value &root, unsigned int &value) |
Get int value from Json variable, with existence and type checks. | |
bool | GetDoubleValue (const Json::Value &root, double &value) |
Get double value from Json variable, with existence and type checks. | |
bool | GetStringValue (const Json::Value &root, std::string &value) |
Get string value from Json variable, with existence and type checks. | |
bool | GetBoolValue (const Json::Value &root, bool &value) |
Get bool value from Json variable, with existence and type checks. | |
bool | GetIntArray (const Json::Value &root, std::vector< int > &value) |
Get int array from Json variable, with existence and type checks. | |
bool | GetUIntArray (const Json::Value &root, std::vector< unsigned int > &value) |
Get int array from Json variable, with existence and type checks. | |
bool | GetFloatArray (const Json::Value &root, std::vector< float > &value) |
Get float array from Json variable, with existence and type checks. | |
bool | GetDoubleArray (const Json::Value &root, std::vector< double > &value) |
Get double array from Json variable, with existence and type checks. | |
void omf::helper::PrintMemberNames | ( | const Json::Value & | root | ) |
print names of members of root.
Just used for debugging
bool omf::helper::GetPointFromJSON | ( | const Json::Value & | pointJSON, |
double | point[3] | ||
) |
read a 3d point stored directly in JSON
bool omf::helper::GetIntValue | ( | const Json::Value & | root, |
int & | value | ||
) |
Get int value from Json variable, with existence and type checks.
bool omf::helper::GetUIntValue | ( | const Json::Value & | root, |
unsigned int & | value | ||
) |
Get int value from Json variable, with existence and type checks.
bool omf::helper::GetDoubleValue | ( | const Json::Value & | root, |
double & | value | ||
) |
Get double value from Json variable, with existence and type checks.
bool omf::helper::GetStringValue | ( | const Json::Value & | root, |
std::string & | value | ||
) |
Get string value from Json variable, with existence and type checks.
bool omf::helper::GetBoolValue | ( | const Json::Value & | root, |
bool & | value | ||
) |
Get bool value from Json variable, with existence and type checks.
bool omf::helper::GetIntArray | ( | const Json::Value & | root, |
std::vector< int > & | value | ||
) |
Get int array from Json variable, with existence and type checks.
bool omf::helper::GetUIntArray | ( | const Json::Value & | root, |
std::vector< unsigned int > & | value | ||
) |
Get int array from Json variable, with existence and type checks.
bool omf::helper::GetFloatArray | ( | const Json::Value & | root, |
std::vector< float > & | value | ||
) |
Get float array from Json variable, with existence and type checks.
bool omf::helper::GetDoubleArray | ( | const Json::Value & | root, |
std::vector< double > & | value | ||
) |
Get double array from Json variable, with existence and type checks.