A list of basic type of IDL usable in this package
bool
isPrimitive(string
typename);
Judge if typename is primitive or not
| string typename |
Typename text |
is primitive or not
Type representation of IDL
Fullname of the type
std_msgs::msg::Header for nested type
- `string`` for string type
int32 for primitive type (see basicIDL for full list)
Is array or not
Size of fixed array (if isArray).
0 means this is a dynamic array.
const @property Kind
kind();
Type kind of the type by seeing fullname text
const @property string
namespace();
Namespace of the type (e.g. std_msgs::msg::Header -> std_msgs::msg)
const @property string
shortName();
Short name of the type (e.g. std_msgs::msg::Header -> Header)
const @property bool
isNamespaced();
Type name having namespace
const @property Type
asPlain();
Non array version of the type
Member representation of IDL
Type of the member
Field name of the member
Nullable!string
defaultText;
Default value as a string (optional)
Nullable!string
comment;
this(typeof(this.tupleof)
args);
this(Type
type, string
field, string
defaultText, string
comment);
this(Type
type, string
field, string
defaultText);
this(Type
type, string
field, Nullable!string
defaultText, string
comment);
this(Type
type, string
field);
Comment text (optional)
Constant value representation of IDL
Type of the field
Field name
Value as a string
Struct representation of IDL
Full name of the struct
A list of members
A list of constants
Nullable!string comment;
Comment text (optional)
const @property string
shortName();
Short name of the struct (e.g. std_msgs::msg::Header -> Header)
const @property string
namespace();
Namespace of the struct (e.g. std_msgs::msg::Header -> std_msgs::msg)
Message (.msg) representation of ROSIDL
Fullname of the module
A list of dependent types
A list of messages in the module
const @property string[]
uniqueDependModules();
A list of dependent modules