#include <matrixseq.h>
Inheritance diagram for mimo::MSequenceAccess< elemT, Attr, Cont >:
Public Types | |
typedef base_type::value_type | value_type |
typedef base_type::attributes_type | attributes_type |
typedef base_type::container_type | container_type |
typedef base_type::iterator | iterator |
typedef base_type::const_iterator | const_iterator |
typedef base_type::reference | reference |
typedef base_type::const_reference | const_reference |
typedef base_type::storage_type | storage_type |
Public Member Functions | |
MSequenceAccess (iterator iterStart, iterator iterEnd, storage_type &seq) | |
MSequenceAccess (const MSequence< elemT, Attr, Cont > &seq) |
This class behaves similar to a vector of the standard template library (STL), but it does not allocate any storage by itself. Instead, it only represents a shallow copy of another storage allocated elsewhere.
Characteristics: Element access in this class always directly affects the elements of the referenced SignalSequenceStorage class. Resizing to a larger size is not possible and will throw an exception. Resizing to a smaller size does not resize the referenced storage -- instead, the begin/end iterators in this class simply point to a smaller part of the referenced storage.
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
The referenced storage class. Reimplemented from mimo::MSequence< elemT, Attr, Cont >. |
|
This constructor is used to create a shallow copy (or reference copy) of an already existing MSequence. This means that the newly created sequence does not allocate new memory for elements, but instead it works on a part of an already existing sequence. Hence the attributes of an object generated with this constructor are also an shallow copy of the original class. In other words, this constructor is always cheap. |
|
Constructor which directly creates a new shallow-copy-sequence of the given SequenceStorage. This is a cheap constructor, too. |