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);
381 "In favor of version using
eprosima::fastcdr::serialize.")
382 RTPS_DllAPI
void serialize(
390 "In favor of version using
eprosima::fastcdr::deserialize.")
391 RTPS_DllAPI
void deserialize(
403 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency)
const;
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1835
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:992
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:802
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1417
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1182
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:622
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:442
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:179
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:60
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1652
Definition TypeIdentifier.h:81
RTPS_DllAPI void sc_component_id(StronglyConnectedComponentId _sc_component_id)
This function sets a value in member sc_component_id.
RTPS_DllAPI const PlainSequenceLElemDefn & seq_ldefn() const
This function returns the value of member seq_ldefn.
RTPS_DllAPI const PlainSequenceSElemDefn & seq_sdefn() const
This function returns the value of member seq_sdefn.
RTPS_DllAPI ExtendedTypeDefn & extended_defn()
This function returns a reference to member extended_defn.
RTPS_DllAPI void array_ldefn(PlainArrayLElemDefn _array_ldefn)
This function sets a value in member array_ldefn.
RTPS_DllAPI TypeIdentifier()
Default constructor.
RTPS_DllAPI StronglyConnectedComponentId sc_component_id() const
This function returns the value of member sc_component_id.
RTPS_DllAPI void _d(octet __d)
This function sets the discriminator value.
bool operator==(const TypeIdentifier &other) const
Equals.
RTPS_DllAPI void map_sdefn(PlainMapSTypeDefn _map_sdefn)
This function sets a value in member map_sdefn.
RTPS_DllAPI void equivalence_hash(EquivalenceHash _equivalence_hash)
This function sets a value in member equivalence_hash.
RTPS_DllAPI void seq_sdefn(PlainSequenceSElemDefn _seq_sdefn)
This function sets a value in member seq_sdefn.
RTPS_DllAPI void string_ldefn(StringLTypeDefn _string_ldefn)
This function sets a value in member string_ldefn.
RTPS_DllAPI void map_ldefn(PlainMapLTypeDefn _map_ldefn)
This function sets a value in member map_ldefn.
RTPS_DllAPI bool consistent(const TypeIdentifier &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI PlainMapLTypeDefn & map_ldefn()
This function returns a reference to member map_ldefn.
RTPS_DllAPI PlainArraySElemDefn & array_sdefn()
This function returns a reference to member array_sdefn.
RTPS_DllAPI StringLTypeDefn & string_ldefn()
This function returns a reference to member string_ldefn.
RTPS_DllAPI StronglyConnectedComponentId & sc_component_id()
This function returns a reference to member sc_component_id.
RTPS_DllAPI ~TypeIdentifier()
Default destructor.
RTPS_DllAPI PlainSequenceSElemDefn & seq_sdefn()
This function returns a reference to member seq_sdefn.
RTPS_DllAPI void seq_ldefn(PlainSequenceLElemDefn _seq_ldefn)
This function sets a value in member seq_ldefn.
RTPS_DllAPI void string_sdefn(StringSTypeDefn _string_sdefn)
This function sets a value in member string_sdefn.
RTPS_DllAPI const ExtendedTypeDefn & extended_defn() const
This function returns the value of member extended_defn.
RTPS_DllAPI octet & _d()
This function returns a reference to the discriminator.
RTPS_DllAPI const StringSTypeDefn & string_sdefn() const
This function returns the value of member string_sdefn.
RTPS_DllAPI const PlainMapLTypeDefn & map_ldefn() const
This function returns the value of member map_ldefn.
RTPS_DllAPI const PlainArrayLElemDefn & array_ldefn() const
This function returns the value of member array_ldefn.
RTPS_DllAPI const PlainMapSTypeDefn & map_sdefn() const
This function returns the value of member map_sdefn.
RTPS_DllAPI const octet * equivalence_hash() const
This function returns the value of member equivalence_hash.
RTPS_DllAPI std::string equivalence_hash_to_string() const
equivalence_hash_to_string
RTPS_DllAPI const PlainArraySElemDefn & array_sdefn() const
This function returns the value of member array_sdefn.
RTPS_DllAPI TypeIdentifier(TypeIdentifier &&x)
Move constructor.
RTPS_DllAPI TypeIdentifier & operator=(const TypeIdentifier &x)
Copy assignment.
RTPS_DllAPI PlainArrayLElemDefn & array_ldefn()
This function returns a reference to member array_ldefn.
RTPS_DllAPI PlainSequenceLElemDefn & seq_ldefn()
This function returns a reference to member seq_ldefn.
RTPS_DllAPI octet * equivalence_hash()
This function returns a reference to member equivalence_hash.
RTPS_DllAPI void array_sdefn(PlainArraySElemDefn _array_sdefn)
This function sets a value in member array_sdefn.
RTPS_DllAPI octet _d() const
This function returns the value of the discriminator.
RTPS_DllAPI PlainMapSTypeDefn & map_sdefn()
This function returns a reference to member map_sdefn.
RTPS_DllAPI StringSTypeDefn & string_sdefn()
This function returns a reference to member string_sdefn.
RTPS_DllAPI void extended_defn(ExtendedTypeDefn _extended_defn)
This function sets a value in member extended_defn.
RTPS_DllAPI TypeIdentifier(const TypeIdentifier &x)
Copy constructor.
RTPS_DllAPI const StringLTypeDefn & string_ldefn() const
This function returns the value of member string_ldefn.
const octet TI_STRONGLY_CONNECTED_COMPONENT
Definition TypeIdentifier.h:58
octet TypeIdentiferKind
Definition TypeIdentifier.h:47
std::vector< TypeIdentifier > TypeIdentifierSeq
Definition TypeIdentifier.h:428
const octet TI_PLAIN_SEQUENCE_SMALL
Definition TypeIdentifier.h:52
const octet TI_STRING8_SMALL
Definition TypeIdentifier.h:48
octet EquivalenceHash[14]
Definition TypeObjectHashId.h:45
const octet TI_STRING16_LARGE
Definition TypeIdentifier.h:51
const octet TI_STRING16_SMALL
Definition TypeIdentifier.h:50
const octet TI_PLAIN_ARRAY_LARGE
Definition TypeIdentifier.h:55
const octet TI_PLAIN_ARRAY_SMALL
Definition TypeIdentifier.h:54
const octet TI_PLAIN_MAP_LARGE
Definition TypeIdentifier.h:57
const octet TI_PLAIN_MAP_SMALL
Definition TypeIdentifier.h:56
const octet TI_PLAIN_SEQUENCE_LARGE
Definition TypeIdentifier.h:53
const octet TI_STRING8_LARGE
Definition TypeIdentifier.h:49
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition QosPolicies.h:95
eProsima namespace.
Definition LibrarySettingsAttributes.h:23