remove object vector usage to allow object map to work with config store
authorMathieu Lacage <mathieu.lacage@inria.fr>
Thu, 11 Aug 2011 08:11:38 +0200
changeset 7423 4655567a1cb2
parent 7422 a88a2275cefa
child 7425 a3527215d75b
remove object vector usage to allow object map to work with config store
src/config-store/model/attribute-default-iterator.cc
src/config-store/model/model-node-creator.h
--- a/src/config-store/model/attribute-default-iterator.cc	Wed Aug 10 19:58:33 2011 -0400
+++ b/src/config-store/model/attribute-default-iterator.cc	Thu Aug 11 08:11:38 2011 +0200
@@ -19,10 +19,10 @@
  
 #include "attribute-default-iterator.h"
 #include "ns3/attribute.h"
-#include "ns3/object-vector.h"
 #include "ns3/pointer.h"
 #include "ns3/global-value.h"
 #include "ns3/string.h"
+#include "ns3/object-ptr-container.h"
 
 namespace ns3
 {
@@ -70,7 +70,7 @@
               //No value, check next attribute
               continue;
             }
-          Ptr<const ObjectVectorValue> vector = DynamicCast<const ObjectVectorValue> (info.initialValue);
+          Ptr<const ObjectPtrContainerValue> vector = DynamicCast<const ObjectPtrContainerValue> (info.initialValue);
           if (vector != 0)
             {
               //a vector value, won't take it
--- a/src/config-store/model/model-node-creator.h	Wed Aug 10 19:58:33 2011 -0400
+++ b/src/config-store/model/model-node-creator.h	Thu Aug 11 08:11:38 2011 +0200
@@ -18,7 +18,6 @@
  */
 
 #include "attribute-iterator.h"
-#include "ns3/object-vector.h"
 #include <gtk/gtk.h>
 
 namespace ns3