メインページ   名前空間リスト   クラス階層   データ構造リスト   ファイルリスト   名前空間メンバ   データ構造メンバ   ファイルメンバ  

XMLCharTraits.h

このファイルの解説を見る。
00001 // -*- mode: c++ -*-
00002 #ifndef MIX_XMLCHARTRAITS_H_
00003 #define MIX_XMLCHARTRAITS_H_
00004 
00005 #include <string>
00006 
00007 namespace MiX{
00014   template <class Char,class Traits>
00015   class XMLCharTraits{
00016     static std::basic_string<Char,Traits> makeString(const char* szSrc);
00017   public:
00019     static Char null();
00021     static Char crlf();
00023     static Char sp();
00025     static Char tab();
00026 
00028     static Char lt();
00030     static Char eq();
00032     static Char gt();
00033 
00035     static Char slash();
00037     static Char hyphen();
00039     static Char colon();
00041     static Char semicolon();
00042 
00044     static Char exclamation();
00046     static Char question();
00048     static Char amp();
00049 
00051     static Char dblquote();
00053     static Char quote();
00054 
00055     //文字列処理
00056     //XML文書中で使われる文字列を返す。
00058     static std::basic_string<Char,Traits> xml();
00060     static std::basic_string<Char,Traits> cdata();
00062     static std::basic_string<Char,Traits> str_lt();
00064     static std::basic_string<Char,Traits> str_gt();
00066     static std::basic_string<Char,Traits> str_amp();
00068     static std::basic_string<Char,Traits> str_quot();
00070     static std::basic_string<Char,Traits> str_apos();
00071 
00073 
00080     static int ci_compare(const Char* s1,const Char* s2,size_t n);
00081     
00082   };
00083 }
00084 
00085 #ifndef MIX_XMLCHARTRAITS_CPP_
00086 #include "XMLCharTraits.cpp"
00087 #endif
00088 
00089 #endif

MiXに対してSat Mar 2 22:52:07 2002に生成されました。 doxygen1.2.11.1 の開発者: Dimitri van Heesch, © 1997-2001