EgtGeomKernel 1.5f5 :

- gestione salvataggio in modalità testo compresso
- aggiunto controlli in scritture per salvataggio.
This commit is contained in:
Dario Sassi
2014-06-18 07:27:03 +00:00
parent 26c2ad702a
commit 4097bcd178
23 changed files with 359 additions and 261 deletions
+8 -4
View File
@@ -93,16 +93,20 @@ GdbGeo::Save( NgeWriter& ngeOut) const
return false ;
// tipo entità e identificativi
ngeOut.WriteKey( pGObjRW->GetNgeId()) ;
ngeOut.WriteInt( m_nId, "@") ;
ngeOut.WriteInt( GetParentId(), nullptr, true) ;
if ( ! ngeOut.WriteKey( pGObjRW->GetNgeId()))
return false ;
if ( ! ngeOut.WriteInt( m_nId, "@"))
return false ;
if ( ! ngeOut.WriteInt( GetParentId(), nullptr, true))
return false ;
// attributi
if ( ! GdbObj::SaveAttribs( ngeOut))
return false ;
// parametri geometrici
ngeOut.WriteKey( NGE_G) ;
if ( ! ngeOut.WriteKey( NGE_G))
return false ;
return pGObjRW->Save( ngeOut) ;
}