gatelib  2.1
Classes | Public Types | Public Member Functions | Friends | List of all members
g::cont::vect< T, IT, IT_C > Class Template Reference
Inheritance diagram for g::cont::vect< T, IT, IT_C >:
g::cont::vect_base< T, T, const T, IT, IT_C > g::cont::base_cont< T, T, const T, IT, IT_C > g::cont::cont_with_positioner< T > g::cont::Unspec

Classes

class  Ref
 

Public Types

typedef vect_base< T, T, const T, IT, IT_C > Base_t
 
typedef IT It_t
 
typedef IT_C ItConst_t
 
typedef ref_const< vect< T, IT, IT_C > > RefConst_t
 
- Public Types inherited from g::cont::vect_base< T, T, const T, IT, IT_C >
typedef T Ref_t
 
typedef const T RefConst_t
 
typedef IT It_t
 
typedef IT_C ItConst_t
 
- Public Types inherited from g::cont::base_cont< T, T, const T, IT, IT_C >
typedef T Ref_t
 
typedef const T RefConst_t
 
typedef IT It_t
 
typedef IT_C ItConst_t
 
typedef cont_with_positioner< T > RecipientBase_t
 
typedef positioner_abstract< T > Positioner_t
 
- Public Types inherited from g::cont::cont_with_positioner< T >
typedef positioner_abstract< T > Positioner_t
 

Public Member Functions

 vect (AllocationPolicyAbstract *ap=AllocationPolicyAbstract::get_FromStandardPolicy(), int aAllocDeltaRBits=G_VECT_AL_DELTA_MASK_BITS)
 
 vect (const T *v, int lbound, int ubound, AllocationPolicyAbstract *ap=AllocationPolicyAbstract::get_FromStandardPolicy(), int aAllocDeltaRBits=G_VECT_AL_DELTA_MASK_BITS)
 
 vect (const T *v, size_t s, AllocationPolicyAbstract *ap=AllocationPolicyAbstract::get_FromStandardPolicy(), int aAllocDeltaRBits=G_VECT_AL_DELTA_MASK_BITS)
 
 vect (const vect &o, AllocationPolicyAbstract *ap=AllocationPolicyAbstract::get_FromStandardPolicy(), int aAllocDeltaRBits=G_VECT_AL_DELTA_MASK_BITS)
 
vectoperator= (const vect &other)
 
virtual void setContent (const vect &other)
 
void setContentFromVector (const T *v, size_t size)
 
void setContentFromVector (const T *v, int lbound, int ubound)
 
 operator const T * () const
 
 operator T * ()
 
- Public Member Functions inherited from g::cont::vect_base< T, T, const T, IT, IT_C >
virtual void pushAfter (const Ref_t &item, const It_t &where)
 
virtual void pushBefore (const Ref_t &item, const It_t &where)
 
Ref_t & operator[] (int i)
 
RefConst_t & operator[] (int i) const
 
virtual int getLbound () const
 
virtual int getUbound () const
 
virtual void setEmpty ()
 
virtual void eraseMemory ()
 
virtual Ref_t remove (const It_t &where)
 
void setSize (int lbound, int ubound)
 
void setSize (size_t size)
 
void reSize (int lbound, int ubound)
 
void reSize (size_t size)
 
void setCapacity (size_t)
 
size_t getCapacity () const
 
- Public Member Functions inherited from g::cont::base_cont< T, T, const T, IT, IT_C >
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)
 
- Public Member Functions inherited from g::cont::cont_with_positioner< T >
 cont_with_positioner (AllocationPolicyAbstract *aAllocPolicyP, positioner_abstract< T > *p)
 
- Public Member Functions inherited from g::cont::Unspec
size_t getSize () const
 
AllocationPolicyAbstractgetAllocPolicyP () const
 
HeapAbstractgetHeapP () const
 
bool isAnIndex (int aIndex) const
 

Friends

template<typename >
class priv::vect_positioner
 
template<typename >
struct priv::vect_content
 

Additional Inherited Members

- Protected Member Functions inherited from g::cont::vect_base< T, T, const T, IT, IT_C >
 vect_base (AllocationPolicyAbstract *, int alloc_delta_right_bits)
 
- Protected Member Functions inherited from g::cont::base_cont< T, T, const T, IT, IT_C >
 base_cont (AllocationPolicyAbstract *aAllocPolicyP, Positioner_t *positioner_p)
 
- Protected Member Functions inherited from g::cont::Unspec
 Unspec (AllocationPolicyAbstract *aAllocPolicyP)
 
- Protected Attributes inherited from g::cont::vect_base< T, T, const T, IT, IT_C >
priv::vect_content< T > mContent
 
priv::vect_positioner< 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: