OSB_LIB::FilterConds Struct Reference

Collaboration diagram for OSB_LIB::FilterConds:

Collaboration graph
[legend]
List of all members.

Detailed Description

Cointainer for the filter conditions.

Definition at line 772 of file filter.h.

Public Types

STL container type definition.

Public Member Functions

STL container wrappers.
Remarks:
Do not add an STL operation to this group if the function does more than just wrapping! All functions return the STL operations on items.


Public Attributes


Member Typedef Documentation

typedef List::const_iterator OSB_LIB::FilterConds::ConstIterator

STL const_iterator.

Definition at line 783 of file filter.h.

typedef List::iterator OSB_LIB::FilterConds::Iterator

STL iterator.

Definition at line 780 of file filter.h.

typedef std::list<FilterCond*> OSB_LIB::FilterConds::List

Define a list of filter condition pointer as List.

Definition at line 777 of file filter.h.

typedef List::size_type OSB_LIB::FilterConds::SizeType

STL constainer size_type.

Definition at line 786 of file filter.h.


Constructor & Destructor Documentation

OSB_LIB::FilterConds::FilterConds (  )  [inline]

Empty constructor.

Definition at line 793 of file filter.h.

OSB_LIB::FilterConds::FilterConds ( const FilterConds rhs  ) 

Copy constructor.

Creates (allocates) a copy of every filter conditions.

OSB_LIB::FilterConds::~FilterConds (  ) 

Delete all stored objects.


Member Function Documentation

ConstIterator OSB_LIB::FilterConds::begin (  )  const

Constant iterator to the begining of the list.

Iterator OSB_LIB::FilterConds::begin (  ) 

Iterator to the begining of the list.

void OSB_LIB::FilterConds::clear (  ) 

Clear the list.

Destruct each item in the list and afterwards, call the std::list::clear() of the STL constainer.

ConstIterator OSB_LIB::FilterConds::end (  )  const

Constant iterator to the end of the list.

Iterator OSB_LIB::FilterConds::end (  ) 

Iterator to the end of the list.

Iterator OSB_LIB::FilterConds::erase ( Iterator  pos  ) 

Erase a filter condition from the list.

Remove a filter condition from the list.

Parameters:
pos Iterator to the filter condition in the list.
Returns:
An iterator to the next element on the list.

FilterConds& OSB_LIB::FilterConds::operator= ( const FilterConds rhs  ) 

Exception save assignment operator.

void OSB_LIB::FilterConds::push_back ( FilterCond::AutoPtr  fc  ) 

Insert a new filter condition.

Add a filter condition at the end of the list. The function take over the ownership of the filter condition object from the auto pointer passed in parameter argument.

Parameters:
fc Auto pointer of filter condition to be added.

void OSB_LIB::FilterConds::push_back ( const FilterCond fc  ) 

Insert a new FilterCond.

Add a filter condition object at the end of the list. The function uses FilterCond::clone() to create a copy of the filter condition.

Parameters:
fc Filter condition to be added.

SizeType OSB_LIB::FilterConds::size (  )  const

The size of the list.

void OSB_LIB::FilterConds::swap ( FilterConds rhs  ) 

Swap the content of two lists.


Member Data Documentation

List OSB_LIB::FilterConds::items

STL container for filter conditions.

Definition at line 790 of file filter.h.


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