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

Go to the source code of this file.

Functions

bool rosidl_runtime_c__String__init (rosidl_runtime_c__String *str)
 Initialize a rosidl_runtime_c__String structure. More...
 
void rosidl_runtime_c__String__fini (rosidl_runtime_c__String *str)
 Deallocate the memory of the rosidl_runtime_c__String structure. More...
 
bool rosidl_runtime_c__String__assignn (rosidl_runtime_c__String *str, const char *value, size_t n)
 Assign the c string pointer of n characters to the rosidl_runtime_c__String structure. More...
 
bool rosidl_runtime_c__String__assign (rosidl_runtime_c__String *str, const char *value)
 Assign the c string pointer to the rosidl_runtime_c__String structure. More...
 
bool rosidl_runtime_c__String__Sequence__init (rosidl_runtime_c__String__Sequence *sequence, size_t size)
 Initialize a rosidl_runtime_c__String__Sequence__init structure. More...
 
void rosidl_runtime_c__String__Sequence__fini (rosidl_runtime_c__String__Sequence *sequence)
 Deallocate the memory of the string sequence structure. More...
 
rosidl_runtime_c__String__Sequence * rosidl_runtime_c__String__Sequence__create (size_t size)
 Create a rosidl_runtime_c__String__Sequence structure with a specific size. More...
 
void rosidl_runtime_c__String__Sequence__destroy (rosidl_runtime_c__String__Sequence *sequence)
 Destroy a rosidl_runtime_c__String__Sequence structure. More...
 

Function Documentation

◆ rosidl_runtime_c__String__init()

bool rosidl_runtime_c__String__init ( rosidl_runtime_c__String str)

Initialize a rosidl_runtime_c__String structure.

◆ rosidl_runtime_c__String__fini()

void rosidl_runtime_c__String__fini ( rosidl_runtime_c__String str)

Deallocate the memory of the rosidl_runtime_c__String structure.

◆ rosidl_runtime_c__String__assignn()

bool rosidl_runtime_c__String__assignn ( rosidl_runtime_c__String str,
const char *  value,
size_t  n 
)

Assign the c string pointer of n characters to the rosidl_runtime_c__String structure.

◆ rosidl_runtime_c__String__assign()

bool rosidl_runtime_c__String__assign ( rosidl_runtime_c__String str,
const char *  value 
)

Assign the c string pointer to the rosidl_runtime_c__String structure.

◆ rosidl_runtime_c__String__Sequence__init()

bool rosidl_runtime_c__String__Sequence__init ( rosidl_runtime_c__String__Sequence *  sequence,
size_t  size 
)

Initialize a rosidl_runtime_c__String__Sequence__init structure.

◆ rosidl_runtime_c__String__Sequence__fini()

void rosidl_runtime_c__String__Sequence__fini ( rosidl_runtime_c__String__Sequence *  sequence)

Deallocate the memory of the string sequence structure.

◆ rosidl_runtime_c__String__Sequence__create()

rosidl_runtime_c__String__Sequence* rosidl_runtime_c__String__Sequence__create ( size_t  size)

Create a rosidl_runtime_c__String__Sequence structure with a specific size.

◆ rosidl_runtime_c__String__Sequence__destroy()

void rosidl_runtime_c__String__Sequence__destroy ( rosidl_runtime_c__String__Sequence *  sequence)

Destroy a rosidl_runtime_c__String__Sequence structure.