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

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

ElementDocumentの属性を表すクラスです. より詳しく...

#include <Attribute.h>

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

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

公開型

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

公開メンバ

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

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

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

this_typeclone (nodecontainer_type &parent) const
 このAttributeを複製します. より詳しく...


静的公開メンバ

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

this_typecreate (const string_type &key, const string_type &val, nodecontainer_type &parent)
 Attributeを生成します. より詳しく...


保護メンバ

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


フレンド

class DOM_Parser< charT, traitsT >

解説

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

ElementDocumentの属性を表すクラスです.

値と名前を保持します


メンバ型定義の解説

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

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

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

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


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

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

コンストラクタ.

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

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

デストラクタ.


メンバ関数の解説

template<class charT, class traitsT>
this_type& MiX::Attribute< charT, traitsT >::clone nodecontainer_type   parent const [inline]
 

このAttributeを複製します.

引数:
parent  複製先の親ノード

template<class charT, class traitsT>
this_type& MiX::Attribute< charT, traitsT >::create const string_type &    key,
const string_type &    val,
nodecontainer_type   parent
[static]
 

Attributeを生成します.

引数:
key  生成するAttributeの名前
val  生成するAttributeの値
parent  生成するAttributeの親ノード

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

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

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

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

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

template<class charT, class traitsT>
virtual string_type MiX::Attribute< charT, traitsT >::toString bool    dmy = false,
int    dmy2 = 0
const [virtual]
 

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

引数は全て無視されます

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

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

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

常にNode_Attributeを返します


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

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