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

クラス MiX::Comment の解説

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

#include <Comment.h>

MiX::Commentに対するクラス階層図:

MiX::Value MiX::Node すべてのメンバリスト

公開型

typedef Comment< Char, Traits,
XMLTraits > 
this_type
typedef NodeContainer< Char,
Traits, XMLTraits > 
nodecontainer_type

公開メンバ

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

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

virtual string_type toString (bool is_indent=false, int indent_off=0) 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 Comment< Char, Traits, XMLTraits > &src)
 コピーコンストラクタ. より詳しく...


フレンド

class DOM_Parser< Char, Traits, XMLTraits >

解説

template<class Char, class Traits, class XMLTraits>
class MiX::Comment< Char, Traits, XMLTraits >

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


メンバ型定義の解説

template<class Char, class Traits, class XMLTraits>
typedef NodeContainer<Char,Traits,XMLTraits> MiX::Comment::nodecontainer_type
 

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

template<class Char, class Traits, class XMLTraits>
typedef Comment<Char,Traits,XMLTraits> MiX::Comment::this_type
 

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


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

template<class Char, class Traits, class XMLTraits>
MiX::Comment< Char, Traits, XMLTraits >::Comment const string_type &    val [inline, protected]
 

コンストラクタ.

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

template<class Char, class Traits, class XMLTraits>
MiX::Comment< Char, Traits, XMLTraits >::Comment const Comment< Char, Traits, XMLTraits > &    src [inline, protected]
 

コピーコンストラクタ.

Commentはコピーできません。

template<class Char, class Traits, class XMLTraits>
virtual MiX::Comment< Char, Traits, XMLTraits >::~Comment   throw () [inline, virtual]
 

デストラクタ.


メンバ関数の解説

template<class Char, class Traits, class XMLTraits>
MiX::Comment< Char, Traits, XMLTraits >::MiX_Template_Typedef Char   ,
Traits   ,
XMLTraits   
 

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

template<class Char, class Traits, class XMLTraits>
this_type& MiX::Comment< Char, Traits, XMLTraits >::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 Char, class Traits, class XMLTraits>
virtual NodeType MiX::Comment< Char, Traits, XMLTraits >::getType   const [inline, virtual]
 

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

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

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

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

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

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

template<class Char, class Traits, class XMLTraits>
NodeType MiX::Comment< Char, Traits, XMLTraits >::type   [inline, static]
 

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

常にNode_Commentを返します


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

template<class Char, class Traits, class XMLTraits>
friend class DOM_Parser< Char, Traits, XMLTraits > [friend]
 

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


このクラスの解説は次のファイルから生成されました:
MiXに対してFri Jun 28 05:14:00 2002に生成されました。 doxygen1.2.11.1 の開発者: Dimitri van Heesch, © 1997-2001