MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / convertOSArgumentVectorToMap

Function convertOSArgumentVectorToMap

src/measure/OSArgument.cpp:1094–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092 }
1093
1094 std::map<std::string, OSArgument> convertOSArgumentVectorToMap(const std::vector<OSArgument>& arguments) {
1095 std::map<std::string, OSArgument> argMap;
1096 for (const OSArgument& arg : arguments) {
1097 argMap.insert(std::make_pair(arg.name(), arg.clone()));
1098 }
1099 return argMap;
1100 }
1101
1102 Json::Value OSArgument::toJSON() const {
1103 Json::Value root;

Callers 4

getUserInputMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 3

insertMethod · 0.45
nameMethod · 0.45
cloneMethod · 0.45

Tested by 3

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68