diff options
Diffstat (limited to 'project2/iterate.hpp')
-rw-r--r-- | project2/iterate.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/project2/iterate.hpp b/project2/iterate.hpp new file mode 100644 index 0000000..87701cc --- /dev/null +++ b/project2/iterate.hpp @@ -0,0 +1,31 @@ +#include "iterate.h" + +template <class Driver> +_GenericIterate<Driver>::_GenericIterate(const xmlpp::Element * p) : + _SourceObject(p), + _Iterate(p), + Driver(p) +{ +} + +template <class Driver> +void +_GenericIterate<Driver>::execute() const +{ + Driver::execute(); +} + +template <class Driver> +void +_GenericIterate<Driver>::rowReady() const +{ + executeChildren(); +} + +template <class Driver> +void +_GenericIterate<Driver>::executeChildren() const +{ + _Iterate::executeChildren(); +} + |