From: <qua...@us...> - 2010-04-22 12:17:48
|
Revision: 179 http://stdair.svn.sourceforge.net/stdair/?rev=179&view=rev Author: quannaus Date: 2010-04-22 12:17:42 +0000 (Thu, 22 Apr 2010) Log Message: ----------- [dev] Initialise all the pointers to children holder to NULL. Modified Paths: -------------- trunk/stdair/stdair/bom/AirlineFeature.cpp trunk/stdair/stdair/bom/AirportDate.cpp trunk/stdair/stdair/bom/BookingClass.cpp trunk/stdair/stdair/bom/Bucket.cpp trunk/stdair/stdair/bom/DemandStream.cpp trunk/stdair/stdair/bom/FlightDate.cpp trunk/stdair/stdair/bom/Inventory.cpp trunk/stdair/stdair/bom/LegCabin.cpp trunk/stdair/stdair/bom/LegDate.cpp trunk/stdair/stdair/bom/Network.cpp trunk/stdair/stdair/bom/NetworkDate.cpp trunk/stdair/stdair/bom/OutboundPath.cpp trunk/stdair/stdair/bom/SegmentCabin.cpp trunk/stdair/stdair/bom/SegmentDate.cpp trunk/stdair/stdair/bom/YieldStore.cpp Modified: trunk/stdair/stdair/bom/AirlineFeature.cpp =================================================================== --- trunk/stdair/stdair/bom/AirlineFeature.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/AirlineFeature.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -17,6 +17,7 @@ Structure_T& ioAirlineFeatureStructure) : AirlineFeatureContent (iKey), _structure (ioAirlineFeatureStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/AirportDate.cpp =================================================================== --- trunk/stdair/stdair/bom/AirportDate.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/AirportDate.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -13,6 +13,7 @@ AirportDate::AirportDate (const Key_T& iKey, Structure_T& ioAirportStructure) : AirportDateContent (iKey), _structure (ioAirportStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/BookingClass.cpp =================================================================== --- trunk/stdair/stdair/bom/BookingClass.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/BookingClass.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -13,6 +13,7 @@ Structure_T& ioBookingClassStructure) : BookingClassContent (iKey), _structure (ioBookingClassStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/Bucket.cpp =================================================================== --- trunk/stdair/stdair/bom/Bucket.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/Bucket.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -11,6 +11,7 @@ // //////////////////////////////////////////////////////////////////// Bucket::Bucket (const Key_T& iKey, Structure_T& ioBucketStructure) : BucketContent (iKey), _structure (ioBucketStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/DemandStream.cpp =================================================================== --- trunk/stdair/stdair/bom/DemandStream.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/DemandStream.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -36,6 +36,7 @@ iDemandDistribution, iNumberOfRequestsSeed, iRequestDateTimeSeed, iDemandCharacteristicsSeed), _structure (ioDemandStreamStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/FlightDate.cpp =================================================================== --- trunk/stdair/stdair/bom/FlightDate.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/FlightDate.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -14,6 +14,7 @@ FlightDate::FlightDate (const Key_T& iKey, Structure_T& ioFlightStructure) : FlightDateContent (iKey), _structure (ioFlightStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/Inventory.cpp =================================================================== --- trunk/stdair/stdair/bom/Inventory.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/Inventory.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -12,6 +12,7 @@ Inventory::Inventory (const Key_T& iKey, Structure_T& ioInventoryStructure) : InventoryContent (iKey), _structure (ioInventoryStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/LegCabin.cpp =================================================================== --- trunk/stdair/stdair/bom/LegCabin.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/LegCabin.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -11,6 +11,7 @@ // //////////////////////////////////////////////////////////////////// LegCabin::LegCabin (const Key_T& iKey, Structure_T& ioLegStructure) : LegCabinContent (iKey), _structure (ioLegStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/LegDate.cpp =================================================================== --- trunk/stdair/stdair/bom/LegDate.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/LegDate.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -11,6 +11,7 @@ // //////////////////////////////////////////////////////////////////// LegDate::LegDate (const Key_T& iKey, Structure_T& ioLegStructure) : LegDateContent (iKey), _structure (ioLegStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/Network.cpp =================================================================== --- trunk/stdair/stdair/bom/Network.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/Network.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -12,6 +12,7 @@ Network::Network (const Key_T& iKey, Structure_T& ioNetworkStructure) : NetworkContent (iKey), _structure (ioNetworkStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/NetworkDate.cpp =================================================================== --- trunk/stdair/stdair/bom/NetworkDate.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/NetworkDate.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -12,6 +12,7 @@ NetworkDate::NetworkDate (const Key_T& iKey, Structure_T& ioNetworkDateStructure) : NetworkDateContent (iKey), _structure (ioNetworkDateStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/OutboundPath.cpp =================================================================== --- trunk/stdair/stdair/bom/OutboundPath.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/OutboundPath.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -13,6 +13,7 @@ Structure_T& ioOutboundPathStructure) : OutboundPathContent (iKey), _structure (ioOutboundPathStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/SegmentCabin.cpp =================================================================== --- trunk/stdair/stdair/bom/SegmentCabin.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/SegmentCabin.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -12,6 +12,7 @@ SegmentCabin::SegmentCabin (const Key_T& iKey, Structure_T& ioSegmentStructure) : SegmentCabinContent (iKey), _structure (ioSegmentStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/SegmentDate.cpp =================================================================== --- trunk/stdair/stdair/bom/SegmentDate.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/SegmentDate.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -13,6 +13,7 @@ SegmentDate::SegmentDate (const Key_T& iKey, Structure_T& ioSegmentStructure) : SegmentDateContent (iKey), _structure (ioSegmentStructure) { + init (); } // //////////////////////////////////////////////////////////////////// Modified: trunk/stdair/stdair/bom/YieldStore.cpp =================================================================== --- trunk/stdair/stdair/bom/YieldStore.cpp 2010-04-22 12:08:40 UTC (rev 178) +++ trunk/stdair/stdair/bom/YieldStore.cpp 2010-04-22 12:17:42 UTC (rev 179) @@ -14,6 +14,7 @@ YieldStore::YieldStore (const Key_T& iKey, Structure_T& ioYieldStoreStructure) : YieldStoreContent (iKey), _structure (ioYieldStoreStructure) { + init (); } // //////////////////////////////////////////////////////////////////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |