22 #ifndef _TYPEIDENTIFIER_H_ 23 #define _TYPEIDENTIFIER_H_ 25 #include <fastrtps/types/TypesBase.h> 26 #include <fastrtps/types/TypeIdentifierTypes.h> 48 const octet TI_STRING8_SMALL = 0x70;
49 const octet TI_STRING8_LARGE = 0x71;
50 const octet TI_STRING16_SMALL = 0x72;
51 const octet TI_STRING16_LARGE = 0x73;
52 const octet TI_PLAIN_SEQUENCE_SMALL = 0x80;
53 const octet TI_PLAIN_SEQUENCE_LARGE = 0x81;
54 const octet TI_PLAIN_ARRAY_SMALL = 0x90;
55 const octet TI_PLAIN_ARRAY_LARGE = 0x91;
56 const octet TI_PLAIN_MAP_SMALL = 0xA0;
57 const octet TI_PLAIN_MAP_LARGE = 0xA1;
58 const octet TI_STRONGLY_CONNECTED_COMPONENT = 0xB0;
92 RTPS_DllAPI ~TypeIdentifier();
98 RTPS_DllAPI TypeIdentifier(
99 const TypeIdentifier& x);
105 RTPS_DllAPI TypeIdentifier(
112 RTPS_DllAPI TypeIdentifier& operator=(
113 const TypeIdentifier& x);
119 RTPS_DllAPI TypeIdentifier& operator=(
134 RTPS_DllAPI octet _d()
const;
140 RTPS_DllAPI octet& _d();
146 RTPS_DllAPI
void string_sdefn(
166 RTPS_DllAPI
void string_ldefn(
186 RTPS_DllAPI
void seq_sdefn(
206 RTPS_DllAPI
void seq_ldefn(
226 RTPS_DllAPI
void array_sdefn(
246 RTPS_DllAPI
void array_ldefn(
266 RTPS_DllAPI
void map_sdefn(
286 RTPS_DllAPI
void map_ldefn(
306 RTPS_DllAPI
void sc_component_id(
326 RTPS_DllAPI
void equivalence_hash(
327 EquivalenceHash _equivalence_hash);
334 RTPS_DllAPI
const octet* equivalence_hash()
const;
341 RTPS_DllAPI octet* equivalence_hash();
346 RTPS_DllAPI
void extended_defn(
369 RTPS_DllAPI
static size_t getCdrSerializedSize(
370 const TypeIdentifier& data,
371 size_t current_alignment = 0);
378 RTPS_DllAPI
void serialize(
379 eprosima::fastcdr::Cdr& cdr)
const;
385 RTPS_DllAPI
void deserialize(
386 eprosima::fastcdr::Cdr& cdr);
392 const TypeIdentifier& other)
const;
394 RTPS_DllAPI
bool consistent(
395 const TypeIdentifier& x,
396 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency)
const;
402 RTPS_DllAPI std::string equivalence_hash_to_string()
const;
417 EquivalenceHash m_equivalence_hash;
427 #endif // _TYPEIDENTIFIER_H_ This class represents the structure StringSTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:58
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition: QosPolicies.h:95
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1115
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:415
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:935
std::vector< TypeIdentifier > TypeIdentifierSeq
Definition: TypeIdentifier.h:421
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1561
This class represents the structure StringLTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:169
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1338
octet TypeIdentiferKind
Definition: TypeIdentifier.h:47
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:585
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:755
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1734
Definition: TypeIdentifier.h:80
std::enable_if< std::is_arithmetic< T >::value||std::is_enum< T >::value, bool >::type operator==(T a, const ReturnCode_t &b)
Definition: TypesBase.h:251