This class represents the union TypeObjectHashId defined by the user in the IDL file.
More...
#include <TypeObjectHashId.h>
|
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 alignment.
|
|
static bool | isKeyDefined () |
| This function tells you if the Key has been defined for this type.
|
|
This class represents the union TypeObjectHashId defined by the user in the IDL file.
◆ TypeObjectHashId() [1/3]
◆ ~TypeObjectHashId()
◆ TypeObjectHashId() [2/3]
Copy constructor.
- Parameters
-
◆ TypeObjectHashId() [3/3]
Move constructor.
- Parameters
-
◆ _d() [1/3]
This function returns a reference to the discriminator.
- Returns
- Reference to the discriminator.
◆ _d() [2/3]
This function returns the value of the discriminator.
- Returns
- Value of the discriminator
◆ _d() [3/3]
This function sets the discriminator value.
- Parameters
-
__d | New value for the discriminator. |
- Exceptions
-
eprosima::fastcdr::BadParamException | This exception is thrown if the new value doesn't correspond to the selected union member. |
◆ deserialize()
void deserialize |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
|
This function deserializes an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
◆ getKeyMaxCdrSerializedSize()
static size_t getKeyMaxCdrSerializedSize |
( |
size_t |
current_alignment = 0 | ) |
|
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
- Parameters
-
current_alignment | Buffer alignment. |
- Returns
- Maximum serialized size.
◆ hash() [1/4]
This function returns a reference to member hash.
- Returns
- Reference to member hash
- Exceptions
-
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ hash() [2/4]
This function returns a constant reference to member hash.
- Returns
- Constant reference to member hash
- Exceptions
-
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ hash() [3/4]
This function copies the value in member hash.
- Parameters
-
_hash | New value to be copied in member hash |
◆ hash() [4/4]
This function moves the value in member hash.
- Parameters
-
_hash | New value to be moved in member hash |
◆ isKeyDefined()
static bool isKeyDefined |
( |
| ) |
|
|
static |
This function tells you if the Key has been defined for this type.
◆ operator=() [1/2]
Copy assignment.
- Parameters
-
◆ operator=() [2/2]
Move assignment.
- Parameters
-
◆ serialize()
void serialize |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
const |
This function serializes an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
◆ serializeKey()
void serializeKey |
( |
eprosima::fastcdr::Cdr & |
cdr | ) |
const |
This function serializes the key members of an object using CDR serialization.
- Parameters
-
cdr | CDR serialization object. |
The documentation for this class was generated from the following file: