EgtMachKernel :
- funzione IsMachBase portata in interfaccia IMachMgr.
This commit is contained in:
@@ -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) ;
|
||||
|
||||
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user