MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / generate_all_groups_help

Method generate_all_groups_help

Source/Utils/cxxopts.hpp:2637–2654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2635}
2636
2637inline
2638void
2639Options::generate_all_groups_help(String& result) const
2640{
2641 std::vector<std::string> all_groups;
2642
2643 std::transform(
2644 m_help.begin(),
2645 m_help.end(),
2646 std::back_inserter(all_groups),
2647 [] (const std::map<std::string, HelpGroupDetails>::value_type& group)
2648 {
2649 return group.first;
2650 }
2651 );
2652
2653 generate_group_help(result, all_groups);
2654}
2655
2656inline
2657std::string

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected