MCPcopy Create free account
hub / github.com/Autodesk/Aurora / getQuery

Method getQuery

Libraries/ImageProcessingResolver/Resolver.h:60–69  ·  view source on GitHub ↗

Get query from dictionary as float.

Source from the content-addressed store, hash-verified

58
59 // Get query from dictionary as float.
60 bool getQuery(const std::string key, float* pValOut) const
61 {
62 std::string strVal;
63
64 if (!getQuery(key, &strVal))
65 return false;
66
67 *pValOut = (float)std::atof(strVal.c_str());
68 return true;
69 }
70
71 // Get query from dictionary as int.
72 bool getQuery(const std::string key, int* pValOut) const

Callers 3

linearizeFunction · 0.80
convertEnvMapLayoutFunction · 0.80
_OpenAssetMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected