This class represents the union TypeObject defined by the user in the IDL file.
More...
#include <dds_xtypes_typeobject.hpp>
This class represents the union TypeObject defined by the user in the IDL file.
◆ TypeObject() [1/3]
◆ ~TypeObject()
◆ TypeObject() [2/3]
Copy constructor.
- Parameters
-
x | Reference to the object TypeObject that will be copied. |
◆ TypeObject() [3/3]
Move constructor.
- Parameters
-
x | Reference to the object TypeObject that will be copied. |
◆ _d() [1/2]
eProsima_user_DllExport uint8_t _d |
( |
| ) |
const |
|
inline |
This function returns the value of the discriminator.
- Returns
- Value of the discriminator
◆ _d() [2/2]
eProsima_user_DllExport void _d |
( |
uint8_t | __d | ) |
|
|
inline |
This function sets the discriminator value.
- Parameters
-
__d | New value for the discriminator. |
- Exceptions
-
eprosima::fastcdr::exception::BadParamException | This exception is thrown if the new value doesn't correspond to the selected union member. |
◆ _default()
◆ complete() [1/4]
This function returns a reference to member complete.
- Returns
- Reference to member complete
- Exceptions
-
eprosima::fastcdr::exception::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ complete() [2/4]
This function returns a constant reference to member complete.
- Returns
- Constant reference to member complete
- Exceptions
-
eprosima::fastcdr::exception::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ complete() [3/4]
This function moves the value in member complete.
- Parameters
-
_complete | New value to be moved in member complete |
◆ complete() [4/4]
This function copies the value in member complete.
- Parameters
-
_complete | New value to be copied in member complete |
◆ minimal() [1/4]
This function returns a reference to member minimal.
- Returns
- Reference to member minimal
- Exceptions
-
eprosima::fastcdr::exception::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ minimal() [2/4]
This function returns a constant reference to member minimal.
- Returns
- Constant reference to member minimal
- Exceptions
-
eprosima::fastcdr::exception::BadParamException | This exception is thrown if the requested union member is not the current selection. |
◆ minimal() [3/4]
This function copies the value in member minimal.
- Parameters
-
_minimal | New value to be copied in member minimal |
◆ minimal() [4/4]
This function moves the value in member minimal.
- Parameters
-
_minimal | New value to be moved in member minimal |
◆ operator!=()
eProsima_user_DllExport bool operator!= |
( |
const TypeObject & | x | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
◆ operator=() [1/2]
Copy assignment.
- Parameters
-
x | Reference to the object TypeObject that will be copied. |
◆ operator=() [2/2]
Move assignment.
- Parameters
-
x | Reference to the object TypeObject that will be copied. |
◆ operator==()
eProsima_user_DllExport bool operator== |
( |
const TypeObject & | x | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
◆ m_complete
◆ m_minimal
The documentation for this class was generated from the following file: