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

Function parseText

generator/VkXMLParser.cpp:2530–2539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2528}
2529
2530std::string parseText( tinyxml2::XMLElement const * element )
2531{
2532 int const line = element->GetLineNum();
2533 checkAttributes( "vk.xml", line, getAttributes( element ), {}, {} );
2534 checkElements( "vk.xml", line, getChildElements( element ), {} );
2535
2536 std::string name = element->GetText();
2537
2538 return name;
2539}
2540
2541Type parseType( tinyxml2::XMLElement const * element )
2542{

Callers 2

parseNameAndTypeModifiedFunction · 0.85
parseStructMemberFunction · 0.85

Calls 4

checkAttributesFunction · 0.85
getAttributesFunction · 0.85
checkElementsFunction · 0.85
getChildElementsFunction · 0.85

Tested by

no test coverage detected