.. _program_listing_file_include_rosidl_runtime_c_type_description_field_type__struct.h: Program Listing for File field_type__struct.h ============================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/rosidl_runtime_c/type_description/field_type__struct.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // DO NOT EDIT MANUALLY - this copied file managed by copy_type_description_generated_sources.bash // generated from rosidl_generator_c/resource/idl__struct.h.em // with input from type_description_interfaces:msg/FieldType.idl // generated code does not contain a copyright notice #ifndef ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD_TYPE__STRUCT_H_ #define ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD_TYPE__STRUCT_H_ #ifdef __cplusplus extern "C" { #endif #include #include #include // Constants defined in the message enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NOT_SET = 0 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE = 1 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT8 = 2 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8 = 3 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT16 = 4 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT16 = 5 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT32 = 6 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT32 = 7 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT64 = 8 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT64 = 9 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT = 10 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_DOUBLE = 11 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_LONG_DOUBLE = 12 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_CHAR = 13 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WCHAR = 14 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN = 15 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BYTE = 16 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING = 17 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WSTRING = 18 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_STRING = 19 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_WSTRING = 20 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_STRING = 21 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_WSTRING = 22 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE_ARRAY = 49 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT8_ARRAY = 50 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8_ARRAY = 51 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT16_ARRAY = 52 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT16_ARRAY = 53 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT32_ARRAY = 54 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT32_ARRAY = 55 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT64_ARRAY = 56 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT64_ARRAY = 57 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT_ARRAY = 58 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_DOUBLE_ARRAY = 59 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_LONG_DOUBLE_ARRAY = 60 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_CHAR_ARRAY = 61 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WCHAR_ARRAY = 62 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN_ARRAY = 63 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BYTE_ARRAY = 64 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING_ARRAY = 65 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WSTRING_ARRAY = 66 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_STRING_ARRAY = 67 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_WSTRING_ARRAY = 68 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_STRING_ARRAY = 69 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_WSTRING_ARRAY = 70 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE_BOUNDED_SEQUENCE = 97 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT8_BOUNDED_SEQUENCE = 98 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8_BOUNDED_SEQUENCE = 99 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT16_BOUNDED_SEQUENCE = 100 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT16_BOUNDED_SEQUENCE = 101 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT32_BOUNDED_SEQUENCE = 102 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT32_BOUNDED_SEQUENCE = 103 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT64_BOUNDED_SEQUENCE = 104 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT64_BOUNDED_SEQUENCE = 105 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT_BOUNDED_SEQUENCE = 106 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_DOUBLE_BOUNDED_SEQUENCE = 107 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_LONG_DOUBLE_BOUNDED_SEQUENCE = 108 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_CHAR_BOUNDED_SEQUENCE = 109 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WCHAR_BOUNDED_SEQUENCE = 110 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN_BOUNDED_SEQUENCE = 111 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BYTE_BOUNDED_SEQUENCE = 112 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING_BOUNDED_SEQUENCE = 113 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WSTRING_BOUNDED_SEQUENCE = 114 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_STRING_BOUNDED_SEQUENCE = 115 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_WSTRING_BOUNDED_SEQUENCE = 116 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_STRING_BOUNDED_SEQUENCE = 117 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_WSTRING_BOUNDED_SEQUENCE = 118 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_NESTED_TYPE_UNBOUNDED_SEQUENCE = 145 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT8_UNBOUNDED_SEQUENCE = 146 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT8_UNBOUNDED_SEQUENCE = 147 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT16_UNBOUNDED_SEQUENCE = 148 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT16_UNBOUNDED_SEQUENCE = 149 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT32_UNBOUNDED_SEQUENCE = 150 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT32_UNBOUNDED_SEQUENCE = 151 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_INT64_UNBOUNDED_SEQUENCE = 152 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_UINT64_UNBOUNDED_SEQUENCE = 153 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FLOAT_UNBOUNDED_SEQUENCE = 154 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_DOUBLE_UNBOUNDED_SEQUENCE = 155 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_LONG_DOUBLE_UNBOUNDED_SEQUENCE = 156 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_CHAR_UNBOUNDED_SEQUENCE = 157 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WCHAR_UNBOUNDED_SEQUENCE = 158 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOOLEAN_UNBOUNDED_SEQUENCE = 159 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BYTE_UNBOUNDED_SEQUENCE = 160 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_STRING_UNBOUNDED_SEQUENCE = 161 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_WSTRING_UNBOUNDED_SEQUENCE = 162 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_STRING_UNBOUNDED_SEQUENCE = 163 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_FIXED_WSTRING_UNBOUNDED_SEQUENCE = 164 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_STRING_UNBOUNDED_SEQUENCE = 165 }; enum { rosidl_runtime_c__type_description__FieldType__FIELD_TYPE_BOUNDED_WSTRING_UNBOUNDED_SEQUENCE = 166 }; // Include directives for member types // Member 'nested_type_name' #include "rosidl_runtime_c/string.h" // constants for array fields with an upper bound // nested_type_name enum { rosidl_runtime_c__type_description__FieldType__nested_type_name__MAX_STRING_SIZE = 255 }; typedef struct rosidl_runtime_c__type_description__FieldType { uint8_t type_id; uint64_t capacity; uint64_t string_capacity; rosidl_runtime_c__String nested_type_name; } rosidl_runtime_c__type_description__FieldType; // Struct for a sequence of rosidl_runtime_c__type_description__FieldType. typedef struct rosidl_runtime_c__type_description__FieldType__Sequence { rosidl_runtime_c__type_description__FieldType * data; size_t size; size_t capacity; } rosidl_runtime_c__type_description__FieldType__Sequence; #ifdef __cplusplus } #endif #endif // ROSIDL_RUNTIME_C__TYPE_DESCRIPTION__FIELD_TYPE__STRUCT_H_