INET Framework for OMNeT++/OMNEST
inet::physicallayer::MappingIterator Class Referenceabstract

Defines an iterator for a Mapping which is able to iterate over the Mapping. More...

#include <MappingBase.h>

Inheritance diagram for inet::physicallayer::MappingIterator:
inet::physicallayer::ConstMappingIterator inet::physicallayer::BaseFilteredIterator< MappingIterator > inet::physicallayer::ConstMappingIteratorWrapper inet::physicallayer::FrequencyMappingIterator< Interpolator > inet::physicallayer::LinearIntplMappingIterator inet::physicallayer::MultiDimMappingIterator< Interpolator > inet::physicallayer::TimeMappingIterator< Interpolator > inet::physicallayer::MultiDimMappingIterator< Linear > inet::physicallayer::FilteredMappingIterator inet::physicallayer::FilledUpMappingIterator

Public Member Functions

 MappingIterator ()
 
virtual ~MappingIterator ()
 
virtual void setValue (argument_value_cref_t value)=0
 Changes the value of the Mapping at the current position. More...
 
- Public Member Functions inherited from inet::physicallayer::ConstMappingIterator
 ConstMappingIterator ()
 
virtual ~ConstMappingIterator ()
 
 ConstMappingIterator (const ConstMappingIterator &)
 Copy constructor. More...
 
ConstMappingIteratoroperator= (const ConstMappingIterator &)
 ConstMappingIterator assignment operator. More...
 
void swap (ConstMappingIterator &)
 Swaps data with another ConstMappingIterator. More...
 
virtual const ArgumentgetNextPosition () const =0
 Returns the position the next call to "next()" of this Iterator would iterate to. More...
 
virtual void jumpTo (const Argument &pos)=0
 Lets the iterator point to the passed position. More...
 
virtual void jumpToBegin ()=0
 Lets the iterator point to the begin of the mapping. More...
 
virtual void iterateTo (const Argument &pos)=0
 Iterates to the specified position. More...
 
virtual void next ()=0
 Iterates to the next position of the Mapping. More...
 
virtual bool inRange () const =0
 Returns true if the current position of the iterator is in range of the function. More...
 
virtual bool hasNext () const =0
 Returns true if the iterator has a next value it can iterate to on a call to "next()". More...
 
virtual const ArgumentgetPosition () const =0
 Returns the current position of the iterator. More...
 
virtual argument_value_t getValue () const =0
 Returns the value of the Mapping at the current position. More...
 

Additional Inherited Members

- Public Types inherited from inet::physicallayer::ConstMappingIterator
typedef Argument::mapped_type argument_value_t
 
typedef Argument::mapped_type_cref argument_value_cref_t
 

Detailed Description

Defines an iterator for a Mapping which is able to iterate over the Mapping.

See class ConstMapping for details on Mapping iterators.

Implementations of this class are able to change the underlying Mapping at the current position of the iterator with constant complexity.

Author
Karl Wessel

Constructor & Destructor Documentation

inet::physicallayer::MappingIterator::MappingIterator ( )
inline
1221 : ConstMappingIterator() {}
ConstMappingIterator()
Definition: MappingBase.h:725
virtual inet::physicallayer::MappingIterator::~MappingIterator ( )
inlinevirtual
1223 {}

Member Function Documentation


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