//This file is reflex.h. #ifndef REFLEXH #define REFLEXH #include #include #include class reflex { vector pattern; vector > responses; vector >::const_iterator current; //current response static const map conjugate; public: reflex(string pattern_line, const string *begin, const string *end); reflex(const reflex& another); reflex& operator=(const reflex& another); string operator()(vector words); static vector chop(string line); }; #endif