Orxonox  0.0.5 Codename: Arcturus
Namespaces | Functions
orxonox::autocompletion Namespace Reference

Namespaces

 detail
 

Functions

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION_MULTI() command (const std::string &fragment)
 Returns a list of commands and groups and also supports auto-completion of the arguments of these commands. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() fallback ()
 Fallback implementation, returns an empty list. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() files (const std::string &fragment)
 Returns possible files and directories and also supports files in arbitrary deeply nested subdirectories. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() groupsandcommands (const std::string &fragment)
 Returns a list of all console command groups AND all console command shortcuts. More...
 
ARGUMENT_COMPLETION_FUNCTION_DECLARATION() guinames ()
 Returns the names of all currently existing OverlayGroups. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION_MULTI() hiddencommand (const std::string &fragment)
 Returns a list of hidden commands and groups and also supports auto-completion of the arguments of these commands. More...
 
ARGUMENT_COMPLETION_FUNCTION_DECLARATION() overlaygroupnames ()
 Returns the names of all currently existing OverlayGroups. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() settingsentries (const std::string &fragment, const std::string &section)
 Returns the entries in a given section of the config file. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() settingssections ()
 Returns the sections of the config file. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() settingsvalue (const std::string &fragment, const std::string &entry, const std::string &section)
 Returns the current value of a given value in a given section of the config file. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() subcommands (const std::string &fragment, const std::string &group)
 Returns a list of all console commands in a given group. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() tclthreads ()
 Returns a list of indexes of the available Tcl threads (see TclThreadManager). More...
 

Function Documentation

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION_MULTI() orxonox::autocompletion::command ( const std::string &  fragment)

Returns a list of commands and groups and also supports auto-completion of the arguments of these commands.

This is a multi-word function, because commands are composed of 1-2 words and additional arguments.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::fallback ( )

Fallback implementation, returns an empty list.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::files ( const std::string &  fragment)

Returns possible files and directories and also supports files in arbitrary deeply nested subdirectories.

This function returns files and directories in the given path. This allows to navigate iteratively through the file system. The first argument fragment is used to get the current path.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::groupsandcommands ( const std::string &  fragment)

Returns a list of all console command groups AND all console command shortcuts.

false orxonox::autocompletion::guinames ( )

Returns the names of all currently existing OverlayGroups.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION_MULTI() orxonox::autocompletion::hiddencommand ( const std::string &  fragment)

Returns a list of hidden commands and groups and also supports auto-completion of the arguments of these commands.

This is a multi-word function, because commands are composed of 1-2 words and additional arguments.

This function makes commands visible that would usually be hidden.

orxonox::autocompletion::overlaygroupnames ( )

Returns the names of all currently existing OverlayGroups.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::settingsentries ( const std::string &  fragment,
const std::string &  section 
)

Returns the entries in a given section of the config file.

orxonox::autocompletion::settingssections ( )

Returns the sections of the config file.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::settingsvalue ( const std::string &  fragment,
const std::string &  entry,
const std::string &  section 
)

Returns the current value of a given value in a given section of the config file.

ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::subcommands ( const std::string &  fragment,
const std::string &  group 
)

Returns a list of all console commands in a given group.

orxonox::autocompletion::tclthreads ( )

Returns a list of indexes of the available Tcl threads (see TclThreadManager).