summaryrefslogtreecommitdiff
path: root/project2/commonObjects.cpp
blob: f39eb606af763bc3ba351ccf69817087198eaaa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "commonObjects.h"

PerRowValuesPtr
CommonObjects::getSource(const std::string & name) const
{
	RowSets::const_iterator i = rowSets.find(name);
	if (i != rowSets.end()) {
		return i->second;
	}
	throw CommonObjects::DataSourceNotFound();
}