EgtGeomKernel 2.5a2 :

- aggiunte funzioni GetAllInfo per recuperare tutte le info di una entità.
This commit is contained in:
DarioS
2023-01-30 09:40:53 +01:00
parent 368bd80c69
commit 078f730512
9 changed files with 86 additions and 6 deletions
+13
View File
@@ -1024,6 +1024,19 @@ GdbObj::RemoveInfo( const string& sKey)
return m_pAttribs->RemoveInfo( sKey) ;
}
//----------------------------------------------------------------------------
bool
GdbObj::GetAllInfo( STRVECTOR& vsInfo) const
{
// se non ci sono attributi
if ( m_pAttribs == nullptr) {
vsInfo.clear() ;
return true ;
}
// recupero tutte le Info
return m_pAttribs->GetAllInfo( vsInfo) ;
}
//----------------------------------------------------------------------------
// TextureData
//----------------------------------------------------------------------------