MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / parseInclude

Function parseInclude

generator/VkXMLParser.cpp:1045–1052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043}
1044
1045std::pair<std::string, int> parseInclude( tinyxml2::XMLElement const * element, std::map<std::string, std::string> const & attributes )
1046{
1047 int const line = element->GetLineNum();
1048 checkAttributes( "vk.xml", line, attributes, { { "category", { "include" } }, { "name", {} } }, {} );
1049 checkElements( "vk.xml", line, getChildElements( element ), {} );
1050
1051 return { attributes.find( "name" )->second, line };
1052}
1053
1054std::string parseMemberEnum( tinyxml2::XMLElement const * element )
1055{

Callers 1

parseTypesTypeFunction · 0.85

Calls 3

checkAttributesFunction · 0.85
checkElementsFunction · 0.85
getChildElementsFunction · 0.85

Tested by

no test coverage detected