AP_HashBase< _K, _Ty > Class Template Reference

#include <AP_Hash.h>

Inherits std::map<_K,_Ty>.

Collaboration diagram for AP_HashBase< _K, _Ty >:

Collaboration graph

Public Member Functions

 AP_HashBase (const AP_String &mainsep, const AP_String &sep, const AP_String &s)
 AP_HashBase (void)
void Clear (void)
AP_Bool Delete (const typename AP_HashBase< _K, _Ty >::key_type &key)
AP_Bool Empty (void) const
AP_Bool Insert (const typename AP_HashBase< _K, _Ty >::key_type &key, const _Ty &value)
AP_ArrayBase< _K > Keys (void) const
AP_Bool Keys (AP_Array &array) const
AP_HashBaseoperator+= (const AP_HashBase &hash)
AP_HashBaseoperator= (const AP_Array &array)
AP_Bool Split (const AP_String &s, const AP_String &mainsep, const AP_String &sep)
AP_Bool SplitParams (const AP_String &params)
AP_Bool Value (const typename AP_HashBase< _K, _Ty >::key_type &key, _Ty &result) const
 WARNING: follow function is dangerous because we don't have control of _element value if the key is not present in the hash.
AP_Bool Values (AP_Array &array) const
virtual ~AP_HashBase (void)

Private Member Functions

AP_Bool _split (const AP_String &s, const AP_String &mainsep, const AP_String &sep)

Private Attributes

map< _K, _Ty >::const_iterator _m_cur_it

template<class _K, class _Ty>
class AP::AP_HashBase< _K, _Ty >


Constructor & Destructor Documentation

AP_HashBase ( void   )  [inline]

AP_HashBase ( const AP_String mainsep,
const AP_String sep,
const AP_String s 
) [inline]

virtual ~AP_HashBase ( void   )  [inline, virtual]


Member Function Documentation

AP_Bool _split ( const AP_String s,
const AP_String mainsep,
const AP_String sep 
) [inline, private]

void Clear ( void   )  [inline]

AP_Bool Delete ( const typename AP_HashBase< _K, _Ty >::key_type &  key  )  [inline]

AP_Bool Empty ( void   )  const [inline]

AP_Bool Insert ( const typename AP_HashBase< _K, _Ty >::key_type &  key,
const _Ty &  value 
) [inline]

AP_ArrayBase<_K> Keys ( void   )  const [inline]

AP_Bool Keys ( AP_Array array  )  const [inline]

AP_HashBase& operator+= ( const AP_HashBase< _K, _Ty > &  hash  )  [inline]

AP_HashBase& operator= ( const AP_Array array  )  [inline]

AP_Bool Split ( const AP_String s,
const AP_String mainsep,
const AP_String sep 
) [inline]

AP_Bool SplitParams ( const AP_String params  )  [inline]

AP_Bool Value ( const typename AP_HashBase< _K, _Ty >::key_type &  key,
_Ty &  result 
) const [inline]

WARNING: follow function is dangerous because we don't have control of _element value if the key is not present in the hash.

AP_Bool Values ( AP_Array array  )  const [inline]


Field Documentation

map<_K,_Ty>::const_iterator _m_cur_it [private]


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

Generated on Fri Mar 5 16:50:45 2010 for CarLinO by  doxygen 1.5.8