From f1d5af1eeb96e56a2cf6fb92e1e71eeced118d81 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 31 Mar 2015 23:42:12 +0200 Subject: Add getDescriptor method to DocumentField class --- src/core/parser/stack/DocumentHandler.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/parser/stack/DocumentHandler.hpp') diff --git a/src/core/parser/stack/DocumentHandler.hpp b/src/core/parser/stack/DocumentHandler.hpp index 47534fb..5157709 100644 --- a/src/core/parser/stack/DocumentHandler.hpp +++ b/src/core/parser/stack/DocumentHandler.hpp @@ -84,6 +84,11 @@ public: : Node(mgr, parent), fieldIdx(fieldIdx), transparent(transparent) { } + + /** + * Returns the FieldDescriptor represented by this DocumentField instance. + */ + Rooted getDescriptor(); }; /** -- cgit v1.2.3