diff options
author | randomdan <randomdan@localhost> | 2010-12-14 00:20:38 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-12-14 00:20:38 +0000 |
commit | 3f452dd8b71e546d91377153e24e6ed530307e90 (patch) | |
tree | a4ecc86baff05083ee7149a06c735c28eb79c8b5 /project2/commonObjects.cpp | |
parent | Support binding null to an SQL command parameter (diff) | |
download | project2-3f452dd8b71e546d91377153e24e6ed530307e90.tar.bz2 project2-3f452dd8b71e546d91377153e24e6ed530307e90.tar.xz project2-3f452dd8b71e546d91377153e24e6ed530307e90.zip |
All new fangled iterators, views, row engines, exceptions, the list goes on
Includes site and console updates to match
Diffstat (limited to 'project2/commonObjects.cpp')
-rw-r--r-- | project2/commonObjects.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
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(); +} + + |