add ObjectVector::GetItemTypeId

This commit is contained in:
Mathieu Lacage committed 2008-04-09 14:58:52 -07:00
1 parent dc271270a8
commit a75e91cc03
8 files changed
+53 -13

No files matched your search

+2 -2
View File
@@ -39,11 +39,11 @@ Node::GetTypeId (void)
.AddAttribute ("DeviceList", "The list of devices associated to this Node.",
ObjectVector (),
MakeObjectVectorAccessor (&Node::m_devices),
MakeObjectVectorChecker ())
MakeObjectVectorChecker<NetDevice> ())
.AddAttribute ("ApplicationList", "The list of applications associated to this Node.",
ObjectVector (),
MakeObjectVectorAccessor (&Node::m_applications),
MakeObjectVectorChecker ())
MakeObjectVectorChecker<Application> ())
.AddAttribute ("Id", "The id (unique integer) of this Node.",
TypeId::ATTR_GET, // allow only getting it.
Uinteger (0),