From: <qua...@us...> - 2009-10-02 13:03:02
|
Revision: 12 http://stdair.svn.sourceforge.net/stdair/?rev=12&view=rev Author: quannaus Date: 2009-10-02 13:02:56 +0000 (Fri, 02 Oct 2009) Log Message: ----------- Small change in some functions. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 09:58:23 UTC (rev 11) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 13:02:56 UTC (rev 12) @@ -112,25 +112,25 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the list. */ ListIterator_T listIteratorBegin () const { - return _bomChildrenOrderedList.begin(); + return ListIterator_T(_bomChildrenOrderedList.begin()); } /** Initialise the internal iterators on bom objects: return the iterator past the end of the list. */ ListIterator_T listIteratorEnd () const { - return _bomChildrenOrderedList.end(); + return ListIterator_T(_bomChildrenOrderedList.end()); } /** Initialise the internal reverse iterators on bom objects: return the reverse iterator at the rbegining of the list. */ ListReverseIterator_T listIteratorRBegin () const { - return _bomChildrenOrderedList.rbegin(); + return ListReverseIterator_T(_bomChildrenOrderedList.rbegin()); } /** Initialise the internal reverse iterators on bom objects: return the reverse iterator past the rend of the list. */ ListReverseIterator_T listIteratorREnd () const { - return _bomChildrenOrderedList.rend(); + return ListReverseIterator_T(_bomChildrenOrderedList.rend()); } /** Initialise the internal const iterators on bom objects: @@ -160,25 +160,25 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the map. */ MapIterator_T mapIteratorBegin () const { - return _bomChildrenList.begin(); + return MapIterator_T(_bomChildrenList.begin()); } /** Initialise the internal iterators on bom objects: return the iterator past the end of the map. */ MapIterator_T mapIteratorEnd () const { - return _bomChildrenList.end(); + return MapIterator_T(_bomChildrenList.end()); } /** Initialise the internal reverse iterators on bom objects: return the reverse iterator at the rbegining of the map. */ MapReverseIterator_T mapIteratorRBegin () const { - return _bomChildrenList.rbegin(); + return MapReverseIterator_T(_bomChildrenList.rbegin()); } /** Initialise the internal reverse iterators on bom objects: return the reverse iterator past the rend of the map. */ MapReverseIterator_T mapIteratorREnd () const { - return _bomChildrenList.rend(); + return MapReverseIterator_T(_bomChildrenList.rend()); } private: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |