The description of a parameter.
Definition at line 48 of file ParameterCollectionDescriptor.hpp.
◆ ParameterDescriptor() [1/3]
dw::framework::ParameterDescriptor::ParameterDescriptor |
( |
dw::core::StringView const & |
name, |
|
|
dw::core::StringView const & |
typeName, |
|
|
const bool |
isIndex, |
|
|
size_t const |
arraySize |
|
) |
| |
|
noexcept |
◆ ~ParameterDescriptor()
virtual dw::framework::ParameterDescriptor::~ParameterDescriptor |
( |
| ) |
|
|
virtualdefault |
◆ ParameterDescriptor() [2/3]
◆ ParameterDescriptor() [3/3]
◆ addDefault()
virtual void dw::framework::ParameterDescriptor::addDefault |
( |
nlohmann::ordered_json & |
object | ) |
const |
|
virtualnoexcept |
◆ getArraySize()
size_t dw::framework::ParameterDescriptor::getArraySize |
( |
| ) |
const |
|
noexcept |
Get the array size, 0 for non-array parameters.
◆ getName()
dw::core::StringView const & dw::framework::ParameterDescriptor::getName |
( |
| ) |
const |
|
noexcept |
Get the parameter name, can be empty for unnamed parameters.
◆ getTypeName()
dw::core::StringView const & dw::framework::ParameterDescriptor::getTypeName |
( |
| ) |
const |
|
noexcept |
Get the C++ type name of the parameter.
◆ isIndex()
bool dw::framework::ParameterDescriptor::isIndex |
( |
| ) |
const |
|
noexcept |
Check if parameter is an index.
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
Copy assignment operator.
The documentation for this class was generated from the following file: