6 valueType::iterator it = m_value.find(key);
7 if ((it != m_value.end()) && it->second.get() && (it->second->typeId() == T::staticTypeId()))
8 return std::static_pointer_cast<T>(it->second);
16 valueType::iterator it = m_value.find(key);
17 if ((it != m_value.end()) && it->second.get() && (it->second->typeId() == T::staticTypeId()))
18 return static_cast<T*
>(it->second.get());
25 valueType::const_iterator it = m_value.find(key);
26 if ((it != m_value.end()) && it->second.get() && (it->second->typeId() == T::staticTypeId()))
27 return std::static_pointer_cast<const T>(it->second);
29 return AtomsPtr<const T>();
34 return m_value.begin();
44 return m_value.cbegin();
49 return m_value.cend();
AtomsCore namespace.
Definition: Agent.h:344