/* * File: unicode.hpp * Author: etienne * * Created on 28 April 2009, 5:53 PM */ #ifndef _UNICODE_HPP #define _UNICODE_HPP #include #include namespace unicode { typedef unsigned int code_point; class string : public std::basic_string { public: string(); virtual ~string() throw(); std::vector encode(); string& decode( std::vector& ); private: std::pair< unsigned char, code_point > m_code; std::pair< code_point, code_point > m_range; protected: }; } #endif /* _UNICODE_HPP */