15 switch (tokens.size()) {
36 return "Shows a list of supported rom types. "
37 "Or show info on a specific rom type.";
42 if (tokens.size() == 3) {
static void completeString(std::vector< std::string > &tokens, ITER begin, ITER end, bool caseSensitive=true)
void tabCompletion(std::vector< std::string > &tokens) const override
Attempt tab completion for this topic.
void execute(std::span< const TclObject > tokens, TclObject &result) const override
Show info on this topic.
std::string help(std::span< const TclObject > tokens) const override
Print help for this topic.
RomInfoTopic(InfoCommand &openMSXInfoCommand)
static unsigned getBlockSize(RomType type)
static std::string_view getDescription(RomType type)
static auto getAllRomTypes()
static RomType nameToRomType(std::string_view name)
void addListElements(ITER first, ITER last)
void addDictKeyValues(Args &&... args)
This file implemented 3 utility functions: