A DDS_TypeDescriptor comprises the state of a type. More...
Public Attributes | |
DDS_TypeKind | kind |
the 'kind' of this type | |
DDS_ObjectName | name |
the 'name' of this type | |
DDS_DynamicType | base_type |
the 'base_type' of this type More... | |
DDS_DynamicType | discriminator_type |
If this descriptor represents a union type, this field indicates the type of the discriminator of the union. | |
DDS_BoundSeq | bound |
The bound property indicates the bound of collection and similar types. More... | |
DDS_DynamicType | element_type |
If this descriptor represents an array, sequence, or string type, this property indicates the element type of the collection. More... | |
DDS_DynamicType | key_element_type |
If this descriptor represents a map type, this property indicates the value element type of the map. More... | |
Related Functions | |
(Note that these are not member functions.) | |
DDS_ReturnCode_t | DDS_TypeDescriptor_copy_from (DDS_TypeDescriptor *to, const DDS_TypeDescriptor *from) |
Overwrite the contents of this descriptor with those of another descriptor. More... | |
unsigned char | DDS_TypeDescriptor_equals (const DDS_TypeDescriptor *td, const DDS_TypeDescriptor *other) |
Compare two DDS_TypeDescriptor's. More... | |
unsigned char | DDS_TypeDescriptor_is_consistent (const DDS_TypeDescriptor *td) |
Indicates whether the states of all of this descriptor’s properties are consistent. More... | |
A DDS_TypeDescriptor comprises the state of a type.
DDS_DynamicType DDS_TypeDescriptor::base_type |
the 'base_type' of this type
In all other cases, a consistent descriptor shall have a nil value for this property.
DDS_BoundSeq DDS_TypeDescriptor::bound |
The bound property indicates the bound of collection and similar types.
In all other cases, a consistent descriptor shall have a nil value for this property.
DDS_DynamicType DDS_TypeDescriptor::element_type |
If this descriptor represents an array, sequence, or string type, this property indicates the element type of the collection.
It must not be nil for the descriptor to be consistent. If this descriptor represents a map type, this property indicates the value element type of the map. It must not be nil for the descriptor to be consistent.
If this descriptor represents a bit set type, this property must indicate a Boolean type for the descriptor to be consistent.
If this descriptor represents any other kind of type, this property must be nil for the descriptor to be consistent.
DDS_DynamicType DDS_TypeDescriptor::key_element_type |
If this descriptor represents a map type, this property indicates the value element type of the map.
It must not be nil for the descriptor to be consistent.
If this descriptor represents any other kind of type, this property must be nil for the descriptor to be consistent.