uuu
uuu (Universal Update Utility), mfgtools 3.0
Loading...
Searching...
No Matches
BuiltInScriptMap Class Reference

A map of all built-in scripts indexed by their names. More...

#include <buildincmd.h>

Inheritance diagram for BuiltInScriptMap:

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.

Detailed Description

A map of all built-in scripts indexed by their names.

Each built-in script is represented by a BuiltInScript instance.

Constructor & Destructor Documentation

◆ BuiltInScriptMap()

BuiltInScriptMap::BuiltInScriptMap ( const BuiltInScriptRawData * p)

Create a new map by parsing an array of BuiltInScriptRawData instances.

Parameters
[in]pPointer to the first element of a BuiltInScriptRawData array

Member Function Documentation

◆ PrintAutoComplete()

void BuiltInScriptMap::PrintAutoComplete ( const std::string & match,
const char * space = " " ) const

Auto-complete names of built-in scripts if they match match

Parameters
[in]matchThe string against which the scripts' names will be matched
[in]spaceA separator character which shall be printed after the completed script name

◆ ShowAll()

void BuiltInScriptMap::ShowAll ( ) const

Print information about all contained scripts to stdout.

◆ ShowCmds()

void BuiltInScriptMap::ShowCmds ( FILE * file = stdout) const

Print the names of all contained scripts to the given stream.

Parameters
[in]fileThe stream to which the names shall be printed

The documentation for this class was generated from the following files:
  • /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/uuu/buildincmd.h
  • /home/builder/.cache/aurutils/sync/mfgtools-git/src/mfgtools-git/uuu/buildincmd.cpp