0028786: Refactoring of the Warning/Error reporting system of Boolean Operations...
[occt.git] / src / BOPAlgo / BOPAlgo_Algo.hxx
CommitLineData
42cf5bc1 1// Created by: Peter KURNEV
2// Copyright (c) 2010-2014 OPEN CASCADE SAS
3// Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4// Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5// EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6//
7// This file is part of Open CASCADE Technology software library.
8//
9// This library is free software; you can redistribute it and/or modify it under
10// the terms of the GNU Lesser General Public License version 2.1 as published
11// by the Free Software Foundation, with special exception defined in the file
12// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13// distribution for complete text of the license and disclaimer of any warranty.
14//
15// Alternatively, this file may be used under the terms of Open CASCADE
16// commercial license or contractual agreement.
17
18#ifndef _BOPAlgo_Algo_HeaderFile
19#define _BOPAlgo_Algo_HeaderFile
20
21#include <Standard.hxx>
22#include <Standard_DefineAlloc.hxx>
23#include <Standard_Handle.hxx>
24
33ba8565 25#include <BOPAlgo_Options.hxx>
42cf5bc1 26
33ba8565 27#include <BOPCol_DataMapOfIntegerListOfShape.hxx>
42cf5bc1 28
33ba8565 29//! The class provides the root interface for the algorithms in Boolean Component.<br>
30class BOPAlgo_Algo : public BOPAlgo_Options
42cf5bc1 31{
32public:
33
34 DEFINE_STANDARD_ALLOC
35
42cf5bc1 36 Standard_EXPORT virtual void Perform() = 0;
42cf5bc1 37
38protected:
39
33ba8565 40 //! Default constructor
42cf5bc1 41 Standard_EXPORT BOPAlgo_Algo();
33ba8565 42 Standard_EXPORT virtual ~BOPAlgo_Algo();
42cf5bc1 43
33ba8565 44 Standard_EXPORT BOPAlgo_Algo(const BOPCol_BaseAllocator& theAllocator);
42cf5bc1 45
33ba8565 46 //! Checks input data
47 Standard_EXPORT virtual void CheckData();
42cf5bc1 48
33ba8565 49 //! Checks the obtained result
50 Standard_EXPORT virtual void CheckResult();
42cf5bc1 51
52};
53
42cf5bc1 54#endif // _BOPAlgo_Algo_HeaderFile