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.
|
|
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.
|
|
Detailed Description
Base class of all Offset types.
- See Also
- FlatData Offsets
Member Function Documentation
bool rti::flat::OffsetBase::is_null |
( |
| ) |
const |
|
inline |
bool rti::flat::OffsetBase::is_cpp_compatible |
( |
| ) |
const |
|
inline |
const unsigned char* rti::flat::OffsetBase::get_buffer |
( |
| ) |
const |
|
inline |
offset_t rti::flat::OffsetBase::get_buffer_size |
( |
| ) |
const |
|
inline |
Friends And Related Function Documentation
Compares two Offsets.
- Returns
- True if s1 points to a position smaller than s2's.
Compares two Offsets.
- Returns
- True if s1 points to a position greater than s2's.
Compares two Offsets.
- Returns
- True if s1 points to a position equal to or smaller than s2's.
Compares two Offsets.
- Returns
- True if s1 points to a position equal to or greater than s2's.
Determines if two offets point to the same position.
- Returns
- True if s1 points to the same position as s2.
Determines if two offets point to different positions.
- Returns
- True if s1 points to a different position than s2.