Sampa::PtrQueueBase Class Reference

#include <sarray.h>

Inheritance diagram for Sampa::PtrQueueBase:

Sampa::PtrQueue< T >

List of all members.

Public Member Functions

bool is_empty () const
size_t get_size () const
void clear ()
int increase_capacity (int begin, int old_size, int n)

Protected Types

typedef object * Element
typedef ElementIterator

Protected Member Functions

Iterator begin ()
Iterator end ()
Element operator[] (size_t idx) const
void set (int idx, const Element &e)
void push_back (const Element &e)
ArrayOfObject * reallocate (size_t capacity)
void push_back_no_check (const Element &e)
 PtrQueueBase (size_t capacity)
 PtrQueueBase (DefaultCtrTag)
 ~PtrQueueBase ()
void remove (const Element &r)

Private Member Functions

 PtrQueueBase (const PtrQueueBase &)
PtrQueueBaseoperator= (const PtrQueueBase &)
 SAMPA_PERSISTENT (PtrQueueBase)

Private Attributes

ArrayOfObject * m_elements
size_t m_size


Detailed Description

Definition at line 60 of file sarray.h.


Member Typedef Documentation

typedef object* Sampa::PtrQueueBase::Element [protected]

Reimplemented in Sampa::PtrQueue< T >.

Definition at line 68 of file sarray.h.

typedef Element* Sampa::PtrQueueBase::Iterator [protected]

Reimplemented in Sampa::PtrQueue< T >.

Definition at line 69 of file sarray.h.


Constructor & Destructor Documentation

Sampa::PtrQueueBase::PtrQueueBase ( size_t  capacity  )  [protected]

Sampa::PtrQueueBase::PtrQueueBase ( DefaultCtrTag   )  [protected]

Sampa::PtrQueueBase::~PtrQueueBase (  )  [protected]

Sampa::PtrQueueBase::PtrQueueBase ( const PtrQueueBase  )  [private]


Member Function Documentation

bool Sampa::PtrQueueBase::is_empty (  )  const [inline]

Definition at line 62 of file sarray.h.

size_t Sampa::PtrQueueBase::get_size (  )  const [inline]

Definition at line 63 of file sarray.h.

void Sampa::PtrQueueBase::clear (  )  [inline]

Definition at line 64 of file sarray.h.

int Sampa::PtrQueueBase::increase_capacity ( int  begin,
int  old_size,
int  n 
)

Iterator Sampa::PtrQueueBase::begin (  )  [inline, protected]

Reimplemented in Sampa::PtrQueue< T >.

Definition at line 70 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::begin().

Iterator Sampa::PtrQueueBase::end (  )  [inline, protected]

Reimplemented in Sampa::PtrQueue< T >.

Definition at line 71 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::end().

Element Sampa::PtrQueueBase::operator[] ( size_t  idx  )  const [inline, protected]

Reimplemented in Sampa::PtrQueue< T >.

Definition at line 72 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::operator[]().

void Sampa::PtrQueueBase::set ( int  idx,
const Element e 
) [inline, protected]

Definition at line 74 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::set().

void Sampa::PtrQueueBase::push_back ( const Element e  )  [inline, protected]

Definition at line 75 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::push_back().

ArrayOfObject* Sampa::PtrQueueBase::reallocate ( size_t  capacity  )  [protected]

void Sampa::PtrQueueBase::push_back_no_check ( const Element e  )  [inline, protected]

Definition at line 82 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::push_back_no_check().

void Sampa::PtrQueueBase::remove ( const Element r  )  [inline, protected]

Definition at line 110 of file sarray.h.

Referenced by Sampa::PtrQueue< T >::remove().

PtrQueueBase& Sampa::PtrQueueBase::operator= ( const PtrQueueBase  )  [private]

Sampa::PtrQueueBase::SAMPA_PERSISTENT ( PtrQueueBase   )  [private]


Member Data Documentation

ArrayOfObject* Sampa::PtrQueueBase::m_elements [private]

Definition at line 124 of file sarray.h.

size_t Sampa::PtrQueueBase::m_size [private]

Definition at line 125 of file sarray.h.


The documentation for this class was generated from the following file:
Generated on Sat Feb 16 16:23:20 2008 for Sampa by  doxygen 1.5.3