MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / getConditional

Method getConditional

dds/idl/marshal_generator.cpp:2354–2364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2352 }
2353
2354 string getConditional(const string& field_name) const
2355 {
2356 if (cst_.empty()) {
2357 return "";
2358 }
2359 std::map<string, string>::const_iterator it = cst_.find(field_name);
2360 if (it != cst_.end()) {
2361 return it->second;
2362 }
2363 return "";
2364 }
2365
2366 string preFieldRead(const string& field_name) const
2367 {

Calls 3

emptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected