MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/openvdb / getStr

Method getStr

openvdb_cmd/vdb_tool/include/Parser.h:711–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709// ==============================================================================================================
710
711std::string Parser::getStr(const std::string &name) const
712{
713 for (auto &opt : iter->options) {
714 if (opt.name != name) continue;// linear search
715 std::string str = opt.value;// deep copy since it might get modified by map
716 processor(str);
717 return str;
718 }
719 throw std::invalid_argument(iter->name+": Parser::getStr: no option named \""+name+"\"");
720}// Parser::getStr
721
722// ==============================================================================================================
723

Callers 4

getMethod · 0.95
TEST_FFunction · 0.80
string>Method · 0.80
printMethod · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64