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