From 3f452dd8b71e546d91377153e24e6ed530307e90 Mon Sep 17 00:00:00 2001 From: randomdan Date: Tue, 14 Dec 2010 00:20:38 +0000 Subject: All new fangled iterators, views, row engines, exceptions, the list goes on Includes site and console updates to match --- project2/commonObjects.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 project2/commonObjects.cpp (limited to 'project2/commonObjects.cpp') diff --git a/project2/commonObjects.cpp b/project2/commonObjects.cpp new file mode 100644 index 0000000..f39eb60 --- /dev/null +++ b/project2/commonObjects.cpp @@ -0,0 +1,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(); +} + + -- cgit v1.2.3