RTI Connext Modern C++ API
Version 6.0.0
|
Offset to a string. More...
#include <SequenceOffsets.hpp>
Public Member Functions | |
char * | get_string () |
Gets the string. | |
const char * | get_string () const |
Gets the string (const) | |
unsigned int | element_count () const |
Returns the number of characters. | |
![]() | |
unsigned int | element_count () const |
Returns the number of elements. | |
![]() | |
char | get_element (unsigned int i) const |
Returns an element by index. | |
bool | set_element (unsigned int i, charvalue) |
Sets an element by index. | |
![]() | |
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. | |
Offset to a string.
|
inline |
Gets the string.
The string returned can be modified as long as its size doesn't change.
|
inline |
Gets the string (const)
|
inline |
Returns the number of characters.
This number doesn't include the null terminating character.