aboutsummaryrefslogtreecommitdiffstats
path: root/src/component.hpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-20 12:33:55 +0000
committerVincent Richard <[email protected]>2004-12-20 12:33:55 +0000
commit3217dd9bf9476a544d450e9ac636ca629ad141d9 (patch)
tree897f107e1c89a3021c7f3687649bdf8eb0c9477e /src/component.hpp
parentUpdated ChangeLog. (diff)
downloadvmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.tar.gz
vmime-3217dd9bf9476a544d450e9ac636ca629ad141d9.zip
Added component::getChildComponents() function.
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);