 |
Fast RTPS
Version 2.1.0
Fast RTPS
|
22 #ifndef _TYPEOBJECTHASHID_H_
23 #define _TYPEOBJECTHASHID_H_
25 #include <fastrtps/types/TypesBase.h>
188 #endif // _TYPEOBJECTHASHID_H_
void hash(const EquivalenceHash &_hash)
This function copies the value in member hash.
const EquivalenceHash & hash() const
This function returns a constant reference to member hash.
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:54
TypeObjectHashId()
Default constructor.
void _d(uint8_t __d)
This function sets the discriminator value.
void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
static bool isKeyDefined()
This function tells you if the Key has been defined for this type.
uint8_t & _d()
This function returns a reference to the discriminator.
void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
uint8_t _d() const
This function returns the value of the discriminator.
TypeObjectHashId(TypeObjectHashId &&x)
Move constructor.
static size_t getKeyMaxCdrSerializedSize(size_t current_alignment=0)
This function returns the maximum serialized size of the Key of an object depending on the buffer ali...
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
EquivalenceHash & hash()
This function returns a reference to member hash.
TypeObjectHashId & operator=(const TypeObjectHashId &x)
Copy assignment.
TypeObjectHashId(const TypeObjectHashId &x)
Copy constructor.
~TypeObjectHashId()
Default destructor.
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
void hash(EquivalenceHash &&_hash)
This function moves the value in member hash.
static size_t getCdrSerializedSize(const TypeObjectHashId &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
TypeObjectHashId & operator=(TypeObjectHashId &&x)
Move assignment.
octet EquivalenceHash[14]
Definition: TypeObjectHashId.h:47