blob: 6d8fc084626097a470ba2b75d72313ab04e3e44d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "commonObjects.h"
RowSetPtr
CommonObjects::getSource(const std::string & name) const
{
RowSets::index<bySOName>::type::const_iterator i = rowSets.get<bySOName>().find(name);
if (i != rowSets.get<bySOName>().end()) {
return *i;
}
throw CommonObjects::DataSourceNotFound();
}
|