22 #ifndef _TYPEOBJECTHASHID_H_
23 #define _TYPEOBJECTHASHID_H_
25 #include <fastrtps/types/TypesBase.h>
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:54
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.
uint8_t _d() const
This function returns the value of the discriminator.
EquivalenceHash & hash()
This function returns a reference to member hash.
void hash(const EquivalenceHash &_hash)
This function copies the value in member hash.
TypeObjectHashId(const TypeObjectHashId &x)
Copy constructor.
void hash(EquivalenceHash &&_hash)
This function moves the value in member hash.
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...
TypeObjectHashId & operator=(TypeObjectHashId &&x)
Move assignment.
TypeObjectHashId()
Default constructor.
static bool isKeyDefined()
This function tells you if the Key has been defined for this type.
const EquivalenceHash & hash() const
This function returns a constant reference to member hash.
void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
uint8_t & _d()
This function returns a reference to the discriminator.
void serializeKey(eprosima::fastcdr::Cdr &cdr) const
This function serializes the key members of an object using CDR serialization.
TypeObjectHashId(TypeObjectHashId &&x)
Move constructor.
TypeObjectHashId & operator=(const TypeObjectHashId &x)
Copy assignment.
void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
~TypeObjectHashId()
Default destructor.
void _d(uint8_t __d)
This function sets the discriminator value.
octet EquivalenceHash[14]
Definition: TypeObjectHashId.h:47
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23