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();
371 size_t current_alignment = 0);
379 eprosima::fastcdr::Cdr& cdr)
const;
386 eprosima::fastcdr::Cdr& cdr);
396 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency)
const;
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1735
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:936
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:756
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1339
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1116
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:586
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:416
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:170
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:59
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1562
Definition: TypeIdentifier.h:81
RTPS_DllAPI const PlainArrayLElemDefn & array_ldefn() const
This function returns the value of member array_ldefn.
RTPS_DllAPI void sc_component_id(StronglyConnectedComponentId _sc_component_id)
This function sets a value in member sc_component_id.
RTPS_DllAPI PlainSequenceSElemDefn & seq_sdefn()
This function returns a reference to member seq_sdefn.
RTPS_DllAPI const PlainSequenceLElemDefn & seq_ldefn() const
This function returns the value of member seq_ldefn.
RTPS_DllAPI void array_ldefn(PlainArrayLElemDefn _array_ldefn)
This function sets a value in member array_ldefn.
RTPS_DllAPI StringSTypeDefn & string_sdefn()
This function returns a reference to member string_sdefn.
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 PlainSequenceLElemDefn & seq_ldefn()
This function returns a reference to member seq_ldefn.
RTPS_DllAPI PlainArraySElemDefn & array_sdefn()
This function returns a reference to member array_sdefn.
RTPS_DllAPI void map_sdefn(PlainMapSTypeDefn _map_sdefn)
This function sets a value in member map_sdefn.
RTPS_DllAPI const PlainArraySElemDefn & array_sdefn() const
This function returns the value of member array_sdefn.
RTPS_DllAPI const ExtendedTypeDefn & extended_defn() const
This function returns the value of member extended_defn.
RTPS_DllAPI void equivalence_hash(EquivalenceHash _equivalence_hash)
This function sets a value in member equivalence_hash.
RTPS_DllAPI ExtendedTypeDefn & extended_defn()
This function returns a reference to member extended_defn.
RTPS_DllAPI void seq_sdefn(PlainSequenceSElemDefn _seq_sdefn)
This function sets a value in member seq_sdefn.
RTPS_DllAPI StronglyConnectedComponentId & sc_component_id()
This function returns a reference to member sc_component_id.
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 PlainArrayLElemDefn & array_ldefn()
This function returns a reference to member array_ldefn.
RTPS_DllAPI const PlainSequenceSElemDefn & seq_sdefn() const
This function returns the value of member seq_sdefn.
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI const octet * equivalence_hash() const
This function returns the value of member equivalence_hash.
RTPS_DllAPI ~TypeIdentifier()
Default destructor.
RTPS_DllAPI PlainMapSTypeDefn & map_sdefn()
This function returns a reference to member map_sdefn.
RTPS_DllAPI void seq_ldefn(PlainSequenceLElemDefn _seq_ldefn)
This function sets a value in member seq_ldefn.
static RTPS_DllAPI size_t getCdrSerializedSize(const TypeIdentifier &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
RTPS_DllAPI void string_sdefn(StringSTypeDefn _string_sdefn)
This function sets a value in member string_sdefn.
RTPS_DllAPI StringLTypeDefn & string_ldefn()
This function returns a reference to member string_ldefn.
RTPS_DllAPI const PlainMapSTypeDefn & map_sdefn() const
This function returns the value of member map_sdefn.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI const StringSTypeDefn & string_sdefn() const
This function returns the value of member string_sdefn.
RTPS_DllAPI std::string equivalence_hash_to_string() const
equivalence_hash_to_string
RTPS_DllAPI PlainMapLTypeDefn & map_ldefn()
This function returns a reference to member map_ldefn.
RTPS_DllAPI const StringLTypeDefn & string_ldefn() const
This function returns the value of member string_ldefn.
RTPS_DllAPI TypeIdentifier(TypeIdentifier &&x)
Move constructor.
RTPS_DllAPI TypeIdentifier & operator=(TypeIdentifier &&x)
Move assignment.
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 octet * equivalence_hash()
This function returns a reference to member equivalence_hash.
RTPS_DllAPI void extended_defn(ExtendedTypeDefn _extended_defn)
This function sets a value in member extended_defn.
RTPS_DllAPI octet & _d()
This function returns a reference to the discriminator.
RTPS_DllAPI const PlainMapLTypeDefn & map_ldefn() const
This function returns the value of member map_ldefn.
RTPS_DllAPI TypeIdentifier & operator=(const TypeIdentifier &x)
Copy assignment.
RTPS_DllAPI TypeIdentifier(const TypeIdentifier &x)
Copy constructor.
const octet TI_STRONGLY_CONNECTED_COMPONENT
Definition: TypeIdentifier.h:58
octet TypeIdentiferKind
Definition: TypeIdentifier.h:47
std::vector< TypeIdentifier > TypeIdentifierSeq
Definition: TypeIdentifier.h:421
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:47
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