6 if ((index < m_value.size()) && m_value[index].get() && (m_value[index]->typeId() == T::staticTypeId()))
7 return std::static_pointer_cast<T>(m_value[index]);
15 if ((index < m_value.size()) && m_value[index].get() && (m_value[index]->typeId() == T::staticTypeId()))
16 return std::static_pointer_cast<const T>(m_value[index]);
18 return AtomsPtr<const T>();
AtomsCore namespace.
Definition: Agent.h:344