geom/src/STEPPlugin/STEPPlugin_IOperations.hxx
2016-03-15 15:27:04 +03:00

69 lines
2.0 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
//
// File : STEPPlugin_IOperations.hxx
#ifndef _STEPPlugin_IOperations_HXX_
#define _STEPPlugin_IOperations_HXX_
// internal includes
#include "STEPPlugin_Engine.hxx"
// GEOM includes
#include "GEOMImpl_IBaseIEOperations.hxx"
class STEPPLUGINENGINE_EXPORT STEPPlugin_IOperations: public GEOMImpl_IBaseIEOperations
{
public:
/*!
* \brief Units of length
*/
enum LengthUnit
{
LengthUnit_Inch,
LengthUnit_Millimeter,
LengthUnit_Foot,
LengthUnit_Mile,
LengthUnit_Meter,
LengthUnit_Kilometer,
LengthUnit_Milliinch,
LengthUnit_Micrometer,
LengthUnit_Centimeter,
LengthUnit_Microinch
};
public:
STEPPlugin_IOperations( GEOM_Engine*, int );
~STEPPlugin_IOperations();
void ExportSTEP( const Handle(GEOM_Object),
const TCollection_AsciiString&, const LengthUnit );
Handle(TColStd_HSequenceOfTransient) ImportSTEP(const TCollection_AsciiString&,
const bool,
const bool);
TCollection_AsciiString ReadValue( const TCollection_AsciiString&,
const TCollection_AsciiString& );
};
#endif