equal
deleted
inserted
replaced
17 * Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
17 * Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
18 */ |
18 */ |
19 |
19 |
20 #include "attribute-default-iterator.h" |
20 #include "attribute-default-iterator.h" |
21 #include "ns3/attribute.h" |
21 #include "ns3/attribute.h" |
22 #include "ns3/object-vector.h" |
|
23 #include "ns3/pointer.h" |
22 #include "ns3/pointer.h" |
24 #include "ns3/global-value.h" |
23 #include "ns3/global-value.h" |
25 #include "ns3/string.h" |
24 #include "ns3/string.h" |
|
25 #include "ns3/object-ptr-container.h" |
26 |
26 |
27 namespace ns3 |
27 namespace ns3 |
28 { |
28 { |
29 |
29 |
30 AttributeDefaultIterator::~AttributeDefaultIterator () |
30 AttributeDefaultIterator::~AttributeDefaultIterator () |
68 if (info.initialValue == 0) |
68 if (info.initialValue == 0) |
69 { |
69 { |
70 //No value, check next attribute |
70 //No value, check next attribute |
71 continue; |
71 continue; |
72 } |
72 } |
73 Ptr<const ObjectVectorValue> vector = DynamicCast<const ObjectVectorValue> (info.initialValue); |
73 Ptr<const ObjectPtrContainerValue> vector = DynamicCast<const ObjectPtrContainerValue> (info.initialValue); |
74 if (vector != 0) |
74 if (vector != 0) |
75 { |
75 { |
76 //a vector value, won't take it |
76 //a vector value, won't take it |
77 continue; |
77 continue; |
78 } |
78 } |