Add Schema::leaftype(const std::string&)

Will be used in the CLI.

Change-Id: I31ddc63e92bfad4c37b5b2b65ae72c33e939af2f
diff --git a/src/yang_schema.hpp b/src/yang_schema.hpp
index 8471bea..8a8826c 100644
--- a/src/yang_schema.hpp
+++ b/src/yang_schema.hpp
@@ -38,6 +38,7 @@
     bool listHasKey(const schemaPath_& location, const ModuleNodePair& node, const std::string& key) const override;
     const std::set<std::string> listKeys(const schemaPath_& location, const ModuleNodePair& node) const override;
     yang::LeafDataTypes leafType(const schemaPath_& location, const ModuleNodePair& node) const override;
+    yang::LeafDataTypes leafType(const std::string& path) const override;
     yang::LeafDataTypes leafrefBase(const schemaPath_& location, const ModuleNodePair& node) const override;
     const std::set<std::string> validIdentities(const schemaPath_& location, const ModuleNodePair& node, const Prefixes prefixes) const override;
     const std::set<std::string> enumValues(const schemaPath_& location, const ModuleNodePair& node) const override;