From: <qua...@us...> - 2009-10-02 09:58:32
|
Revision: 11 http://stdair.svn.sourceforge.net/stdair/?rev=11&view=rev Author: quannaus Date: 2009-10-02 09:58:23 +0000 (Fri, 02 Oct 2009) Log Message: ----------- [Dev] Fixed a bug. 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:34:26 UTC (rev 10) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 09:58:23 UTC (rev 11) @@ -38,7 +38,7 @@ typedef BomIterator_T<BOM_CONTENT_CHILD, typename BomChildrenOrderedList_T::iterator> ListIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenOrderedList_T::_reverse_iterator> ListReverseIterator_T; + typename BomChildrenOrderedList_T::reverse_iterator> ListReverseIterator_T; typedef BomConstIterator_T<BOM_CONTENT_CHILD, typename BomChildrenList_T::const_iterator> MapConstIterator_T; typedef BomConstIterator_T<BOM_CONTENT_CHILD, @@ -46,7 +46,7 @@ typedef BomIterator_T<BOM_CONTENT_CHILD, typename BomChildrenList_T::iterator> MapIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenList_T::_reverse_iterator> MapReverseIterator_T; + typename BomChildrenList_T::reverse_iterator> MapReverseIterator_T; public: // /////////// Display support methods ///////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
From: <qua...@us...> - 2009-10-02 13:20:03
|
Revision: 15 http://stdair.svn.sourceforge.net/stdair/?rev=15&view=rev Author: quannaus Date: 2009-10-02 13:19:55 +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 13:13:59 UTC (rev 14) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 13:19:55 UTC (rev 15) @@ -112,7 +112,9 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the list. */ ListIterator_T listIteratorBegin () const { - return _bomChildrenOrderedList.begin(); + typename BomChildrenOrderedList_T::iterator it = + _bomChildrenOrderedList.begin(); + return it; } /** Initialise the internal iterators on bom objects: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-02 13:39:33
|
Revision: 16 http://stdair.svn.sourceforge.net/stdair/?rev=16&view=rev Author: quannaus Date: 2009-10-02 13:39:21 +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 13:19:55 UTC (rev 15) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 13:39:21 UTC (rev 16) @@ -114,7 +114,7 @@ ListIterator_T listIteratorBegin () const { typename BomChildrenOrderedList_T::iterator it = _bomChildrenOrderedList.begin(); - return it; + return ListIterator_T (it); } /** Initialise the internal iterators on bom objects: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-02 13:53:26
|
Revision: 17 http://stdair.svn.sourceforge.net/stdair/?rev=17&view=rev Author: quannaus Date: 2009-10-02 13:53:17 +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 13:39:21 UTC (rev 16) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 13:53:17 UTC (rev 17) @@ -120,19 +120,19 @@ /** Initialise the internal iterators on bom objects: return the iterator past the end of the list. */ ListIterator_T listIteratorEnd () const { - return ListIterator_T(_bomChildrenOrderedList.end()); + return _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 ListReverseIterator_T(_bomChildrenOrderedList.rbegin()); + return _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 ListReverseIterator_T(_bomChildrenOrderedList.rend()); + return _bomChildrenOrderedList.rend(); } /** Initialise the internal const iterators on bom objects: @@ -162,25 +162,25 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the map. */ MapIterator_T mapIteratorBegin () const { - return MapIterator_T(_bomChildrenList.begin()); + return _bomChildrenList.begin(); } /** Initialise the internal iterators on bom objects: return the iterator past the end of the map. */ MapIterator_T mapIteratorEnd () const { - return MapIterator_T(_bomChildrenList.end()); + return _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 MapReverseIterator_T(_bomChildrenList.rbegin()); + return _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 MapReverseIterator_T(_bomChildrenList.rend()); + return _bomChildrenList.rend(); } private: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-02 14:05:08
|
Revision: 18 http://stdair.svn.sourceforge.net/stdair/?rev=18&view=rev Author: quannaus Date: 2009-10-02 14:05:00 +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 13:53:17 UTC (rev 17) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 14:05:00 UTC (rev 18) @@ -114,6 +114,8 @@ ListIterator_T listIteratorBegin () const { typename BomChildrenOrderedList_T::iterator it = _bomChildrenOrderedList.begin(); + typename BomChildrenOrderedList_T::const_iterator it2 = + _bomChildrenOrderedList.begin(); return ListIterator_T (it); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-02 14:07:20
|
Revision: 19 http://stdair.svn.sourceforge.net/stdair/?rev=19&view=rev Author: quannaus Date: 2009-10-02 14:07:12 +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 14:05:00 UTC (rev 18) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-02 14:07:12 UTC (rev 19) @@ -111,7 +111,7 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the list. */ - ListIterator_T listIteratorBegin () const { + ListIterator_T listIteratorBegin () { typename BomChildrenOrderedList_T::iterator it = _bomChildrenOrderedList.begin(); typename BomChildrenOrderedList_T::const_iterator it2 = This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-05 08:15:40
|
Revision: 22 http://stdair.svn.sourceforge.net/stdair/?rev=22&view=rev Author: quannaus Date: 2009-10-05 08:15:29 +0000 (Mon, 05 Oct 2009) Log Message: ----------- [Dev] Some small changes. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:07:44 UTC (rev 21) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:15:29 UTC (rev 22) @@ -36,7 +36,7 @@ typedef BomConstIterator_T<BOM_CONTENT_CHILD, typename BomChildrenOrderedList_T::const_reverse_iterator> ListConstReverseIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenOrderedList_T::const_iterator> ListIterator_T; + typename BomChildrenOrderedList_T::iterator> ListIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, typename BomChildrenOrderedList_T::const_reverse_iterator> ListReverseIterator_T; typedef BomConstIterator_T<BOM_CONTENT_CHILD, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-05 08:16:58
|
Revision: 23 http://stdair.svn.sourceforge.net/stdair/?rev=23&view=rev Author: quannaus Date: 2009-10-05 08:16:51 +0000 (Mon, 05 Oct 2009) Log Message: ----------- [Dev] Some small changes. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:15:29 UTC (rev 22) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:16:51 UTC (rev 23) @@ -38,15 +38,15 @@ typedef BomIterator_T<BOM_CONTENT_CHILD, typename BomChildrenOrderedList_T::iterator> ListIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenOrderedList_T::const_reverse_iterator> ListReverseIterator_T; + typename BomChildrenOrderedList_T::reverse_iterator> ListReverseIterator_T; typedef BomConstIterator_T<BOM_CONTENT_CHILD, typename BomChildrenList_T::const_iterator> MapConstIterator_T; typedef BomConstIterator_T<BOM_CONTENT_CHILD, typename BomChildrenList_T::const_reverse_iterator> MapConstReverseIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenList_T::const_iterator> MapIterator_T; + typename BomChildrenList_T::iterator> MapIterator_T; typedef BomIterator_T<BOM_CONTENT_CHILD, - typename BomChildrenList_T::const_reverse_iterator> MapReverseIterator_T; + typename BomChildrenList_T::reverse_iterator> MapReverseIterator_T; public: // /////////// Display support methods ///////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-05 08:41:03
|
Revision: 25 http://stdair.svn.sourceforge.net/stdair/?rev=25&view=rev Author: quannaus Date: 2009-10-05 08:40:55 +0000 (Mon, 05 Oct 2009) Log Message: ----------- [Dev] Some small changes. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:33:21 UTC (rev 24) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-05 08:40:55 UTC (rev 25) @@ -112,7 +112,7 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the list. */ ListIterator_T listIteratorBegin () { - return _bomChildrenOrderedList.begin(); + return ListIterator_T(_bomChildrenOrderedList.begin()); } /** Initialise the internal iterators on bom objects: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <qua...@us...> - 2009-10-06 15:25:16
|
Revision: 34 http://stdair.svn.sourceforge.net/stdair/?rev=34&view=rev Author: quannaus Date: 2009-10-06 15:25:09 +0000 (Tue, 06 Oct 2009) Log Message: ----------- [Dev] Some small changes. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-06 15:22:32 UTC (rev 33) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2009-10-06 15:25:09 UTC (rev 34) @@ -80,7 +80,7 @@ /** Initialise the internal iterators on bom objects: return the iterator at the begining of the list. */ ListIterator_T listBegin () { - return _bomChildrenOrderedList.begin(); + return ListIterator_T(_bomChildrenOrderedList.begin()); } /** Initialise the internal iterators on bom objects: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <den...@us...> - 2010-06-08 09:17:31
|
Revision: 192 http://stdair.svn.sourceforge.net/stdair/?rev=192&view=rev Author: denis_arnaud Date: 2010-06-08 09:17:25 +0000 (Tue, 08 Jun 2010) Log Message: ----------- [Dev] The insertion of an element in the map of children now returns an actual boolean value when the holder is a multimap. Modified Paths: -------------- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp Modified: trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp =================================================================== --- trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2010-06-08 09:07:39 UTC (rev 191) +++ trunk/stdair/stdair/bom/BomChildrenHolderImp.hpp 2010-06-08 09:17:25 UTC (rev 192) @@ -150,9 +150,11 @@ /** Internal insertion function into a multimap. */ const bool insert (const MapKey_T& iKey, const Structure_T& iStructure, std::multimap<const MapKey_T, const Structure_T*>& ioMap){ - ioMap.insert (typename std::multimap<const MapKey_T, const Structure_T*>:: - value_type (iKey, &iStructure)); - return true; + const bool hasInsertionBeenSuccessful = + (ioMap.insert (typename std::multimap<const MapKey_T, const Structure_T*>:: + value_type (iKey, &iStructure))) != (ioMap.end()); + + return hasInsertionBeenSuccessful; } private: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |