MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / AddSubcommand_

Method AddSubcommand_

IntelPresentMon/CommonUtilities/cli/CliFramework.cpp:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 }
76 }
77 CLI::App* OptionsContainer::AddSubcommand_(std::string name, std::string desc)
78 {
79 pCurrentSubcommand_ = app_.add_subcommand(std::move(name), std::move(desc));
80 return pCurrentSubcommand_;
81 }
82 void OptionsContainer::RegisterElement_(OptionsElement_* pElement)
83 {
84 elementPtrs_.push_back(pElement);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected