HYDROData_SequenceOfObjects HYDROData_CalculationCase::GetAllReferenceObjects() const
{
HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
- aResSeq.Append( GetRegions() );
+
+ HYDROData_SequenceOfObjects aSeqOfRegions = GetRegions();
+ aResSeq.Append( aSeqOfRegions );
+
return aResSeq;
}
if ( !aRefImage.IsNull() )
aResSeq.Append( aRefImage );
- aResSeq.Append( GetReferenceObjects( 0 ) );
+ HYDROData_SequenceOfObjects aSeqRefObjects = GetReferenceObjects( 0 );
+ aResSeq.Append( aSeqRefObjects );
return aResSeq;
}
HYDROData_SequenceOfObjects HYDROData_Region::GetAllReferenceObjects() const
{
HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
- aResSeq.Append( GetZones() );
+
+ HYDROData_SequenceOfObjects aSeqOfZones = GetZones();
+ aResSeq.Append( aSeqOfZones );
+
return aResSeq;
}
if ( !aHydAxis.IsNull() )
aResSeq.Append( aHydAxis );
- aResSeq.Append( GetProfiles() );
+ HYDROData_SequenceOfObjects aSeqOfProfiles = GetProfiles();
+ aResSeq.Append( aSeqOfProfiles );
return aResSeq;
}
HYDROData_SequenceOfObjects HYDROData_Zone::GetAllReferenceObjects() const
{
HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
- aResSeq.Append( GetGeometryObjects() );
+
+ HYDROData_SequenceOfObjects aSeqOfGeomObjects = GetGeometryObjects();
+ aResSeq.Append( aSeqOfGeomObjects );
+
return aResSeq;
}