-template<typename L, typename A0, typename A1>
-class LoaderFunc2: public LoaderAction
-{
-private:
- typedef void (L::*FuncType)(A0, A1);
-
- FuncType func;
-
-public:
- LoaderFunc2(FuncType f): func(f) { }
-
- virtual void execute(Loader &l, const Statement &st) const
- {
- (dynamic_cast<L &>(l).*func)(st.args[0].get<A0>(), st.args[1].get<A1>());
- }