src/helper/mobility-helper.h
changeset 2997 caf9d364c6fc
parent 2996 a83b94e277d4
parent 2965 4b28e9740e3b
child 3021 5b1479210da3
--- a/src/helper/mobility-helper.h	Tue Apr 22 21:18:04 2008 -0700
+++ b/src/helper/mobility-helper.h	Tue Apr 22 21:19:39 2008 -0700
@@ -86,15 +86,15 @@
    * \param v9 the value of the attribute to set in the mobility model.
    */
   void SetPositionAllocator (std::string type,
-			     std::string n1 = "", Attribute v1 = Attribute (),
-			     std::string n2 = "", Attribute v2 = Attribute (),
-			     std::string n3 = "", Attribute v3 = Attribute (),
-			     std::string n4 = "", Attribute v4 = Attribute (),
-			     std::string n5 = "", Attribute v5 = Attribute (),
-			     std::string n6 = "", Attribute v6 = Attribute (),
-			     std::string n7 = "", Attribute v7 = Attribute (),
-			     std::string n8 = "", Attribute v8 = Attribute (),
-			     std::string n9 = "", Attribute v9 = Attribute ());
+			     std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (),
+			     std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (),
+			     std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (),
+			     std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (),
+			     std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (),
+			     std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (),
+			     std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (),
+			     std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (),
+			     std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ());
 
   /**
    * \param type the type of mobility model to use.
@@ -121,15 +121,15 @@
    * mobility model for each node.
    */
   void SetMobilityModel (std::string type,
-			 std::string n1 = "", Attribute v1 = Attribute (),
-			 std::string n2 = "", Attribute v2 = Attribute (),
-			 std::string n3 = "", Attribute v3 = Attribute (),
-			 std::string n4 = "", Attribute v4 = Attribute (),
-			 std::string n5 = "", Attribute v5 = Attribute (),
-			 std::string n6 = "", Attribute v6 = Attribute (),
-			 std::string n7 = "", Attribute v7 = Attribute (),
-			 std::string n8 = "", Attribute v8 = Attribute (),
-			 std::string n9 = "", Attribute v9 = Attribute ());
+			 std::string n1 = "", const AttributeValue &v1 = EmptyAttributeValue (),
+			 std::string n2 = "", const AttributeValue &v2 = EmptyAttributeValue (),
+			 std::string n3 = "", const AttributeValue &v3 = EmptyAttributeValue (),
+			 std::string n4 = "", const AttributeValue &v4 = EmptyAttributeValue (),
+			 std::string n5 = "", const AttributeValue &v5 = EmptyAttributeValue (),
+			 std::string n6 = "", const AttributeValue &v6 = EmptyAttributeValue (),
+			 std::string n7 = "", const AttributeValue &v7 = EmptyAttributeValue (),
+			 std::string n8 = "", const AttributeValue &v8 = EmptyAttributeValue (),
+			 std::string n9 = "", const AttributeValue &v9 = EmptyAttributeValue ());
 
   /**
    * \param reference item to push.