#include <mfccontainer.h>
Public Types | |
typedef BaseClass::iterator | iterator |
typedef BaseClass::const_iterator | const_iterator |
Public Member Functions | |
CMap () | |
CMap (INT32) | |
PINT32 | GetCount () const |
PINT32 | GetSize () const |
BOOL | IsEmpty () const |
BOOL | Lookup (ARG_KEY key, VALUE &rValue) const |
VALUE & | operator[] (ARG_KEY key) |
void | SetAt (ARG_KEY key, ARG_VALUE newValue) |
BOOL | RemoveKey (ARG_KEY key) |
void | RemoveAll () |
const_iterator | GetStartPosition () const |
void | GetNextAssoc (const_iterator &rNextPosition, KEY &rKey, VALUE &rValue) const |
Protected Attributes | |
BaseClass | m_TheMap |
Definition at line 105 of file mfccontainer.h.
|
Definition at line 112 of file mfccontainer.h. |
|
Definition at line 111 of file mfccontainer.h. |
|
Definition at line 114 of file mfccontainer.h.
|
|
Definition at line 118 of file mfccontainer.h.
|
|
Definition at line 124 of file mfccontainer.h. 00124 { return m_TheMap.size(); }
|
|
Definition at line 173 of file mfccontainer.h. 00174 { 00175 if( m_TheMap.end() == rNextPosition || NULL == rNextPosition ) 00176 { 00177 rNextPosition = NULL; 00178 return; 00179 } 00180 00181 rKey = rNextPosition->first; 00182 rValue = rNextPosition->second; 00183 ++rNextPosition; 00184 }
|
|
Definition at line 125 of file mfccontainer.h. 00125 { return m_TheMap.size(); }
|
|
Definition at line 168 of file mfccontainer.h. 00169 { 00170 return m_TheMap.begin(); 00171 }
|
|
Definition at line 126 of file mfccontainer.h. 00126 { return m_TheMap.empty(); }
|
|
Definition at line 129 of file mfccontainer.h. 00130 { 00131 const_iterator iter = m_TheMap.find( key ); 00132 if( m_TheMap.end() == iter ) 00133 return FALSE; 00134 00135 rValue = iter->second; 00136 return TRUE; 00137 }
|
|
Definition at line 141 of file mfccontainer.h. 00142 { 00143 return m_TheMap[key]; 00144 }
|
|
Reimplemented in CCUserAttrMap. Definition at line 162 of file mfccontainer.h. 00163 { 00164 m_TheMap.clear(); 00165 }
|
|
Definition at line 153 of file mfccontainer.h. 00154 { 00155 00156 const_iterator iter = m_TheMap.find( key ); 00157 if( m_TheMap.end() == iter ) 00158 return FALSE; 00159 m_TheMap.erase( key ); 00160 return TRUE; 00161 }
|
|
Reimplemented in CCUserAttrMap. Definition at line 147 of file mfccontainer.h. 00148 { 00149 m_TheMap[key] = newValue; 00150 }
|
|
Definition at line 108 of file mfccontainer.h. |