Go to the source code of this file.
◆ IOX2_BUILDER_OPTIONAL
| #define IOX2_BUILDER_OPTIONAL |
( |
|
type, |
|
|
|
name |
|
) |
| |
Value: public: \
auto name(type const& value)&& -> decltype(auto) { \
return std::move(*this); \
} \
\
auto name(type&& value)&& -> decltype(auto) { \
return std::move(*this); \
} \
\
private: \
iox2::bb::variation::Optional< T > Optional
Definition at line 47 of file builder.hpp.
◆ IOX2_BUILDER_PARAMETER
| #define IOX2_BUILDER_PARAMETER |
( |
|
type, |
|
|
|
name, |
|
|
|
defaultValue |
|
) |
| |
Value: public: \
auto name(type const& value)&& noexcept -> decltype(auto) { \
m_##name = value; \
return std::move(*this); \
} \
\
auto name(type&& value)&& noexcept -> decltype(auto) { \
m_##name = std::move(value); \
return std::move(*this); \
} \
\
private: \
type m_##name { \
defaultValue \
}
Definition at line 30 of file builder.hpp.
◆ IOX2_BUILDER_SWITCH
| #define IOX2_BUILDER_SWITCH |
( |
|
name | ) |
|
Value: public: \
auto name()&& noexcept -> decltype(auto) { \
m_##name = true; \
return std::move(*this); \
} \
\
private: \
bool m_##name { false };
Definition at line 20 of file builder.hpp.