From: asl Date: Fri, 13 Nov 2015 11:55:23 +0000 (+0300) Subject: refs #651: draft version of the dump python X-Git-Tag: v1.5~47^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eae04c95e6c8509b533274b8fed02d06c3d5659e;p=modules%2Fhydro.git refs #651: draft version of the dump python --- diff --git a/src/HYDROData/HYDROData_LandCoverMap.cxx b/src/HYDROData/HYDROData_LandCoverMap.cxx index e1e4c818..53ac69ae 100644 --- a/src/HYDROData/HYDROData_LandCoverMap.cxx +++ b/src/HYDROData/HYDROData_LandCoverMap.cxx @@ -906,17 +906,11 @@ QStringList HYDROData_LandCoverMap::DumpToPython( MapOfTreatedObjects& theTreate QStringList aResList = dumpObjectCreation( theTreatedObjects ); QString aName = GetObjPyName(); - //Handle(HYDROData_PolylineXY) aHydAxis = GetHydraulicAxis(); - //setPythonReferenceObject( theTreatedObjects, aResList, aHydAxis, "SetHydraulicAxis" ); + QString aShapeFileName = aName + ".shp"; + QString aDbfFileName = aName + ".dbf"; - //HYDROData_SequenceOfObjects aSeqOfProfiles = GetProfiles(); - //for ( int i = 1, aNb = aSeqOfProfiles.Size(); i <= aNb; ++i ) - //{ - //const Handle(HYDROData_Entity) aProfile = aSeqOfProfiles.Value( i ); - //setPythonReferenceObject( theTreatedObjects, aResList, aProfile, "AddProfile" ); - //} - - //TODO + QString anAttr = "CODE_06"; + //ExportDBF( aDbfFileName, anAttr, return aResList; }