This class represents the union AnnotationParameterValue defined by the user in the IDL file. More...
#include <AnnotationParameterValue.h>
Public Member Functions | |
RTPS_DllAPI | AnnotationParameterValue () |
Default constructor. | |
RTPS_DllAPI | ~AnnotationParameterValue () |
Default destructor. | |
RTPS_DllAPI | AnnotationParameterValue (const AnnotationParameterValue &x) |
Copy constructor. | |
RTPS_DllAPI | AnnotationParameterValue (AnnotationParameterValue &&x) |
Move constructor. | |
RTPS_DllAPI AnnotationParameterValue & | operator= (const AnnotationParameterValue &x) |
Copy assignment. | |
RTPS_DllAPI AnnotationParameterValue & | operator= (AnnotationParameterValue &&x) |
Move assignment. | |
RTPS_DllAPI void | _d (char __d) |
This function sets the discriminator value. | |
RTPS_DllAPI char | _d () const |
This function returns the value of the discriminator. | |
RTPS_DllAPI char & | _d () |
This function returns a reference to the discriminator. | |
RTPS_DllAPI void | boolean_value (bool _boolean_value) |
This function sets a value in member boolean_value. | |
RTPS_DllAPI bool | boolean_value () const |
This function returns the value of member boolean_value. | |
RTPS_DllAPI bool & | boolean_value () |
This function returns a reference to member boolean_value. | |
RTPS_DllAPI void | byte_value (uint8_t _byte_value) |
This function sets a value in member byte_value. | |
RTPS_DllAPI uint8_t | byte_value () const |
This function returns the value of member byte_value. | |
RTPS_DllAPI uint8_t & | byte_value () |
This function returns a reference to member byte_value. | |
RTPS_DllAPI void | int16_value (int16_t _int16_value) |
This function sets a value in member int16_value. | |
RTPS_DllAPI int16_t | int16_value () const |
This function returns the value of member int16_value. | |
RTPS_DllAPI int16_t & | int16_value () |
This function returns a reference to member int16_value. | |
RTPS_DllAPI void | uint_16_value (uint16_t _uint_16_value) |
This function sets a value in member uint_16_value. | |
RTPS_DllAPI uint16_t | uint_16_value () const |
This function returns the value of member uint_16_value. | |
RTPS_DllAPI uint16_t & | uint_16_value () |
This function returns a reference to member uint_16_value. | |
RTPS_DllAPI void | int32_value (int32_t _int32_value) |
This function sets a value in member int32_value. | |
RTPS_DllAPI int32_t | int32_value () const |
This function returns the value of member int32_value. | |
RTPS_DllAPI int32_t & | int32_value () |
This function returns a reference to member int32_value. | |
RTPS_DllAPI void | uint32_value (uint32_t _uint32_value) |
This function sets a value in member uint32_value. | |
RTPS_DllAPI uint32_t | uint32_value () const |
This function returns the value of member uint32_value. | |
RTPS_DllAPI uint32_t & | uint32_value () |
This function returns a reference to member uint32_value. | |
RTPS_DllAPI void | int64_value (int64_t _int64_value) |
This function sets a value in member int64_value. | |
RTPS_DllAPI int64_t | int64_value () const |
This function returns the value of member int64_value. | |
RTPS_DllAPI int64_t & | int64_value () |
This function returns a reference to member int64_value. | |
RTPS_DllAPI void | uint64_value (uint64_t _uint64_value) |
This function sets a value in member uint64_value. | |
RTPS_DllAPI uint64_t | uint64_value () const |
This function returns the value of member uint64_value. | |
RTPS_DllAPI uint64_t & | uint64_value () |
This function returns a reference to member uint64_value. | |
RTPS_DllAPI void | float32_value (float _float32_value) |
This function sets a value in member float32_value. | |
RTPS_DllAPI float | float32_value () const |
This function returns the value of member float32_value. | |
RTPS_DllAPI float & | float32_value () |
This function returns a reference to member float32_value. | |
RTPS_DllAPI void | float64_value (double _float64_value) |
This function sets a value in member float64_value. | |
RTPS_DllAPI double | float64_value () const |
This function returns the value of member float64_value. | |
RTPS_DllAPI double & | float64_value () |
This function returns a reference to member float64_value. | |
RTPS_DllAPI void | float128_value (long double _float128_value) |
This function sets a value in member float128_value. | |
RTPS_DllAPI long double | float128_value () const |
This function returns the value of member float128_value. | |
RTPS_DllAPI long double & | float128_value () |
This function returns a reference to member float128_value. | |
RTPS_DllAPI void | char_value (char _char_value) |
This function sets a value in member char_value. | |
RTPS_DllAPI char | char_value () const |
This function returns the value of member char_value. | |
RTPS_DllAPI char & | char_value () |
This function returns a reference to member char_value. | |
RTPS_DllAPI void | wchar_value (wchar_t _wchar_value) |
This function sets a value in member wchar_value. | |
RTPS_DllAPI wchar_t | wchar_value () const |
This function returns the value of member wchar_value. | |
RTPS_DllAPI wchar_t & | wchar_value () |
This function returns a reference to member wchar_value. | |
RTPS_DllAPI void | enumerated_value (int32_t _enumerated_value) |
This function sets a value in member enumerated_value. | |
RTPS_DllAPI int32_t | enumerated_value () const |
This function returns the value of member enumerated_value. | |
RTPS_DllAPI int32_t & | enumerated_value () |
This function returns a reference to member enumerated_value. | |
RTPS_DllAPI void | string8_value (const std::string &_string8_value) |
This function copies the value in member string8_value. | |
RTPS_DllAPI void | string8_value (std::string &&_string8_value) |
This function moves the value in member string8_value. | |
RTPS_DllAPI const std::string & | string8_value () const |
This function returns a constant reference to member string8_value. | |
RTPS_DllAPI std::string & | string8_value () |
This function returns a reference to member string8_value. | |
RTPS_DllAPI void | string16_value (const std::wstring &_string16_value) |
This function copies the value in member string16_value. | |
RTPS_DllAPI void | string16_value (std::wstring &&_string16_value) |
This function moves the value in member string16_value. | |
RTPS_DllAPI const std::wstring & | string16_value () const |
This function returns a constant reference to member string16_value. | |
RTPS_DllAPI std::wstring & | string16_value () |
This function returns a reference to member string16_value. | |
RTPS_DllAPI void | extended_value (const ExtendedAnnotationParameterValue &_extended_value) |
This function copies the value in member extended_value. | |
RTPS_DllAPI void | extended_value (ExtendedAnnotationParameterValue &&_extended_value) |
This function moves the value in member extended_value. | |
RTPS_DllAPI const ExtendedAnnotationParameterValue & | extended_value () const |
This function returns a constant reference to member extended_value. | |
RTPS_DllAPI ExtendedAnnotationParameterValue & | extended_value () |
This function returns a reference to member extended_value. | |
RTPS_DllAPI void | serializeKey (eprosima::fastcdr::Cdr &cdr) const |
This function serializes the key members of an object using CDR serialization. | |
RTPS_DllAPI bool | operator== (const AnnotationParameterValue &other) const |
RTPS_DllAPI std::string | to_string () const |
Aux method to return value as its string representation. | |
RTPS_DllAPI void | from_string (const std::string &value) |
Aux method to set value from its string representation. | |
Static Public Member Functions | |
static RTPS_DllAPI 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 RTPS_DllAPI bool | isKeyDefined () |
This function tells you if the Key has been defined for this type. | |
This class represents the union AnnotationParameterValue defined by the user in the IDL file.
RTPS_DllAPI AnnotationParameterValue | ( | ) |
Default constructor.
RTPS_DllAPI ~AnnotationParameterValue | ( | ) |
Default destructor.
RTPS_DllAPI AnnotationParameterValue | ( | const AnnotationParameterValue & | x | ) |
Copy constructor.
x | Reference to the object AnnotationParameterValue that will be copied. |
RTPS_DllAPI AnnotationParameterValue | ( | AnnotationParameterValue && | x | ) |
Move constructor.
x | Reference to the object AnnotationParameterValue that will be copied. |
RTPS_DllAPI char & _d | ( | ) |
This function returns a reference to the discriminator.
RTPS_DllAPI char _d | ( | ) | const |
This function returns the value of the discriminator.
RTPS_DllAPI void _d | ( | char | __d | ) |
This function sets the discriminator value.
__d | New value for the discriminator. |
eprosima::fastcdr::BadParamException | This exception is thrown if the new value doesn't correspond to the selected union member. |
RTPS_DllAPI bool & boolean_value | ( | ) |
This function returns a reference to member boolean_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI bool boolean_value | ( | ) | const |
This function returns the value of member boolean_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void boolean_value | ( | bool | _boolean_value | ) |
This function sets a value in member boolean_value.
_boolean_value | New value for member boolean_value |
RTPS_DllAPI uint8_t & byte_value | ( | ) |
This function returns a reference to member byte_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI uint8_t byte_value | ( | ) | const |
This function returns the value of member byte_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void byte_value | ( | uint8_t | _byte_value | ) |
This function sets a value in member byte_value.
_byte_value | New value for member byte_value |
RTPS_DllAPI char & char_value | ( | ) |
This function returns a reference to member char_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI char char_value | ( | ) | const |
This function returns the value of member char_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void char_value | ( | char | _char_value | ) |
This function sets a value in member char_value.
_char_value | New value for member char_value |
RTPS_DllAPI int32_t & enumerated_value | ( | ) |
This function returns a reference to member enumerated_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI int32_t enumerated_value | ( | ) | const |
This function returns the value of member enumerated_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void enumerated_value | ( | int32_t | _enumerated_value | ) |
This function sets a value in member enumerated_value.
_enumerated_value | New value for member enumerated_value |
RTPS_DllAPI ExtendedAnnotationParameterValue & extended_value | ( | ) |
This function returns a reference to member extended_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI const ExtendedAnnotationParameterValue & extended_value | ( | ) | const |
This function returns a constant reference to member extended_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void extended_value | ( | const ExtendedAnnotationParameterValue & | _extended_value | ) |
This function copies the value in member extended_value.
_extended_value | New value to be copied in member extended_value |
RTPS_DllAPI void extended_value | ( | ExtendedAnnotationParameterValue && | _extended_value | ) |
This function moves the value in member extended_value.
_extended_value | New value to be moved in member extended_value |
RTPS_DllAPI long double & float128_value | ( | ) |
This function returns a reference to member float128_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI long double float128_value | ( | ) | const |
This function returns the value of member float128_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void float128_value | ( | long double | _float128_value | ) |
This function sets a value in member float128_value.
_float128_value | New value for member float128_value |
RTPS_DllAPI float & float32_value | ( | ) |
This function returns a reference to member float32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI float float32_value | ( | ) | const |
This function returns the value of member float32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void float32_value | ( | float | _float32_value | ) |
This function sets a value in member float32_value.
_float32_value | New value for member float32_value |
RTPS_DllAPI double & float64_value | ( | ) |
This function returns a reference to member float64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI double float64_value | ( | ) | const |
This function returns the value of member float64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void float64_value | ( | double | _float64_value | ) |
This function sets a value in member float64_value.
_float64_value | New value for member float64_value |
|
inline |
Aux method to set value from its string representation.
|
static |
This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.
current_alignment | Buffer alignment. |
RTPS_DllAPI int16_t & int16_value | ( | ) |
This function returns a reference to member int16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI int16_t int16_value | ( | ) | const |
This function returns the value of member int16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void int16_value | ( | int16_t | _int16_value | ) |
This function sets a value in member int16_value.
_int16_value | New value for member int16_value |
RTPS_DllAPI int32_t & int32_value | ( | ) |
This function returns a reference to member int32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI int32_t int32_value | ( | ) | const |
This function returns the value of member int32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void int32_value | ( | int32_t | _int32_value | ) |
This function sets a value in member int32_value.
_int32_value | New value for member int32_value |
RTPS_DllAPI int64_t & int64_value | ( | ) |
This function returns a reference to member int64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI int64_t int64_value | ( | ) | const |
This function returns the value of member int64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void int64_value | ( | int64_t | _int64_value | ) |
This function sets a value in member int64_value.
_int64_value | New value for member int64_value |
|
static |
This function tells you if the Key has been defined for this type.
RTPS_DllAPI AnnotationParameterValue & operator= | ( | AnnotationParameterValue && | x | ) |
Move assignment.
x | Reference to the object AnnotationParameterValue that will be copied. |
RTPS_DllAPI AnnotationParameterValue & operator= | ( | const AnnotationParameterValue & | x | ) |
Copy assignment.
x | Reference to the object AnnotationParameterValue that will be copied. |
RTPS_DllAPI bool operator== | ( | const AnnotationParameterValue & | other | ) | const |
RTPS_DllAPI void serializeKey | ( | eprosima::fastcdr::Cdr & | cdr | ) | const |
This function serializes the key members of an object using CDR serialization.
cdr | CDR serialization object. |
RTPS_DllAPI std::wstring & string16_value | ( | ) |
This function returns a reference to member string16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI const std::wstring & string16_value | ( | ) | const |
This function returns a constant reference to member string16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void string16_value | ( | const std::wstring & | _string16_value | ) |
This function copies the value in member string16_value.
_string16_value | New value to be copied in member string16_value |
RTPS_DllAPI void string16_value | ( | std::wstring && | _string16_value | ) |
This function moves the value in member string16_value.
_string16_value | New value to be moved in member string16_value |
RTPS_DllAPI std::string & string8_value | ( | ) |
This function returns a reference to member string8_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI const std::string & string8_value | ( | ) | const |
This function returns a constant reference to member string8_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void string8_value | ( | const std::string & | _string8_value | ) |
This function copies the value in member string8_value.
_string8_value | New value to be copied in member string8_value |
RTPS_DllAPI void string8_value | ( | std::string && | _string8_value | ) |
This function moves the value in member string8_value.
_string8_value | New value to be moved in member string8_value |
|
inline |
Aux method to return value as its string representation.
RTPS_DllAPI uint32_t & uint32_value | ( | ) |
This function returns a reference to member uint32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI uint32_t uint32_value | ( | ) | const |
This function returns the value of member uint32_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void uint32_value | ( | uint32_t | _uint32_value | ) |
This function sets a value in member uint32_value.
_uint32_value | New value for member uint32_value |
RTPS_DllAPI uint64_t & uint64_value | ( | ) |
This function returns a reference to member uint64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI uint64_t uint64_value | ( | ) | const |
This function returns the value of member uint64_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void uint64_value | ( | uint64_t | _uint64_value | ) |
This function sets a value in member uint64_value.
_uint64_value | New value for member uint64_value |
RTPS_DllAPI uint16_t & uint_16_value | ( | ) |
This function returns a reference to member uint_16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI uint16_t uint_16_value | ( | ) | const |
This function returns the value of member uint_16_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void uint_16_value | ( | uint16_t | _uint_16_value | ) |
This function sets a value in member uint_16_value.
_uint_16_value | New value for member uint_16_value |
RTPS_DllAPI wchar_t & wchar_value | ( | ) |
This function returns a reference to member wchar_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI wchar_t wchar_value | ( | ) | const |
This function returns the value of member wchar_value.
eprosima::fastcdr::BadParamException | This exception is thrown if the requested union member is not the current selection. |
RTPS_DllAPI void wchar_value | ( | wchar_t | _wchar_value | ) |
This function sets a value in member wchar_value.
_wchar_value | New value for member wchar_value |