EgtGeomKernel 1.6e2 :

- adattamenti per modifica nomi include di base
- allineate Set/GetInfo di GdbIterator a quelle di GeomDB
- aggiunte Set/GetInfo per STRVECTOR.
This commit is contained in:
Dario Sassi
2015-05-11 21:00:48 +00:00
parent 0934bb229f
commit 6bbdf97993
17 changed files with 139 additions and 52 deletions
+16
View File
@@ -829,6 +829,13 @@ GdbObj::SetInfo( const string& sKey, const DBLVECTOR& vdInfo)
return SetInfo( sKey, ToString( vdInfo)) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::SetInfo( const string& sKey, const STRVECTOR& vsInfo)
{
return SetInfo( sKey, ToString( vsInfo)) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::GetInfo( const string& sKey, string& sInfo) const
@@ -914,6 +921,15 @@ GdbObj::GetInfo( const string& sKey, DBLVECTOR& vdInfo) const
return ( GetInfo( sKey, sInfo) && FromString( sInfo, vdInfo)) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::GetInfo( const string& sKey, STRVECTOR& vsInfo) const
{
vsInfo.clear() ;
string sInfo ;
return ( GetInfo( sKey, sInfo) && FromString( sInfo, vsInfo)) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::ExistsInfo( const string& sKey) const