RTI Connext Traditional C++ API
Version 6.0.0
|
Base class of Offsets to sequences and arrays of non-primitive members. More...
#include <SequenceOffsets.hpp>
Public Types | |
typedef SequenceIterator < ElementOffset, typename ElementOffset::offset_kind > | iterator |
The iterator type, SequenceIterator. | |
Public Member Functions | |
iterator | begin () |
Gets an iterator to the first Offset. | |
iterator | end () |
Gets an iterator to the past-the-end element. | |
Public Member Functions inherited from rti::flat::OffsetBase | |
bool | is_null () const |
Indicates whether this Offset doesn't point to a valid element. | |
bool | is_cpp_compatible () const |
Indicates whether rti::flat::plain_cast() is possible. | |
const unsigned char * | get_buffer () const |
Gets this member's position in the buffer. | |
offset_t | get_buffer_size () const |
Gets the size, in bytes, of this member in the buffer. | |
Base class of Offsets to sequences and arrays of non-primitive members.
ElementOffset | The Offset type of the elements |
typedef SequenceIterator<ElementOffset, typename ElementOffset::offset_kind> rti::flat::AbstractAlignedList< ElementOffset >::iterator |
The iterator type, SequenceIterator.
|
inline |
Gets an iterator to the first Offset.
begin() and end() enable the use of range-for loops, for example:
References rti::flat::OffsetBase::get_buffer_size().
|
inline |
Gets an iterator to the past-the-end element.
References rti::flat::OffsetBase::get_buffer_size().