libwordring
公開型 | 公開メンバ関数 | 限定公開変数類 | フレンド | 全メンバ一覧
wordring::whatwg::html::basic_html_atom< String, Name > クラステンプレート

列挙体と文字列の相互変換を行うクラス [詳解]

#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 &)
 

詳解

template<typename String, typename Name>
class wordring::whatwg::html::basic_html_atom< String, Name >

列挙体と文字列の相互変換を行うクラス

テンプレート引数
String文字列の型
Atom列挙体の型

対応する列挙体は以下の通り。

名前空間、タグ名、属性名の列挙体と文字列を相互に変換する。

関数詳解

◆ operator string_type()

template<typename String , typename Name >
wordring::whatwg::html::basic_html_atom< String, Name >::operator string_type ( ) const
inline

文字列化する

static_cast 用の定義。


このクラス詳解は次のファイルから抽出されました: