Checks if a property exists - useful to avoid creating properties via reading them, though non-essential
| 121 | // Checks if a property exists - useful to avoid creating properties |
| 122 | // via reading them, though non-essential |
| 123 | inline bool HasProperty(const std::string& sName) const |
| 124 | { |
| 125 | return m_mapObjects.count(sName) > 0; |
| 126 | } |
| 127 | |
| 128 | // Access a datafile via a convenient name - "root.node.something.property" |
| 129 | inline datafile& GetProperty(const std::string& name) |