Commit e2f7dfcb authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[3793] Missing method added in MapElement

parent cfd6c7ab
......@@ -675,6 +675,14 @@ public:
// a MapElement)
bool find(const std::string& id, ConstElementPtr& t) const;
/// @brief Returns number of stored elements
///
/// @note: this is costly operation for a map!
/// @return number of elements.
size_t size() const {
return (m.size());
}
bool equals(const Element& other) const;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment