Checkpoint
diff --git a/ccnx/ccnx-name.h b/ccnx/ccnx-name.h
index a6b6228..ec55397 100644
--- a/ccnx/ccnx-name.h
+++ b/ccnx/ccnx-name.h
@@ -51,7 +51,7 @@
size_t
length () const
{ return m_buf->length; }
-
+
private:
void init(ccn_charbuf *buf);
@@ -89,7 +89,7 @@
appendComp(const Name &name);
Name &
- appendComp(const void *buf, size_t size);
+ appendComp(const void *buf, size_t size);
/**
* Append int component
@@ -100,7 +100,11 @@
*/
Name &
appendComp(uint64_t number);
-
+
+ template<class T>
+ Name &
+ operator ()(const T &comp) { return appendComp (comp); }
+
int
size() const {return m_comps.size();}