Ccnx-interest-sender, not complete yet
diff --git a/model/name-components.h b/model/name-components.h
index 95d2347..097152e 100644
--- a/model/name-components.h
+++ b/model/name-components.h
@@ -22,15 +22,19 @@
#define _NDN_NAME_COMPONENTS_H_
#include "ns3/simple-ref-count.h"
+#include "ns3/attribute.h"
+#include "ns3/attribute-helper.h"
#include <string>
#include <algorithm>
#include <list>
+#include "ns3/object.h"
namespace ns3 {
namespace Name {
-class Components : public SimpleRefCount<Components>
+class Components : public Object
+
{
public:
Components ();
@@ -100,6 +104,14 @@
prefix.m_prefix.begin (), prefix.m_prefix.end ());
}
+
+/**
+* \class ns3::ComponentsValue
+* \brief hold objects of type ns3::Name::Components
+*/
+ATTRIBUTE_VALUE_DEFINE (Components);
+ATTRIBUTE_ACCESSOR_DEFINE (Components);
+ATTRIBUTE_CHECKER_DEFINE (Components);
} // Namespace Name
} // namespace ns3