Add leafrefBaseType(const std::string&)
Will be useful in the upcoming describe command.
Change-Id: I180b0a3c87db8e856251e28f34aa3940c52d1ad0
diff --git a/src/schema.hpp b/src/schema.hpp
index 561455c..137dbe9 100644
--- a/src/schema.hpp
+++ b/src/schema.hpp
@@ -77,6 +77,7 @@
virtual yang::LeafDataTypes leafType(const schemaPath_& location, const ModuleNodePair& node) const = 0;
virtual yang::LeafDataTypes leafType(const std::string& path) const = 0;
virtual yang::LeafDataTypes leafrefBaseType(const schemaPath_& location, const ModuleNodePair& node) const = 0;
+ virtual yang::LeafDataTypes leafrefBaseType(const std::string& path) const = 0;
virtual std::optional<std::string> description(const std::string& location) const = 0;
virtual std::optional<std::string> units(const std::string& location) const = 0;