Class CommandMapperFormatGenerator
Defined in File command_mapper_format_generator.hpp
Class Documentation
-
class CommandMapperFormatGenerator
A utility for generating a readable format of the current command mappings in a particular CommandMapper.
Public Functions
-
inline explicit CommandMapperFormatGenerator(const CommandMapper &mapper)
-
~CommandMapperFormatGenerator() = default
-
const std::vector<std::string> generateMappings() const
Note
This is very slow because of the necessary std::string parsing. Never call this while performance matters.
- Returns:
A list of mappings in string format, parsed from the CommandMapper passed into the class.
-
inline explicit CommandMapperFormatGenerator(const CommandMapper &mapper)