INET Framework for OMNeT++/OMNEST
inet::physicallayer::ConcatConstMappingIterator Class Reference

Deletes its ConstMapping when this iterator is deleted. More...

#include <MappingUtils.h>

Inheritance diagram for inet::physicallayer::ConcatConstMappingIterator:
inet::physicallayer::BaseFilteredIterator< Base >

Public Member Functions

 ConcatConstMappingIterator (ConstMapping *baseMapping)
 
 ConcatConstMappingIterator (ConstMapping *baseMapping, const Argument &pos)
 
virtual ~ConcatConstMappingIterator ()
 
- Public Member Functions inherited from inet::physicallayer::BaseFilteredIterator< Base >
 BaseFilteredIterator (Base *orig)
 
virtual ~BaseFilteredIterator ()
 
virtual const ArgumentgetNextPosition () const
 
virtual void jumpTo (const Argument &pos)
 
virtual void jumpToBegin ()
 
virtual void iterateTo (const Argument &pos)
 
virtual void next ()
 
virtual bool inRange () const
 
virtual bool hasNext () const
 
virtual const ArgumentgetPosition () const
 
virtual argument_value_t getValue () const
 

Protected Attributes

ConstMappingbaseMapping
 
- Protected Attributes inherited from inet::physicallayer::BaseFilteredIterator< Base >
Base * origIterator
 

Private Member Functions

 ConcatConstMappingIterator (const ConcatConstMappingIterator &)
 Copy constructor is not allowed. More...
 
ConcatConstMappingIteratoroperator= (const ConcatConstMappingIterator &)
 Assignment operator is not allowed. More...
 

Additional Inherited Members

- Public Types inherited from inet::physicallayer::BaseFilteredIterator< Base >
typedef Base::argument_value_t argument_value_t
 
typedef Base::argument_value_cref_t argument_value_cref_t
 

Detailed Description

Deletes its ConstMapping when this iterator is deleted.

Author
Karl Wessel

Constructor & Destructor Documentation

inet::physicallayer::ConcatConstMappingIterator::ConcatConstMappingIterator ( const ConcatConstMappingIterator )
private

Copy constructor is not allowed.

inet::physicallayer::ConcatConstMappingIterator::ConcatConstMappingIterator ( ConstMapping baseMapping)
inline
2484  :
BaseFilteredIterator< ConstMappingIterator > FilteredConstMappingIterator
Const version of the BaseFilteredIterator.
Definition: MappingUtils.h:100
virtual ConstMappingIterator * createConstIterator() const =0
Returns a pointer of a new Iterator which is able to iterate over this Mapping.
ConstMapping * baseMapping
Definition: MappingUtils.h:2473
inet::physicallayer::ConcatConstMappingIterator::ConcatConstMappingIterator ( ConstMapping baseMapping,
const Argument pos 
)
inline
2488  :
BaseFilteredIterator< ConstMappingIterator > FilteredConstMappingIterator
Const version of the BaseFilteredIterator.
Definition: MappingUtils.h:100
virtual ConstMappingIterator * createConstIterator() const =0
Returns a pointer of a new Iterator which is able to iterate over this Mapping.
ConstMapping * baseMapping
Definition: MappingUtils.h:2473
virtual inet::physicallayer::ConcatConstMappingIterator::~ConcatConstMappingIterator ( )
inlinevirtual
2493  {
2494  if (baseMapping)
2495  delete baseMapping;
2496  }
ConstMapping * baseMapping
Definition: MappingUtils.h:2473

Member Function Documentation

ConcatConstMappingIterator& inet::physicallayer::ConcatConstMappingIterator::operator= ( const ConcatConstMappingIterator )
private

Assignment operator is not allowed.

Member Data Documentation

ConstMapping* inet::physicallayer::ConcatConstMappingIterator::baseMapping
protected

The documentation for this class was generated from the following file: