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

Method getChildrenTypes

src/common/types/types.cpp:477–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477std::vector<const LogicalType*> StructTypeInfo::getChildrenTypes() const {
478 std::vector<const LogicalType*> childrenTypesToReturn;
479 for (auto i = 0u; i < fields.size(); i++) {
480 childrenTypesToReturn.push_back(&fields[i].getType());
481 }
482 return childrenTypesToReturn;
483}
484
485std::vector<std::string> StructTypeInfo::getChildrenNames() const {
486 std::vector<std::string> childrenNames{fields.size()};

Callers 2

getFieldTypesMethod · 0.80
toStringMethod · 0.80

Calls 3

sizeMethod · 0.45
push_backMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected