1.1 --- a/src/core/object-vector.cc Thu Apr 17 13:42:25 2008 -0700
1.2 +++ b/src/core/object-vector.cc Mon Jun 02 10:30:24 2008 -0700
1.3 @@ -34,8 +34,16 @@
1.4 std::string
1.5 ObjectVectorValue::SerializeToString (Ptr<const AttributeChecker> checker) const
1.6 {
1.7 - // XXX
1.8 - return "";
1.9 + std::ostringstream oss;
1.10 + for (uint32_t i = 0; i < m_objects.size (); ++i)
1.11 + {
1.12 + oss << m_objects[i];
1.13 + if (i != m_objects.size () - 1)
1.14 + {
1.15 + oss << " ";
1.16 + }
1.17 + }
1.18 + return oss.str ();
1.19 }
1.20 bool
1.21 ObjectVectorValue::DeserializeFromString (std::string value, Ptr<const AttributeChecker> checker)