| 163 | return getDef().getValueAsOptionalString("extraOpdefDecl"); |
| 164 | } |
| 165 | std::vector<MgbPackedParam> getPackedParams() const { |
| 166 | std::vector<MgbPackedParam> ret; |
| 167 | for (auto&& i : getDef().getValueAsListOfDefs("dnnParams")) { |
| 168 | if (isPackedParam(i)) { |
| 169 | ret.emplace_back(i); |
| 170 | } |
| 171 | } |
| 172 | return ret; |
| 173 | } |
| 174 | std::string getNameFunctionTemplate() const { |
| 175 | if (auto f = getDef().getValueAsOptionalString("nameFunction")) { |
| 176 | return f.getValue().str(); |
no test coverage detected