| 24 | { } |
| 25 | |
| 26 | Value Namespace::Get(const String& field) const |
| 27 | { |
| 28 | Value value; |
| 29 | if (!Get(field, &value)) |
| 30 | BOOST_THROW_EXCEPTION(ScriptError("Namespace does not contain field '" + field + "'")); |
| 31 | return value; |
| 32 | } |
| 33 | |
| 34 | bool Namespace::Get(const String& field, Value *value) const |
| 35 | { |
nothing calls this directly
no test coverage detected