| 123 | |
| 124 | |
| 125 | Array::Ptr Object::getArray(const std::string& key) const |
| 126 | { |
| 127 | ValueMap::const_iterator it = _values.find(key); |
| 128 | if ((it != _values.end()) && (it->second.type() == typeid(Array::Ptr))) |
| 129 | { |
| 130 | return it->second.extract<Array::Ptr>(); |
| 131 | } |
| 132 | |
| 133 | return 0; |
| 134 | } |
| 135 | |
| 136 | |
| 137 | Object::Ptr Object::getObject(const std::string& key) const |
no test coverage detected