src/core/object-vector.h
changeset 2427 9245ec163111
parent 2424 217a447122a6
child 2433 3a98e1db7f80
--- a/src/core/object-vector.h	Sun Feb 17 04:38:52 2008 +0100
+++ b/src/core/object-vector.h	Mon Feb 18 00:18:45 2008 +0100
@@ -42,6 +42,8 @@
 			   Ptr<U> (T::*get) (INDEX) const);
 
 
+Ptr<AttributeChecker> MakeObjectVectorChecker (void);
+
 } // namespace ns3
 
 namespace ns3 {
@@ -55,8 +57,8 @@
   ObjectVector Get (void) const;
 
   virtual PValue Copy (void) const;
-  virtual std::string SerializeToString (Ptr<const ParamSpec> spec) const;
-  virtual bool DeserializeFromString (std::string value, Ptr<const ParamSpec> spec);
+  virtual std::string SerializeToString (Ptr<const AttributeChecker> checker) const;
+  virtual bool DeserializeFromString (std::string value, Ptr<const AttributeChecker> checker);
 
 private:
   friend class ObjectVectorParamSpec;
@@ -68,7 +70,6 @@
 public:
   virtual bool Set (ObjectBase * object, PValue value) const;
   virtual bool Get (const ObjectBase * object, PValue value) const;
-  virtual bool Check (PValue value) const;
 private:
   virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const = 0;
   virtual Ptr<Object> DoGet (const ObjectBase *object, uint32_t i) const = 0;