Include : modifiche a interfacce.

This commit is contained in:
Dario Sassi
2013-12-12 09:12:17 +00:00
parent bcaf568ff9
commit 81f4af3160
3 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class _declspec( novtable) IGeoObj
virtual const std::string& GetKey( void) const = 0 ;
virtual bool IsValid( void) const = 0 ;
virtual bool Save( std::ostream& osOut) const = 0 ;
virtual bool Load( CScan& TheScanner) = 0 ;
virtual bool Load( Scanner& TheScanner) = 0 ;
virtual bool Translate( const Vector3d& vtMove) = 0 ;
virtual bool Rotate( const Point3d& ptAx, const Vector3d& vtAx, double dCosAng, double dSinAng) = 0 ;
virtual bool Rotate( const Point3d& ptAx, const Vector3d& vtAx, double dAngRad) = 0 ;
+2 -2
View File
@@ -34,8 +34,8 @@ class _declspec( novtable) IGeomDB
virtual bool Init( ILogger* pLogger) = 0 ;
virtual bool ReInit( void) = 0 ;
virtual bool Clear( void) = 0 ;
virtual bool Load( std::ifstream& osIn) = 0 ;
virtual bool Save( std::ofstream& osOut) const = 0 ;
virtual bool Load( const std::string& sFileIn) = 0 ;
virtual bool Save( const std::string& sFileOut) const = 0 ;
virtual bool ExistsNode( int nId) const = 0 ;
virtual int AddGroup( int nId, int nParentId, const Frame3d& frFrame) = 0 ;
virtual int AddGeoObj( int nId, int nParentId, IGeoObj* pGeoObj) = 0 ;
+12 -9
View File
@@ -25,17 +25,20 @@
#endif
//----------------------------------------------------------------------------
class EGN_EXPORT CScan
class Scanner
{
public :
CScan( void) ;
~CScan( void) ;
bool Init( std::ifstream& InFile) ;
bool Terminate( void) ;
bool GetLine( std::string& sLine) ;
int GetCurrLineNbr( void) { return m_nLineNbr ; }
EGN_EXPORT Scanner( void) ;
EGN_EXPORT ~Scanner( void) ;
EGN_EXPORT bool Init( const std::string& sCmdFile, const char* szRemInit = NULL) ;
EGN_EXPORT bool Terminate( void) ;
EGN_EXPORT bool GetLine( std::string& sLine) ;
EGN_EXPORT int GetCurrLineNbr( void) { return m_nLineNbr ; }
EGN_EXPORT const std::string& GetFilePath( void) { return m_sFName ; }
private :
std::ifstream* m_pInFile ;
int m_nLineNbr ;
std::ifstream m_InFile ;
std::string m_sFName ;
std::string m_sRemInit ;
int m_nLineNbr ;
} ;