Orxonox  0.0.5 Codename: Arcturus
Namespaces | Macros | Functions
ArgumentCompletionFunctions.cc File Reference

Implementation of all argument completion functions. More...

#include "ArgumentCompletionFunctions.h"
#include <map>
#include <boost/filesystem.hpp>
#include "util/Convert.h"
#include "util/StringUtils.h"
#include "core/class/Identifier.h"
#include "core/config/SettingsConfigFile.h"
#include "core/config/ConfigValueContainer.h"
#include "CommandExecutor.h"
#include "ConsoleCommand.h"
#include "ConsoleCommandManager.h"
#include "TclThreadManager.h"

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 
 orxonox::autocompletion
 
 orxonox::autocompletion::detail
 

Macros

#define BF_DICTIONARY_ENTRY_NAME   string
 
#define BF_GENERIC_STRING   string
 
#define BF_LEAF   leaf
 

Functions

ArgumentCompletionList orxonox::autocompletion::detail::_groupsandcommands (const std::string &fragment, bool bOnlyShowHidden)
 Returns a list of all console command groups AND all console command shortcuts. More...
 
ArgumentCompletionList orxonox::autocompletion::detail::_subcommands (const std::string &fragment, const std::string &group, bool bOnlyShowHidden)
 Returns a list of all console commands in a given group. More...
 
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. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::fallback ()
 Fallback implementation, returns an empty list. More...
 
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. More...
 
bool orxonox::autocompletion::detail::groupIsVisible (const std::map< std::string, ConsoleCommand * > &group, bool bOnlyShowHidden)
 Returns true if a group of console commands is visible (i.e. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::groupsandcommands (const std::string &fragment)
 Returns a list of all console command groups AND all console command shortcuts. More...
 
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. More...
 
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. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::settingssections ()
 Returns the sections of the config file. More...
 
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. More...
 
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. More...
 
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION() orxonox::autocompletion::tclthreads ()
 Returns a list of indexes of the available Tcl threads (see TclThreadManager). More...
 

Detailed Description

Implementation of all argument completion functions.

Macro Definition Documentation

#define BF_DICTIONARY_ENTRY_NAME   string
#define BF_GENERIC_STRING   string
#define BF_LEAF   leaf