Esempio n. 1
0
va::ConstVectorView getColumnFromView(const va::Matrix& view, const std::string& model,
                                      const std::string& port)
{
    for(unsigned int j=1; j < view.columns(); j++){
        if(view.getString(j,0) == (model + std::string(".") + port)){
            return view.column(j);
        }
    }
    return view.column(0);
}