Searched refs:g_SubCommandsMap (Results 1 – 1 of 1) sorted by relevance
25 static std::map<std::string, std::unique_ptr<SubCommand>> g_SubCommandsMap; variable161 if (g_SubCommandsMap.count(cmdName) == 0) { in RegisterSubCommand()163 g_SubCommandsMap.insert(std::make_pair(cmdName, std::move(subCommand))); in RegisterSubCommand()174 g_SubCommandsMap.clear(); in ClearSubCommands()179 return g_SubCommandsMap; in GetSubCommands()186 auto found = g_SubCommandsMap.find(cmdName); in FindSubCommand()187 if (found != g_SubCommandsMap.end()) { in FindSubCommand()