| 2011 | |
| 2012 | |
| 2013 | int |
| 2014 | Domain::updateParameter(int tag, int value) |
| 2015 | { |
| 2016 | // get the object from the container |
| 2017 | TaggedObject *mc = theParameters->getComponentPtr(tag); |
| 2018 | |
| 2019 | // if not there return 0 |
| 2020 | if (mc == 0) |
| 2021 | return 0; |
| 2022 | |
| 2023 | // convert to a parameter & update |
| 2024 | Parameter *result = (Parameter *)mc; |
| 2025 | int res = result->update(value); |
| 2026 | |
| 2027 | return res; |
| 2028 | } |
| 2029 | |
| 2030 | int |
| 2031 | Domain::updateParameter(int tag, double value) |
nothing calls this directly
no test coverage detected