orderedmap< _Key, _Val > Class Template Reference

#include <weiBase.h>

List of all members.

Public Types

typedef std::vector< _Val > valvector
typedef std::vector< _Val >
::iterator 
iterator
typedef std::map< _Key, int > mapkeys
typedef mapkeys::value_type value_type

Public Member Functions

 orderedmap ()
int erase (const _Key &_Keyval)
void clear ()
iterator begin ()
iterator end ()
iterator find (const _Key &_Keyval)
_Key & key (iterator &_Where)
_Val & val (iterator &_Where)
_Val & operator[] (const _Key &_Keyval)

Protected Attributes

valvector values
mapkeys keys


Detailed Description

template<class _Key, class _Val>
class orderedmap< _Key, _Val >

Definition at line 325 of file weiBase.h.


Member Typedef Documentation

template<class _Key , class _Val >
typedef std::vector<_Val>::iterator orderedmap< _Key, _Val >::iterator

Definition at line 329 of file weiBase.h.

template<class _Key , class _Val >
typedef std::map<_Key, int> orderedmap< _Key, _Val >::mapkeys

Definition at line 330 of file weiBase.h.

template<class _Key , class _Val >
typedef mapkeys::value_type orderedmap< _Key, _Val >::value_type

Definition at line 331 of file weiBase.h.

template<class _Key , class _Val >
typedef std::vector<_Val> orderedmap< _Key, _Val >::valvector

Definition at line 328 of file weiBase.h.


Constructor & Destructor Documentation

template<class _Key , class _Val >
orderedmap< _Key, _Val >::orderedmap (  )  [inline]

Definition at line 334 of file weiBase.h.


Member Function Documentation

template<class _Key , class _Val >
iterator orderedmap< _Key, _Val >::begin (  )  [inline]

Definition at line 348 of file weiBase.h.

template<class _Key , class _Val >
void orderedmap< _Key, _Val >::clear (  )  [inline]

Definition at line 346 of file weiBase.h.

template<class _Key , class _Val >
iterator orderedmap< _Key, _Val >::end (  )  [inline]

Definition at line 349 of file weiBase.h.

template<class _Key , class _Val >
int orderedmap< _Key, _Val >::erase ( const _Key &  _Keyval  )  [inline]

Definition at line 339 of file weiBase.h.

template<class _Key , class _Val >
iterator orderedmap< _Key, _Val >::find ( const _Key &  _Keyval  )  [inline]

Definition at line 351 of file weiBase.h.

template<class _Key , class _Val >
_Key& orderedmap< _Key, _Val >::key ( iterator _Where  )  [inline]

Definition at line 363 of file weiBase.h.

template<class _Key , class _Val >
_Val& orderedmap< _Key, _Val >::operator[] ( const _Key &  _Keyval  )  [inline]

Definition at line 379 of file weiBase.h.

template<class _Key , class _Val >
_Val& orderedmap< _Key, _Val >::val ( iterator _Where  )  [inline]

Definition at line 374 of file weiBase.h.


Member Data Documentation

template<class _Key , class _Val >
mapkeys orderedmap< _Key, _Val >::keys [protected]

Definition at line 392 of file weiBase.h.

template<class _Key , class _Val >
valvector orderedmap< _Key, _Val >::values [protected]

Definition at line 391 of file weiBase.h.


The documentation for this class was generated from the following file:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:31 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads