equal
deleted
inserted
replaced
41 return m_objects.size (); |
41 return m_objects.size (); |
42 } |
42 } |
43 Ptr<Object> |
43 Ptr<Object> |
44 ObjectPtrContainerValue::Get (uint32_t i) const |
44 ObjectPtrContainerValue::Get (uint32_t i) const |
45 { |
45 { |
46 return m_objects.find (i)->second; |
46 Iterator it = m_objects.find (i); |
|
47 Ptr<Object> value = 0; |
|
48 if ( it != m_objects.end () ) |
|
49 { |
|
50 value = m_objects.find (i)->second; |
|
51 } |
|
52 return value; |
47 } |
53 } |
48 |
54 |
49 Ptr<AttributeValue> |
55 Ptr<AttributeValue> |
50 ObjectPtrContainerValue::Copy (void) const |
56 ObjectPtrContainerValue::Copy (void) const |
51 { |
57 { |