From 3217dd9bf9476a544d450e9ac636ca629ad141d9 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 20 Dec 2004 12:33:55 +0000 Subject: Added component::getChildComponents() function. --- src/body.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/body.cpp') diff --git a/src/body.cpp b/src/body.cpp index 5e369d4b..dca3409a 100644 --- a/src/body.cpp +++ b/src/body.cpp @@ -706,4 +706,14 @@ const std::vector body::getPartList() } +const std::vector body::getChildComponents() const +{ + std::vector list; + + copy_vector(m_parts, list); + + return (list); +} + + } // vmime -- cgit v1.2.3