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