* Set the Specifier at the given index. * * @param idx * The index of the specifier, starting from 1. */
| 198 | * The index of the specifier, starting from 1. |
| 199 | */ |
| 200 | void setSpecifier(Specifier::SpecifierNumber num, SpecifierPtr spec) |
| 201 | { |
| 202 | assert( |
| 203 | _specifiers.size() == static_cast<std::size_t>( |
| 204 | Specifier::MAX_SPECIFIERS |
| 205 | ) |
| 206 | ); |
| 207 | _specifiers[static_cast<std::size_t>(num)] = spec; |
| 208 | _sigChanged(); |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * Get the Specifier at the given index. |