namespace Formatters { class UTFStateMachine { private: int state; public: UTFStateMachine(void); /* input is what the next input would have been */ const char* get_final_result(int input); /* can and will return NULL if there is no final result (yet?) */ unsigned int transition(int input); void reset(void); }; }; // end namespace