Include :

- aggiornamento prototipi.
This commit is contained in:
Dario Sassi
2015-05-04 07:35:06 +00:00
parent 18471caf45
commit 0ecdc751f2
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -29,4 +29,5 @@ EGN_EXPORT bool ExistsFile( const std::string& sFile) ;
EGN_EXPORT bool EraseFile( const std::string& sFile) ;
EGN_EXPORT bool FileExtensionMatches( const std::string& sFile, const std::string& sExt) ;
EGN_EXPORT bool FindFirstFileEgt( const std::string& sFileSpec, std::string& sFileName) ;
EGN_EXPORT bool ExistsDirectory( const std::string& sDir) ;
EGN_EXPORT bool EmptyDirectory( const std::string& sDir) ;
+2 -2
View File
@@ -64,7 +64,7 @@ ToLower( std::string& sString)
//----------------------------------------------------------------------------
inline bool
IsEmptyOrSpaces( const std::string& sName)
{ return ( sName.empty() ||
{ return ( &sName == nullptr || sName.empty() ||
sName.find_first_not_of( " \t\r\n") == std::string::npos) ; }
//----------------------------------------------------------------------------
@@ -75,7 +75,7 @@ IsNullOrSpace( char cChar)
//----------------------------------------------------------------------------
inline bool
IsValidName( const std::string& sName)
{ if ( sName.empty())
{ if ( &sName == nullptr || sName.empty())
return false ;
return ( sName.find_first_of( "\\/:*?\"<>|", 0) == std::string::npos) ; }
+1 -1
View File
@@ -389,7 +389,7 @@ EIN_EXPORT BOOL __stdcall EgtShearGroup( int nId, const double vPnt[3], const do
const double vDir[3], double dCoeff) ;
// Machining
EIN_EXPORT BOOL __stdcall EgtInitMachMgr( void) ;
EIN_EXPORT BOOL __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir) ;
EIN_EXPORT int __stdcall EgtGetMachGroupNbr( void) ;
EIN_EXPORT int __stdcall EgtGetFirstMachGroup( void) ;
EIN_EXPORT int __stdcall EgtGetNextMachGroup( int nId) ;
+1 -1
View File
@@ -29,7 +29,7 @@ class __declspec( novtable) IMachMgr
public :
// Basic
virtual ~IMachMgr( void) {}
virtual bool Init( IGeomDB* pGeomDB) = 0 ;
virtual bool Init( IGeomDB* pGeomDB, const std::string& sMachinesDir) = 0 ;
virtual bool Update( void) = 0 ;
virtual bool Insert( int nInsGrp) = 0 ;
// MachGroups