22 #ifndef _TYPEOBJECTHASHID_H_
23 #define _TYPEOBJECTHASHID_H_
25 #include <fastrtps/types/TypesBase.h>
146 eprosima::fastcdr::Cdr& cdr)
const;
153 eprosima::fastcdr::Cdr& cdr);
162 size_t current_alignment = 0);
174 eprosima::fastcdr::Cdr& cdr)
const;
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:52
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()
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:45
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23