|
libwordring
|
列挙体と文字列の相互変換を行うクラス [詳解]
#include <html_atom.hpp>
公開型 | |
| using | string_type = String |
| using | name_type = Name |
公開メンバ関数 | |
| basic_html_atom (string_type const &s) | |
| basic_html_atom (name_type i) | |
| operator string_type () const | |
| 文字列化する [詳解] | |
| operator name_type () const | |
限定公開変数類 | |
| string_type | m_string |
| name_type | m_i |
フレンド | |
| template<typename String1 , typename Name1 > | |
| bool | operator== (basic_html_atom< String1, Name1 > const &, basic_html_atom< String1, Name1 > const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator!= (basic_html_atom< String1, Name1 > const &, basic_html_atom< String1, Name1 > const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator== (basic_html_atom< String1, Name1 > const &, Name1) |
| template<typename String1 , typename Name1 > | |
| bool | operator!= (basic_html_atom< String1, Name1 > const &, Name1) |
| template<typename String1 , typename Name1 > | |
| bool | operator== (Name1, basic_html_atom< String1, Name1 > const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator!= (Name1, basic_html_atom< String1, Name1 > const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator== (basic_html_atom< String1, Name1 > const &, String1 const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator!= (basic_html_atom< String1, Name1 > const &, String1 const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator== (String1 const &, basic_html_atom< String1, Name1 > const &) |
| template<typename String1 , typename Name1 > | |
| bool | operator!= (String1 const &, basic_html_atom< String1, Name1 > const &) |
列挙体と文字列の相互変換を行うクラス
| String | 文字列の型 |
| Atom | 列挙体の型 |
対応する列挙体は以下の通り。
名前空間、タグ名、属性名の列挙体と文字列を相互に変換する。
|
inline |
文字列化する
static_cast 用の定義。
1.8.17