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