|
uuu
uuu (Universal Update Utility), mfgtools 3.0
|
A map of all built-in scripts indexed by their names. More...
#include <buildincmd.h>
Public Member Functions | |
| BuiltInScriptMap (const BuiltInScriptRawData *p) | |
| Create a new map by parsing an array of BuiltInScriptRawData instances. | |
| void | PrintAutoComplete (const std::string &match, const char *space=" ") const |
| Auto-complete names of built-in scripts if they match match. | |
| void | ShowAll () const |
| Print information about all contained scripts to stdout. | |
| void | ShowCmds (FILE *file=stdout) const |
| Print the names of all contained scripts to the given stream. | |
A map of all built-in scripts indexed by their names.
Each built-in script is represented by a BuiltInScript instance.
| BuiltInScriptMap::BuiltInScriptMap | ( | const BuiltInScriptRawData * | p | ) |
Create a new map by parsing an array of BuiltInScriptRawData instances.
| [in] | p | Pointer to the first element of a BuiltInScriptRawData array |
| void BuiltInScriptMap::PrintAutoComplete | ( | const std::string & | match, |
| const char * | space = " " ) const |
Auto-complete names of built-in scripts if they match match.
| [in] | match | The string against which the scripts' names will be matched |
| [in] | space | A separator character which shall be printed after the completed script name |
| void BuiltInScriptMap::ShowAll | ( | ) | const |
Print information about all contained scripts to stdout.
| void BuiltInScriptMap::ShowCmds | ( | FILE * | file = stdout | ) | const |
Print the names of all contained scripts to the given stream.
| [in] | file | The stream to which the names shall be printed |