OSB_LIB::OsbErrors Class Reference

Collaboration diagram for OSB_LIB::OsbErrors:

Collaboration graph
[legend]
List of all members.

Detailed Description

Container for OsbError.

Wrapper around a STL container of OsbError. The main motivation for this class is to allow easy forward declaration without the need to include the standard header of the STL container used to store the errors.

Definition at line 56 of file osberrors.h.

Public Types

Public Member Functions

Read access.
Write access.

Private Attributes


Member Typedef Documentation

typedef Cont::const_iterator OSB_LIB::OsbErrors::ConstIter

Const iterator to the STL container.

Definition at line 65 of file osberrors.h.

typedef std::list<OsbError> OSB_LIB::OsbErrors::Cont

STL container used to store the errors.

Definition at line 59 of file osberrors.h.

typedef Cont::iterator OSB_LIB::OsbErrors::Iter

Iterator to the STL container.

Definition at line 63 of file osberrors.h.

typedef Cont::size_type OSB_LIB::OsbErrors::Size

Size type of the STL container.

Definition at line 61 of file osberrors.h.


Member Function Documentation

void OSB_LIB::OsbErrors::append ( const OsbErrors errors  ) 

Add a list of errors.

Parameters:
errors List of errors to add.
Note:
The function has no effect if errors is *this.

OsbError& OSB_LIB::OsbErrors::back (  ) 

Access to last error added.

const OsbError& OSB_LIB::OsbErrors::back (  )  const

Const access to last error added.

Iter OSB_LIB::OsbErrors::begin (  ) 

Iterator to the begin of the error list.

ConstIter OSB_LIB::OsbErrors::begin (  )  const

Const iterator to the begin of the error list.

void OSB_LIB::OsbErrors::clear (  ) 

Clear the error list.

const Cont& OSB_LIB::OsbErrors::cont (  )  const

Get the whole error list.

bool OSB_LIB::OsbErrors::empty (  )  const

No errors in list?

Iter OSB_LIB::OsbErrors::end (  ) 

Iterator to the end of the error list.

ConstIter OSB_LIB::OsbErrors::end (  )  const

Const iterator to the end of the error list.

const OsbError& OSB_LIB::OsbErrors::front (  )  const

Const access to first error.

void OSB_LIB::OsbErrors::pushBack ( const OsbError e  ) 

Add an error.

Size OSB_LIB::OsbErrors::size (  )  const

Number of errors in the list.


Member Data Documentation

Cont OSB_LIB::OsbErrors::cont_ [private]

Container with errors.

Definition at line 108 of file osberrors.h.


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