src/core/object-vector.cc
changeset 2947 b0fec3381418
parent 2933 c7983cfa2cb3
child 2950 9e20fb862cd8
equal deleted inserted replaced
2946:14194a052b7d 2947:b0fec3381418
    36   *this = v->Get ();
    36   *this = v->Get ();
    37 }
    37 }
    38 
    38 
    39 ObjectVector::operator Attribute () const
    39 ObjectVector::operator Attribute () const
    40 {
    40 {
    41   return Attribute::Create<ObjectVectorValue> ();
    41   return Attribute (ns3::Create<ObjectVectorValue> ());
    42 }
    42 }
    43 
    43 
    44 ObjectVectorValue::ObjectVectorValue ()
    44 ObjectVectorValue::ObjectVectorValue ()
    45   : m_vector ()
    45   : m_vector ()
    46 {}
    46 {}
    56 }
    56 }
    57 
    57 
    58 Attribute 
    58 Attribute 
    59 ObjectVectorValue::Copy (void) const
    59 ObjectVectorValue::Copy (void) const
    60 {
    60 {
    61   return Attribute::Create<ObjectVectorValue> (*this);
    61   return Attribute (ns3::Create<ObjectVectorValue> (*this));
    62 }
    62 }
    63 std::string 
    63 std::string 
    64 ObjectVectorValue::SerializeToString (Ptr<const AttributeChecker> checker) const
    64 ObjectVectorValue::SerializeToString (Ptr<const AttributeChecker> checker) const
    65 {
    65 {
    66   // XXX
    66   // XXX