src/app/http-streamer/incmd.cpp
const cli::ParameterVector
InputDelCommand::getCompletion(const cli::ParameterVector& setparams)
{
    cli::ParameterVector res;
    if (setparams.empty())
    {
        InputInfoList infos = getModule<Streamer>()->getInputInfo();
        for (InputInfoList::iterator i = infos.begin(); i != infos.end(); i++)
        {
            res.push_back((*i)->getRouteInfo()->getName());
        }
    }
    return res;
}
// 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
InputDelCommand::getCompletion(const cli::ParameterVector& setparams)
{
    cli::ParameterVector res;
    if (setparams.empty())
    {
        InputInfoList infos = getModule<Streamer>()->getInputInfo();
        for (InputInfoList::iterator i = infos.begin(); i != infos.end(); i++)
        {
            res.push_back((*i)->getRouteInfo()->getName());
        }
    }
    return res;
}
const cli :: ParameterVector InputDelCommand :: getCompletion ( const cli :: ParameterVector & setparams ) { cli :: ParameterVector res ; if ( setparams . empty ( ) ) { InputInfoList infos = getModule < Streamer > ( ) -> getInputInfo ( ) ; for ( InputInfoList :: iterator i = infos . begin ( ) ; i != infos . end ( ) ; i ++ ) { res . push_back ( ( * i ) -> getRouteInfo ( ) -> getName ( ) ) ; } } return res ; }
Retrives list of possible completions for a n's parameter
Retrives list of possible completions for a n ' s parameter