Add leafrefPath(const std::string&)
Will be useful in the upcoming describe command.
Change-Id: I480b93491f98c23eab6498503ca07d6b7c9c8e4f
diff --git a/src/schema.hpp b/src/schema.hpp
index 137dbe9..a45149a 100644
--- a/src/schema.hpp
+++ b/src/schema.hpp
@@ -78,6 +78,7 @@
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::string leafrefPath(const std::string& leafrefPath) 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;