| 237 | /************************************************************************/ |
| 238 | |
| 239 | bool GDALAlgorithmArg::Set(bool value) |
| 240 | { |
| 241 | if (m_decl.GetType() != GAAT_BOOLEAN) |
| 242 | { |
| 243 | CPLError( |
| 244 | CE_Failure, CPLE_AppDefined, |
| 245 | "Calling Set(bool) on argument '%s' of type %s is not supported", |
| 246 | GetName().c_str(), GDALAlgorithmArgTypeName(m_decl.GetType())); |
| 247 | return false; |
| 248 | } |
| 249 | return SetInternal(value); |
| 250 | } |
| 251 | |
| 252 | bool GDALAlgorithmArg::ProcessString(std::string &value) const |
| 253 | { |
no test coverage detected