gatelib  2.1
Public Types | Public Member Functions | List of all members
g::cont::gmap_sorted< KEY, T, REF_C > Class Template Reference
Inheritance diagram for g::cont::gmap_sorted< KEY, T, REF_C >:
g::cont::gmap_common< KEY, T, map_sorted_searcher, REF_C > g::cont::lst< gpair< KEY, T > > g::cont::lst_base< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > > g::cont::base_cont< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > > g::cont::cont_with_positioner< T > g::cont::Unspec

Public Types

typedef gpair< KEY, T > Pair_t
 
typedef lst< Pair_tPairLst_t
 
typedef PairLst_t::It_t It_t
 
typedef PairLst_t::ItConst_t ItConst_t
 
typedef KEY Key_t
 
typedef T Value_t
 
typedef REF_C ConstRef_t
 
typedef gmap_common< KEY, T, map_sorted_searcher, REF_C > Base_t
 
typedef comparer< KEY >::Operator_t KeyComparer_t
 
- Public Types inherited from g::cont::gmap_common< KEY, T, map_sorted_searcher, REF_C >
typedef gpair< KEY, T > Pair_t
 
typedef lst< gpair< KEY, T > > PairLst_t
 
typedef PairLst_t::It_t It_t
 
typedef PairLst_t::ItConst_t ItConst_t
 
typedef KEY Key_t
 
typedef T Value_t
 
typedef REF_C ConstRef_t
 
typedef comparer< KEY >::Operator_t KeyComparer_t
 

Public Member Functions

 gmap_sorted (KeyComparer_t aKeyLessComparer=comparer< KEY >::less, AllocationPolicyAbstract *aAllocPolicyP=AllocationPolicyAbstract::get_FromStandardPolicy(), int aListPageRightBits=G_LST_PAGE_MASK_BITS, int aVectorAllocDeltaRightBits=G_VECT_AL_DELTA_MASK_BITS)
 
virtual bool doAdd (const Key_t &, const Value_t &)
 
virtual KeyComparer_t getComparer () const
 
- Public Member Functions inherited from g::cont::gmap_common< KEY, T, map_sorted_searcher, REF_C >
Value_t & operator[] (const Key_t &aKey)
 
ConstRef_t operator[] (const Key_t &aKey) const
 
bool isValueContained (const Value_t &) const
 
bool isKeyContained (const Key_t &) const
 
bool tryToGet (const Key_t &, Value_t &)
 
virtual void setEmpty ()
 
bool tryRemove (const Key_t &, Value_t &)
 
bool tryRemove (const Key_t &)
 
Value_t doRemove (const Key_t &)
 
size_t getSize () const
 
PairLst_t::ItConst_t getIterator () const
 
const PairLst_tgetPairList () const
 

Additional Inherited Members

- Protected Types inherited from g::cont::lst< gpair< KEY, T > >
typedef lst_base< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > > Base_t
 
typedef Base_t::It_t It_t
 
typedef Base_t::ItConst_t ItConst_t
 
- Protected Types inherited from g::cont::lst_base< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > >
typedef gpair< KEY, T > Ref_t
 
typedef const gpair< KEY, T > RefConst_t
 
typedef it< gpair< KEY, T > > It_t
 
typedef it_const< gpair< KEY, T > > ItConst_t
 
- Protected Types inherited from g::cont::base_cont< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > >
typedef gpair< KEY, T > Ref_t
 
typedef const gpair< KEY, T > RefConst_t
 
typedef it< gpair< KEY, T > > It_t
 
typedef it_const< gpair< KEY, T > > ItConst_t
 
typedef cont_with_positioner< gpair< KEY, T > > RecipientBase_t
 
typedef positioner_abstract< gpair< KEY, T > > Positioner_t
 
- Protected Types inherited from g::cont::cont_with_positioner< T >
typedef positioner_abstract< T > Positioner_t
 
- Protected Member Functions inherited from g::cont::gmap_common< KEY, T, map_sorted_searcher, REF_C >
 gmap_common (AllocationPolicyAbstract *ap, int lst_page_mask_bits, int al_delta_mask_bits)
 
- Protected Member Functions inherited from g::cont::lst< gpair< KEY, T > >
 lst (AllocationPolicyAbstract *=AllocationPolicyAbstract::get_FromStandardPolicy(), int=G_LST_PAGE_MASK_BITS, int=G_VECT_AL_DELTA_MASK_BITS)
 
 lst (const gpair< KEY, T > *, size_t, AllocationPolicyAbstract *=AllocationPolicyAbstract::get_FromStandardPolicy(), int=G_LST_PAGE_MASK_BITS, int=G_VECT_AL_DELTA_MASK_BITS)
 
 lst (const lst &, AllocationPolicyAbstract *=AllocationPolicyAbstract::get_FromStandardPolicy(), int=G_LST_PAGE_MASK_BITS, int=G_VECT_AL_DELTA_MASK_BITS)
 
void setContentFromVector (const gpair< KEY, T > *, size_t)
 
- Protected Member Functions inherited from g::cont::lst_base< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > >
 lst_base (AllocationPolicyAbstract *, int aListPageRightBits, int aVectorAllocDeltaRightBits)
 
virtual void pushAfter (const Ref_t &item, const It_t &where)
 
virtual void pushBefore (const Ref_t &item, const It_t &where)
 
virtual void eraseMemory ()
 
Ref_toperator[] (int i)
 
RefConst_toperator[] (int i) const
 
virtual int getLbound () const
 
virtual int getUbound () const
 
virtual Ref_t remove (const It_t &where)
 
- Protected Member Functions inherited from g::cont::base_cont< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > >
 base_cont (AllocationPolicyAbstract *aAllocPolicyP, Positioner_t *positioner_p)
 
bool operator== (const base_cont &other) const
 
virtual void pushHead (const Ref_t &aItem)
 
virtual void pushTail (const Ref_t &aItem)
 
virtual Ref_t popHead ()
 
virtual Ref_t popTail ()
 
virtual RefConst_t getHead () const
 
virtual Ref_t getHead ()
 
virtual RefConst_t getTail () const
 
virtual Ref_t getTail ()
 
virtual It_t getIterator (IterFrom_t from=head)
 
virtual ItConst_t getIterator (IterFrom_t from=head) const
 
virtual void setContent (base_cont &other)
 
bool contains (const RefConst_t &value) const
 
It_t search (const Ref_t &item)
 
ItConst_t search (const RefConst_t &item) const
 
bool tryRemove (const Ref_t &item)
 
size_t removeAll (const Ref_t &item)
 
- Protected Member Functions inherited from g::cont::cont_with_positioner< T >
 cont_with_positioner (AllocationPolicyAbstract *aAllocPolicyP, positioner_abstract< T > *p)
 
- Protected Member Functions inherited from g::cont::Unspec
 Unspec (AllocationPolicyAbstract *aAllocPolicyP)
 
size_t getSize () const
 
AllocationPolicyAbstractgetAllocPolicyP () const
 
HeapAbstractgetHeapP () const
 
bool isAnIndex (int aIndex) const
 
- Protected Attributes inherited from g::cont::lst_base< gpair< KEY, T >, gpair< KEY, T >, const gpair< KEY, T >, it< gpair< KEY, T > >, it_const< gpair< KEY, T > > >
priv::list_content< gpair< KEY, T > > mContent
 
priv::list_positioner< gpair< KEY, T > > mPositioner
 
- Protected Attributes inherited from g::cont::cont_with_positioner< T >
Positioner_tmPositionerP
 
- Protected Attributes inherited from g::cont::Unspec
AllocationPolicyAbstractmAllocPolicyP
 

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