メインページ   名前空間一覧   クラス階層   構成   ファイル一覧   名前空間メンバ   構成メンバ   ファイルメンバ  

クラス テンプレートMiX::Comment の解説

XMLドキュメント内のコメントを表すクラスです. より詳しく...

#include <Comment.h>

MiX::Commentに対する継承グラフ

MiX::Value MiX::Node すべてのメンバ一覧

公開型

typedef Comment< charT, traitsT > this_type
typedef NodeContainer< charT,
traitsT > 
nodecontainer_type

公開メンバ

 MiX_Template_Typedef (charT, traitsT)
virtual ~Comment () throw ()
 デストラクタ. より詳しく...

virtual NodeType getType () const
 このノードのタイプを得ます. より詳しく...

virtual string_type toString (bool is_indent=false, int indent_off=0) const
 このCommentの文字列表現を得ます. より詳しく...

this_typeclone (element_type &parent, const typename nodelist_type::iterator &it=dmy_it) const
 このCommentを複製します. より詳しく...


静的公開メンバ

NodeType type ()
 静的にクラスからNodeTypeを得ます. より詳しく...

this_typecreate (const string_type &str, element_type &parent, const typename nodelist_type::iterator &it=dmy_it)
 Commentを生成します. より詳しく...


保護メンバ

 Comment (const string_type &val)
 コンストラクタ. より詳しく...

 Comment (const this_type &src)
 コピーコンストラクタ. より詳しく...


フレンド

class DOM_Parser< charT, traitsT >

解説

template<class charT, class traitsT>
class MiX::Comment< charT, traitsT >

XMLドキュメント内のコメントを表すクラスです.


メンバ型定義の解説

template<class charT, class traitsT>
typedef NodeContainer<charT,traitsT> MiX::Comment::nodecontainer_type
 

MiX::Nodeを再定義しています。

template<class charT, class traitsT>
typedef Comment<charT,traitsT> MiX::Comment::this_type
 

MiX::Valueを再定義しています。


コンストラクタとデストラクタの解説

template<class charT, class traitsT>
MiX::Comment< charT, traitsT >::Comment const string_type &    val [inline, protected]
 

コンストラクタ.

Commentのコンストラクタは直接呼べません
Comment<...>::createで生成してください

template<class charT, class traitsT>
MiX::Comment< charT, traitsT >::Comment const this_type   src [inline, protected]
 

コピーコンストラクタ.

Commentはコピーできません。

template<class charT, class traitsT>
virtual MiX::Comment< charT, traitsT >::~Comment   throw () [inline, virtual]
 

デストラクタ.


メンバ関数の解説

template<class charT, class traitsT>
this_type& MiX::Comment< charT, traitsT >::clone element_type &    parent,
const typename nodelist_type::iterator &    it = dmy_it
const [inline]
 

このCommentを複製します.

引数:
parent  複製先の親ノード
it  挿入する場所(parent.getChilds()内の要素を示すイテレータでなくてはなりません)

template<class charT, class traitsT>
this_type& MiX::Comment< charT, traitsT >::create const string_type &    str,
element_type &    parent,
const typename nodelist_type::iterator &    it = dmy_it
[static]
 

Commentを生成します.

str
生成するCommentの値
parent
生成するCommentの親エレメント
it
挿入する場所parent.getChilds()の要素を示すイテレータでなければなりません

template<class charT, class traitsT>
virtual NodeType MiX::Comment< charT, traitsT >::getType   const [inline, virtual]
 

このノードのタイプを得ます.

MiX::Nodeを実装しています.

template<class charT, class traitsT>
MiX::Comment< charT, traitsT >::MiX_Template_Typedef charT   ,
traitsT   
 

MiX::Valueを再定義しています。

template<class charT, class traitsT>
virtual string_type MiX::Comment< charT, traitsT >::toString bool    is_indent = false,
int    indent_off = 0
const [virtual]
 

このCommentの文字列表現を得ます.

bIndentが真なら文字列のiIndentOffsetに指定された数だけ XMLTraits::tab()が戻り値の先頭につきます

MiX::Nodeを実装しています.

template<class charT, class traitsT>
NodeType MiX::Comment< charT, traitsT >::type   [inline, static]
 

静的にクラスからNodeTypeを得ます.

常にNode_Commentを返します


フレンドと関連する関数の解説

template<class charT, class traitsT>
friend class DOM_Parser< charT, traitsT > [friend]
 

MiX::Nodeを再定義しています。


このクラスの解説は次のファイルから生成されました:
MiXに対してSat Jul 27 23:16:33 2002に生成されました。 doxygen1.2.14 作者 Dimitri van Heesch, © 1997-2002