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

Method appendCppModuleCommands

generator/VulkanHppGenerator.cpp:753–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753void VulkanHppGenerator::appendCppModuleCommands( std::vector<RequireData> const & requireData,
754 std::set<std::string> & listedCommands,
755 std::string const & title,
756 std::string & commandMembers ) const
757{
758 std::string members;
759 forEachRequiredCommand( requireData,
760 [&]( NameLine const & command, auto const & )
761 {
762 if ( listedCommands.insert( command.name ).second )
763 {
764 members += "using ::PFN_" + command.name + ";\n";
765 }
766 } );
767 commandMembers += addTitleAndProtection( title, members );
768}
769
770void VulkanHppGenerator::checkAttributes( int line,
771 std::map<std::string, std::string> const & attributes,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected