src/modules/dvb/infocommand.cpp
const cli::ParameterVector
InfoCommand::getCompletion(const cli::ParameterVector& setparams)
{
    cli::ParameterVector result;

    if (setparams.empty())
    {
        result.push_back(cli::ALL);
        StringList list = getDevNames();
        std::copy(list.begin(), list.end(),
                  std::back_inserter(result));
    }

    return result;
}
// Retrives list of possible completions for a n's parameter
Retrives list of possible completions for a n's parameter
Retrives list of possible completions for a n ' s parameter
const cli::ParameterVector
InfoCommand::getCompletion(const cli::ParameterVector& setparams)
{
    cli::ParameterVector result;
    if (setparams.empty())
    {
        result.push_back(cli::ALL);
        StringList list = getDevNames();
        std::copy(list.begin(), list.end(),
                  std::back_inserter(result));
    }
    return result;
}
const cli :: ParameterVector InfoCommand :: getCompletion ( const cli :: ParameterVector & setparams ) { cli :: ParameterVector result ; if ( setparams . empty ( ) ) { result . push_back ( cli :: ALL ) ; StringList list = getDevNames ( ) ; std :: copy ( list . begin ( ) , list . end ( ) , std :: back_inserter ( result ) ) ; } return result ; }
Retrives list of possible completions for a n's parameter
Retrives list of possible completions for a n ' s parameter