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

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

XMLドキュメント全体を表すクラス. より詳しく...

#include <Document.h>

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

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

公開型

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

公開メンバ

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

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

element_type & getRoot () const
 唯一の子Elementを返します. より詳しく...

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

attribute_type & operator[] (const string_type &name)
 Attributeにアクセスします. より詳しく...

this_typeclone () const
 このDocumentを複製します. より詳しく...


静的公開メンバ

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

this_typecreate (const string_type &rootname)
 Documentを生成します. より詳しく...


保護メンバ

 Document ()
 コンストラクタ. より詳しく...


フレンド

class DOM_Parser< charT, traitsT >

解説

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

XMLドキュメント全体を表すクラス.

一つの子Elementと、いくつかのAttributeを持ちます


メンバ型定義の解説

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

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

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

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


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

template<class charT, class traitsT>
MiX::Document< charT, traitsT >::Document   [inline, protected]
 

コンストラクタ.

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

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

デストラクタ.


メンバ関数の解説

template<class charT, class traitsT>
this_type& MiX::Document< charT, traitsT >::clone   const
 

このDocumentを複製します.

template<class charT, class traitsT>
this_type& MiX::Document< charT, traitsT >::create const string_type &    rootname [static]
 

Documentを生成します.

Document生成と同時に唯一の子Elementも生成します

引数:
rootname  同時に生成される子Elementの名前

template<class charT, class traitsT>
element_type& MiX::Document< charT, traitsT >::getRoot   const
 

唯一の子Elementを返します.

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

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

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

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

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

template<class charT, class traitsT>
attribute_type& MiX::Document< charT, traitsT >::operator[] const string_type &    name [inline]
 

Attributeにアクセスします.

szNameで与えられた名前のAttributeへの参照を返します
見つからなかった場合はDomException<...>を投げます

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

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

完全なXML文書を作る場合はこれを呼びます
bIndentが真の時インデントを追加します。

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

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

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

常にNode_Documentを返します


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

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

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


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