EgtMachKernel :

- funzione IsMachBase portata in interfaccia IMachMgr.
This commit is contained in:
Dario Sassi
2020-11-30 08:33:01 +00:00
parent ea786599a4
commit 1b778cf969
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -83,6 +83,7 @@ class MachMgr : public IMachMgr
bool GetCurrMachineName( std::string& sMachineName) const override ;
bool GetCurrMachineDir( std::string& sMachineDir) const override ;
// MachGroups
bool IsMachBase( int nId) const override ;
int GetMachGroupCount( void) const override ;
int GetFirstMachGroup( void) const override ;
int GetNextMachGroup( int nId) const override ;
@@ -439,7 +440,6 @@ class MachMgr : public IMachMgr
private :
// Basic
void Clear( void) ;
bool IsMachBase( int nId) const ;
int FindMachBase( int nGroupId) const ;
bool VerifyMachBase( void) const ;
bool CreateMachBase( void) ;
+2
View File
@@ -182,6 +182,8 @@ MachMgr::Insert( int nInsGrp)
bool
MachMgr::IsMachBase( int nId) const
{
if ( m_pGeomDB == nullptr)
return false ;
int nLevel ;
string sName ;
return ( m_pGeomDB != nullptr &&