|
RTI Connext Traditional C++ API
Version 6.0.1
|
Offset to an array of variable-size elements. More...
#include <SequenceOffsets.hpp>
Public Member Functions | |
| ElementOffset | get_element (unsigned int i) |
| Gets the Offset to an element. | |
Public Member Functions inherited from rti::flat::AbstractAlignedList< ElementOffset > | |
| 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. | |
Additional Inherited Members | |
Public Types inherited from rti::flat::AbstractAlignedList< ElementOffset > | |
| typedef SequenceIterator < ElementOffset, typename ElementOffset::offset_kind > | iterator |
| The iterator type, SequenceIterator. | |
Offset to an array of variable-size elements.
| ElementOffset | An Offset for a type of variable size, such as a mutable struct (MyFlatMutableOffset), union, or StringOffset. |
| N | The array bound. For multidimensional arrays, N is the product of each dimension bound. |
Represents an Offset to an array member and allows getting an Offset to each of its elements.
|
inline |
Gets the Offset to an element.
| i | The zero-based index to the element |