aboutsummaryrefslogtreecommitdiffstats
path: root/src/component.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/component.hpp')
-rw-r--r--src/component.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/component.hpp b/src/component.hpp
index b09d78bf..af5386b2 100644
--- a/src/component.hpp
+++ b/src/component.hpp
@@ -104,6 +104,18 @@ public:
*/
const string::size_type getParsedLength() const;
+ /** Return the list of children of this component.
+ *
+ * @return list of child components
+ */
+ const std::vector <component*> getChildComponents();
+
+ /** Return the list of children of this component (const version).
+ *
+ * @return list of child components
+ */
+ virtual const std::vector <const component*> getChildComponents() const = 0;
+
protected:
void setParsedBounds(const string::size_type start, const string::size_type end);