OSB_LIB::CdrList Class Reference

Collaboration diagram for OSB_LIB::CdrList:

Collaboration graph
[legend]
List of all members.

Detailed Description

Wrapper around STL-container for OSB_LIB::Cdr.

The idea of this class is two-fold:
firstly it allows the forward declaration of the class
and secondly we later might think of reusing the list members.

The performance of size() for STL list is bad on g++-3.3:
therefore the class maintains the CDR counter itself.

Definition at line 61 of file cdrlist.h.

Public Types

Typedefs of the STL container.

Public Member Functions

Const wrappers to the STL container.
Non-const wrappers to the STL container.

Private Types

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef Cont::const_iterator OSB_LIB::CdrList::ConstIter

Definition at line 68 of file cdrlist.h.

typedef std::list<Cdr> OSB_LIB::CdrList::Cont [private]

Definition at line 63 of file cdrlist.h.

typedef Cont::iterator OSB_LIB::CdrList::Iter

Definition at line 67 of file cdrlist.h.


Constructor & Destructor Documentation

OSB_LIB::CdrList::CdrList (  )  [inline]

Empty default constructor.

Definition at line 114 of file cdrlist.h.

OSB_LIB::CdrList::CdrList ( const CdrList rhs  )  [inline]

Copy constructor: avoid usage.

Definition at line 120 of file cdrlist.h.


Member Function Documentation

Cdr & OSB_LIB::CdrList::back (  )  [inline]

Definition at line 141 of file cdrlist.h.

References cdrs_.

CdrList::Iter OSB_LIB::CdrList::begin (  )  [inline]

Definition at line 126 of file cdrlist.h.

References cdrs_.

CdrList::ConstIter OSB_LIB::CdrList::begin (  )  const [inline]

Definition at line 146 of file cdrlist.h.

References cdrs_.

void OSB_LIB::CdrList::clear (  ) 

bool OSB_LIB::CdrList::empty (  )  const [inline]

Definition at line 156 of file cdrlist.h.

References cdrs_.

CdrList::Iter OSB_LIB::CdrList::end (  )  [inline]

Definition at line 131 of file cdrlist.h.

References cdrs_.

CdrList::ConstIter OSB_LIB::CdrList::end (  )  const [inline]

Definition at line 151 of file cdrlist.h.

References cdrs_.

Iter OSB_LIB::CdrList::erase ( Iter  pos  ) 

Cdr & OSB_LIB::CdrList::front (  )  [inline]

Definition at line 136 of file cdrlist.h.

References cdrs_.

size_t OSB_LIB::CdrList::numCdr (  )  const [inline]

Number of CDRs in cdrs_.

Definition at line 161 of file cdrlist.h.

References numCdr_.

CdrList& OSB_LIB::CdrList::operator= ( const CdrList  )  [private]

Prevent assignment: not implemented.

void OSB_LIB::CdrList::pushBack ( const Cdr cdr  ) 


Member Data Documentation

Cont OSB_LIB::CdrList::cdrs_ [private]

List of CDRs.

Definition at line 103 of file cdrlist.h.

Referenced by back(), begin(), empty(), end(), and front().

size_t OSB_LIB::CdrList::numCdr_ [private]

Size of cdrs_.

Definition at line 101 of file cdrlist.h.

Referenced by numCdr().

Cont OSB_LIB::CdrList::pool_ [private]

List of unused CDRs.

Definition at line 105 of file cdrlist.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:15:14 2006 for OSB Library by  doxygen 1.4.7