| 135 | |
| 136 | |
| 137 | Object::Ptr Object::getObject(const std::string& key) const |
| 138 | { |
| 139 | ValueMap::const_iterator it = _values.find(key); |
| 140 | if ((it != _values.end()) && (it->second.type() == typeid(Object::Ptr))) |
| 141 | { |
| 142 | return it->second.extract<Object::Ptr>(); |
| 143 | } |
| 144 | |
| 145 | return 0; |
| 146 | } |
| 147 | |
| 148 | |
| 149 | void Object::getNames(NameList& names) const |
no test coverage detected