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

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

Attributeの名前と値を格納する辞書. より詳しく...

#include <AttrMap.h>

すべてのメンバ一覧

公開型

typedef std::pair< string_type,
string_type > 
val_type
typedef std::vector< val_typecontainer_type
typedef container_type::iterator iterator
typedef container_type::const_iterator const_iterator

公開メンバ

 MiX_Template_Typedef (charT, traitsT)
 AttrMap ()
 コンストラクタ. より詳しく...

iterator begin ()
 コンテナの最初の要素を示すイテレータを得る. より詳しく...

iterator end ()
 コンテナの最後の要素の一つ後を示すイテレータを得る. より詳しく...

const_iterator begin () const
 コンテナの最初の要素を示すイテレータを得る(const版). より詳しく...

const_iterator end () const
 コンテナの最後の要素の一つ後を示すイテレータを得る(const版). より詳しく...

size_t size () const
 コンテナに格納されている要素数を得る. より詳しく...

bool empty () const
 コンテナが空かどうかを得る. より詳しく...

void insert (const val_type &data)
 コンテナに値を追加する. より詳しく...

void clear ()
 コンテナを空にする. より詳しく...

iterator find (const string_type &key)
 keyによって要素を検索しイテレータを返す. より詳しく...

const_iterator find (const string_type key) const
 keyによって要素を検索しイテレータを返す(const版). より詳しく...

void erase (const string_type key)
 keyによって示される要素を削除する. より詳しく...

string_type operator[] (const string_type &key) const
 keyによって示される要素の値を得る. より詳しく...


解説

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

Attributeの名前と値を格納する辞書.

vectorを使って実装した辞書。 キー、値に加え順序を保持する。


メンバ型定義の解説

template<class charT, class traitsT>
typedef container_type::const_iterator MiX::AttrMap::const_iterator
 

template<class charT, class traitsT>
typedef std::vector<val_type> MiX::AttrMap::container_type
 

template<class charT, class traitsT>
typedef container_type::iterator MiX::AttrMap::iterator
 

template<class charT, class traitsT>
typedef std::pair<string_type,string_type> MiX::AttrMap::val_type
 


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

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

コンストラクタ.


メンバ関数の解説

template<class charT, class traitsT>
const_iterator MiX::AttrMap< charT, traitsT >::begin   const [inline]
 

コンテナの最初の要素を示すイテレータを得る(const版).

template<class charT, class traitsT>
iterator MiX::AttrMap< charT, traitsT >::begin   [inline]
 

コンテナの最初の要素を示すイテレータを得る.

template<class charT, class traitsT>
void MiX::AttrMap< charT, traitsT >::clear   [inline]
 

コンテナを空にする.

template<class charT, class traitsT>
bool MiX::AttrMap< charT, traitsT >::empty   const [inline]
 

コンテナが空かどうかを得る.

template<class charT, class traitsT>
const_iterator MiX::AttrMap< charT, traitsT >::end   const [inline]
 

コンテナの最後の要素の一つ後を示すイテレータを得る(const版).

template<class charT, class traitsT>
iterator MiX::AttrMap< charT, traitsT >::end   [inline]
 

コンテナの最後の要素の一つ後を示すイテレータを得る.

template<class charT, class traitsT>
void MiX::AttrMap< charT, traitsT >::erase const string_type    key [inline]
 

keyによって示される要素を削除する.

template<class charT, class traitsT>
const_iterator MiX::AttrMap< charT, traitsT >::find const string_type    key const [inline]
 

keyによって要素を検索しイテレータを返す(const版).

template<class charT, class traitsT>
iterator MiX::AttrMap< charT, traitsT >::find const string_type &    key [inline]
 

keyによって要素を検索しイテレータを返す.

template<class charT, class traitsT>
void MiX::AttrMap< charT, traitsT >::insert const val_type   data [inline]
 

コンテナに値を追加する.

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

template<class charT, class traitsT>
string_type MiX::AttrMap< charT, traitsT >::operator[] const string_type &    key const
 

keyによって示される要素の値を得る.

template<class charT, class traitsT>
size_t MiX::AttrMap< charT, traitsT >::size   const [inline]
 

コンテナに格納されている要素数を得る.


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