OSB_APP::AppErrors Class Reference

Collaboration diagram for OSB_APP::AppErrors:

Collaboration graph
[legend]
List of all members.

Detailed Description

Container for OSB_LIB::AppError.

Wrapper around a STL container of OSB_LIB::AppError.
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 apperrors.h.

Public Types

Public Member Functions

Read access.
Write access.

Private Attributes


Member Typedef Documentation

typedef Cont::const_iterator OSB_APP::AppErrors::ConstIter

Const iterator to the STL container.

Definition at line 65 of file apperrors.h.

typedef std::list<AppError> OSB_APP::AppErrors::Cont

STL container used to store the errors.

Definition at line 59 of file apperrors.h.

typedef Cont::iterator OSB_APP::AppErrors::Iter

Iterator to the STL container.

Definition at line 63 of file apperrors.h.

typedef Cont::size_type OSB_APP::AppErrors::Size

Size type of the STL container.

Definition at line 61 of file apperrors.h.


Member Function Documentation

void OSB_APP::AppErrors::append ( const AppErrors errors  ) 

Add a list of errors.

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

AppError& OSB_APP::AppErrors::back (  ) 

Access to last error added.

const AppError& OSB_APP::AppErrors::back (  )  const

Const access to last error added.

Iter OSB_APP::AppErrors::begin (  ) 

Iterator to the begin of the error list.

ConstIter OSB_APP::AppErrors::begin (  )  const

Const iterator to the begin of the error list.

void OSB_APP::AppErrors::clear (  ) 

Clear the error list.

const Cont& OSB_APP::AppErrors::cont (  )  const

Get the whole error list.

bool OSB_APP::AppErrors::empty (  )  const

No errors in list?

Iter OSB_APP::AppErrors::end (  ) 

Iterator to the end of the error list.

ConstIter OSB_APP::AppErrors::end (  )  const

Const iterator to the end of the error list.

const AppError& OSB_APP::AppErrors::front (  )  const

Const access to first error.

void OSB_APP::AppErrors::pushBack ( const AppError e  ) 

Add an error.

Size OSB_APP::AppErrors::size (  )  const

Number of errors in the list.


Member Data Documentation

Cont OSB_APP::AppErrors::cont_ [private]

Container with errors.

Definition at line 108 of file apperrors.h.


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