geom/src/STEPPlugin/STEPPlugin_ImportDriver.hxx
2016-05-25 18:55:33 +03:00

50 lines
1.9 KiB
C++

// Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef _STEPPlugin_ImportDriver_HXX
#define _STEPPlugin_ImportDriver_HXX
// GEOM includes
#include "GEOM_BaseDriver.hxx"
DEFINE_STANDARD_HANDLE( STEPPlugin_ImportDriver, GEOM_BaseDriver );
class STEPPlugin_ImportDriver : public GEOM_BaseDriver
{
public:
STEPPlugin_ImportDriver();
~STEPPlugin_ImportDriver() {};
static const Standard_GUID& GetID();
virtual Standard_Integer Execute(LOGBOOK& log) const;
Standard_Boolean MustExecute( const LOGBOOK& ) const { return Standard_True; }
virtual void Validate( LOGBOOK& ) const {}
virtual bool GetCreationInformation( std::string& theOperationName,
std::vector<GEOM_Param>& params );
static
TCollection_AsciiString GetValue( const TCollection_AsciiString&,
const TCollection_AsciiString&,
TCollection_AsciiString& );
OCCT_DEFINE_STANDARD_RTTIEXT(STEPPlugin_ImportDriver,GEOM_BaseDriver)
};
#endif // _STEPPlugin_ImportDriver_HXX