22 #ifndef _TYPEIDENTIFIER_H_ 23 #define _TYPEIDENTIFIER_H_ 25 #include <fastrtps/types/TypesBase.h> 26 #include <fastrtps/types/TypeIdentifierTypes.h> 134 RTPS_DllAPI octet
_d()
const;
140 RTPS_DllAPI octet&
_d();
363 #ifndef DOXYGEN_SHOULD_SKIP_THIS 370 FASTDDS_SER_METHOD_DEPRECATED(3,
"eprosima::fastrtps::types::TypeIdentifier::getCdrSerializedSize()",
371 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
372 RTPS_DllAPI
static size_t getCdrSerializedSize(
374 size_t current_alignment = 0);
380 FASTDDS_SER_METHOD_DEPRECATED(3,
"eprosima::fastrtps::types::TypeIdentifier::serialize()",
381 "In favor of version using eprosima::fastcdr::serialize.")
382 RTPS_DllAPI
void serialize(
383 eprosima::fastcdr::Cdr& cdr)
const;
389 FASTDDS_SER_METHOD_DEPRECATED(3,
"eprosima::fastrtps::types::TypeIdentifier::deserialize()",
390 "In favor of version using eprosima::fastcdr::deserialize.")
391 RTPS_DllAPI
void deserialize(
392 eprosima::fastcdr::Cdr& cdr);
393 #endif // DOXYGEN_SHOULD_SKIP_THIS 403 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency)
const;
434 #endif // _TYPEIDENTIFIER_H_ RTPS_DllAPI const StringLTypeDefn & string_ldefn() const
This function returns the value of member string_ldefn.
RTPS_DllAPI bool consistent(const TypeIdentifier &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
This class represents the structure StringSTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:59
const octet TI_PLAIN_ARRAY_SMALL
Definition: TypeIdentifier.h:54
const octet TI_STRING8_LARGE
Definition: TypeIdentifier.h:49
RTPS_DllAPI TypeIdentifier & operator=(const TypeIdentifier &x)
Copy assignment.
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:1181
const octet TI_STRONGLY_CONNECTED_COMPONENT
Definition: TypeIdentifier.h:58
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:441
const octet TI_PLAIN_SEQUENCE_SMALL
Definition: TypeIdentifier.h:52
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:991
std::vector< TypeIdentifier > TypeIdentifierSeq
Definition: TypeIdentifier.h:428
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1651
RTPS_DllAPI const PlainArrayLElemDefn & array_ldefn() const
This function returns the value of member array_ldefn.
RTPS_DllAPI const PlainArraySElemDefn & array_sdefn() const
This function returns the value of member array_sdefn.
This class represents the structure StringLTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:178
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1416
RTPS_DllAPI TypeIdentifier()
Default constructor.
RTPS_DllAPI std::string equivalence_hash_to_string() const
equivalence_hash_to_string
octet TypeIdentiferKind
Definition: TypeIdentifier.h:47
RTPS_DllAPI StronglyConnectedComponentId sc_component_id() const
This function returns the value of member sc_component_id.
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:621
RTPS_DllAPI const PlainMapLTypeDefn & map_ldefn() const
This function returns the value of member map_ldefn.
RTPS_DllAPI octet _d() const
This function returns the value of the discriminator.
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:801
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file...
Definition: TypeIdentifierTypes.h:1834
const octet TI_PLAIN_SEQUENCE_LARGE
Definition: TypeIdentifier.h:53
RTPS_DllAPI const ExtendedTypeDefn & extended_defn() const
This function returns the value of member extended_defn.
RTPS_DllAPI const PlainMapSTypeDefn & map_sdefn() const
This function returns the value of member map_sdefn.
const octet TI_STRING16_LARGE
Definition: TypeIdentifier.h:51
const octet TI_PLAIN_MAP_LARGE
Definition: TypeIdentifier.h:57
bool operator==(const TypeIdentifier &other) const
Equals.
Definition: TypeIdentifier.h:80
RTPS_DllAPI const PlainSequenceSElemDefn & seq_sdefn() const
This function returns the value of member seq_sdefn.
RTPS_DllAPI ~TypeIdentifier()
Default destructor.
RTPS_DllAPI const StringSTypeDefn & string_sdefn() const
This function returns the value of member string_sdefn.
RTPS_DllAPI const octet * equivalence_hash() const
This function returns the value of member equivalence_hash.
const octet TI_PLAIN_ARRAY_LARGE
Definition: TypeIdentifier.h:55
const octet TI_PLAIN_MAP_SMALL
Definition: TypeIdentifier.h:56
const octet TI_STRING8_SMALL
Definition: TypeIdentifier.h:48
const octet TI_STRING16_SMALL
Definition: TypeIdentifier.h:50
octet EquivalenceHash[14]
Definition: TypeObjectHashId.h:45
RTPS_DllAPI const PlainSequenceLElemDefn & seq_ldefn() const
This function returns the value of member seq_ldefn.