Orxonox  0.0.5 Codename: Arcturus
Functions
orxonox::autocompletion::detail Namespace Reference

Functions

ArgumentCompletionList _groupsandcommands (const std::string &fragment, bool bOnlyShowHidden)
 Returns a list of all console command groups AND all console command shortcuts. More...
 
ArgumentCompletionList _subcommands (const std::string &fragment, const std::string &group, bool bOnlyShowHidden)
 Returns a list of all console commands in a given group. More...
 
bool groupIsVisible (const std::map< std::string, ConsoleCommand * > &group, bool bOnlyShowHidden)
 Returns true if a group of console commands is visible (i.e. More...
 

Function Documentation

ArgumentCompletionList orxonox::autocompletion::detail::_groupsandcommands ( const std::string &  fragment,
bool  bOnlyShowHidden 
)

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

Parameters
fragmentThe last argument
bOnlyShowHiddenIf true, only hidden groups and commands are returned
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.

Parameters
fragmentThe last argument
groupThe group's name
bOnlyShowHiddenIf true, only hidden console commands are returned
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.

if at least one command in this group is visible).