src/modules/adapter/resourcesprotocol.cpp
StringList ResourcesProtocol::getResourceByType(const std::string& type)
{
    const std::vector<std::string> vec = m_proxy->getResourceByType(type);
    StringList result;
    std::copy(vec.begin(), vec.end(), std::back_inserter(result));
    return result;
}
// Gets a list of devices ids by it's type
Gets a list of devices ids by it's type
Gets a list of devices ids by it ' s type
StringList ResourcesProtocol::getResourceByType(const std::string& type)
{
    const std::vector<std::string> vec = m_proxy->getResourceByType(type);
    StringList result;
    std::copy(vec.begin(), vec.end(), std::back_inserter(result));
    return result;
}
StringList ResourcesProtocol :: getResourceByType ( const std :: string & type ) { const std :: vector < std :: string > vec = m_proxy -> getResourceByType ( type ) ; StringList result ; std :: copy ( vec . begin ( ) , vec . end ( ) , std :: back_inserter ( result ) ) ; return result ; }
Gets a list of devices ids by it's type
Gets a list of devices ids by it ' s type