MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getChildrenNames

Method getChildrenNames

src/common/types/types.cpp:485–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485std::vector<std::string> StructTypeInfo::getChildrenNames() const {
486 std::vector<std::string> childrenNames{fields.size()};
487 for (auto i = 0u; i < fields.size(); i++) {
488 childrenNames[i] = fields[i].getName();
489 }
490 return childrenNames;
491}
492
493const std::vector<StructField>& StructTypeInfo::getStructFields() const {
494 return fields;

Callers 2

getFieldNamesMethod · 0.80
toStringMethod · 0.80

Calls 2

sizeMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected