Added to_uri
diff --git a/ndn-cpp/Name.hpp b/ndn-cpp/Name.hpp
index 29e95cd..2d2744a 100644
--- a/ndn-cpp/Name.hpp
+++ b/ndn-cpp/Name.hpp
@@ -53,6 +53,12 @@
     return components_.size();
   }
   
+  /**
+   * Encode this name as a URI.
+   * @return the encoded URI.
+   */
+  std::string to_uri();
+  
 private:
   std::vector<std::vector<unsigned char> > components_;
 };