RTI Connext Traditional C++ API Version 7.2.0
|
Base class of all Offset types. More...
#include <Offset.hpp>
Public Member Functions | |
bool | is_null () const |
Indicates whether this Offset doesn't point to a valid element. More... | |
bool | is_cpp_compatible () const |
Indicates whether rti::flat::plain_cast() is possible. More... | |
const unsigned char * | get_buffer () const |
Gets this member's position in the buffer. More... | |
offset_t | get_buffer_size () const |
Gets the size, in bytes, of this member in the buffer. More... | |
Friends | |
bool | operator< (const OffsetBase &s1, const OffsetBase &s2) |
Compares two Offsets. More... | |
bool | operator> (const OffsetBase &s1, const OffsetBase &s2) |
Compares two Offsets. More... | |
bool | operator<= (const OffsetBase &s1, const OffsetBase &s2) |
Compares two Offsets. More... | |
bool | operator>= (const OffsetBase &s1, const OffsetBase &s2) |
Compares two Offsets. More... | |
bool | operator== (const OffsetBase &s1, const OffsetBase &s2) |
Determines if two offets point to the same position. More... | |
bool | operator!= (const OffsetBase &s1, const OffsetBase &s2) |
Determines if two offets point to different positions. More... | |
Base class of all Offset types.
|
inline |
Indicates whether this Offset doesn't point to a valid element.
Referenced by get_buffer().
|
inline |
Indicates whether rti::flat::plain_cast() is possible.
|
inline |
Gets this member's position in the buffer.
Returns the position within the Sample's buffer that this Offset points to.
References is_null().
Referenced by rti::flat::StringOffset::get_string().
|
inline |
Gets the size, in bytes, of this member in the buffer.
Returns the number of bytes that this member comprises after the position returned by get_buffer().
Referenced by rti::flat::AbstractAlignedList< ElementOffset >::begin(), and rti::flat::AbstractAlignedList< ElementOffset >::end().
|
friend |
Compares two Offsets.
|
friend |
Compares two Offsets.
|
friend |
Compares two Offsets.
|
friend |
Compares two Offsets.
|
friend |
Determines if two offets point to the same position.
|
friend |
Determines if two offets point to different positions.