rosidl_runtime_c  master
Generate the rosidl interfaces in C.
Functions
u16string_functions.h File Reference
#include <stddef.h>
#include "rosidl_runtime_c/u16string.h"
#include "rosidl_runtime_c/visibility_control.h"
Include dependency graph for u16string_functions.h:

Go to the source code of this file.

Functions

bool rosidl_runtime_c__U16String__init (rosidl_runtime_c__U16String *str)
 Initialize a rosidl_runtime_c__U16String structure. More...
 
void rosidl_runtime_c__U16String__fini (rosidl_runtime_c__U16String *str)
 Deallocate the memory of the rosidl_runtime_c__U16String structure. More...
 
bool rosidl_runtime_c__U16String__assignn (rosidl_runtime_c__U16String *str, const uint16_t *value, size_t n)
 Assign the uint16_t value of n characters to the rosidl_runtime_c__U16String structure. More...
 
bool rosidl_runtime_c__U16String__assignn_from_char (rosidl_runtime_c__U16String *str, const char *value, size_t n)
 Assign the c string pointer value of n characters to the rosidl_runtime_c__U16String structure. More...
 
bool rosidl_runtime_c__U16String__assign (rosidl_runtime_c__U16String *str, const uint16_t *value)
 Assign the uint16_t pointer to the rosidl_runtime_c__U16String structure. More...
 
size_t rosidl_runtime_c__U16String__len (const uint16_t *value)
 Get the length of the uint16_t pointer. More...
 
bool rosidl_runtime_c__U16String__resize (rosidl_runtime_c__U16String *str, size_t n)
 Resize the uint16_t pointer. More...
 
bool rosidl_runtime_c__U16String__Sequence__init (rosidl_runtime_c__U16String__Sequence *sequence, size_t size)
 Initialize a U16 string sequence structure. More...
 
void rosidl_runtime_c__U16String__Sequence__fini (rosidl_runtime_c__U16String__Sequence *sequence)
 Deallocate the memory of the string sequence structure. More...
 
rosidl_runtime_c__U16String__Sequence * rosidl_runtime_c__U16String__Sequence__create (size_t size)
 Create a U16 string sequence structure with a specific size. More...
 
void rosidl_runtime_c__U16String__Sequence__destroy (rosidl_runtime_c__U16String__Sequence *sequence)
 Destroy a U16 string sequence structure. More...
 

Function Documentation

◆ rosidl_runtime_c__U16String__init()

bool rosidl_runtime_c__U16String__init ( rosidl_runtime_c__U16String str)

Initialize a rosidl_runtime_c__U16String structure.

◆ rosidl_runtime_c__U16String__fini()

void rosidl_runtime_c__U16String__fini ( rosidl_runtime_c__U16String str)

Deallocate the memory of the rosidl_runtime_c__U16String structure.

◆ rosidl_runtime_c__U16String__assignn()

bool rosidl_runtime_c__U16String__assignn ( rosidl_runtime_c__U16String str,
const uint16_t *  value,
size_t  n 
)

Assign the uint16_t value of n characters to the rosidl_runtime_c__U16String structure.

◆ rosidl_runtime_c__U16String__assignn_from_char()

bool rosidl_runtime_c__U16String__assignn_from_char ( rosidl_runtime_c__U16String str,
const char *  value,
size_t  n 
)

Assign the c string pointer value of n characters to the rosidl_runtime_c__U16String structure.

◆ rosidl_runtime_c__U16String__assign()

bool rosidl_runtime_c__U16String__assign ( rosidl_runtime_c__U16String str,
const uint16_t *  value 
)

Assign the uint16_t pointer to the rosidl_runtime_c__U16String structure.

◆ rosidl_runtime_c__U16String__len()

size_t rosidl_runtime_c__U16String__len ( const uint16_t *  value)

Get the length of the uint16_t pointer.

◆ rosidl_runtime_c__U16String__resize()

bool rosidl_runtime_c__U16String__resize ( rosidl_runtime_c__U16String str,
size_t  n 
)

Resize the uint16_t pointer.

◆ rosidl_runtime_c__U16String__Sequence__init()

bool rosidl_runtime_c__U16String__Sequence__init ( rosidl_runtime_c__U16String__Sequence *  sequence,
size_t  size 
)

Initialize a U16 string sequence structure.

◆ rosidl_runtime_c__U16String__Sequence__fini()

void rosidl_runtime_c__U16String__Sequence__fini ( rosidl_runtime_c__U16String__Sequence *  sequence)

Deallocate the memory of the string sequence structure.

◆ rosidl_runtime_c__U16String__Sequence__create()

rosidl_runtime_c__U16String__Sequence* rosidl_runtime_c__U16String__Sequence__create ( size_t  size)

Create a U16 string sequence structure with a specific size.

◆ rosidl_runtime_c__U16String__Sequence__destroy()

void rosidl_runtime_c__U16String__Sequence__destroy ( rosidl_runtime_c__U16String__Sequence *  sequence)

Destroy a U16 string sequence structure.