0028786: Refactoring of the Warning/Error reporting system of Boolean Operations...
[occt.git] / src / BOPAlgo / BOPAlgo_Algo.cxx
CommitLineData
b311480e 1// Created by: Peter KURNEV
973c2be1 2// Copyright (c) 2010-2014 OPEN CASCADE SAS
4e57c75e 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
b311480e 6//
973c2be1 7// This file is part of Open CASCADE Technology software library.
b311480e 8//
d5f74e42 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
973c2be1 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.
b311480e 14//
973c2be1 15// Alternatively, this file may be used under the terms of Open CASCADE
16// commercial license or contractual agreement.
7fd59977 17
4e57c75e 18
42cf5bc1 19#include <BOPAlgo_Algo.hxx>
e322db46 20
7fd59977 21//=======================================================================
4e57c75e 22// function:
7fd59977 23// purpose:
24//=======================================================================
db8e4b9a 25BOPAlgo_Algo::BOPAlgo_Algo()
7fd59977 26:
33ba8565 27 BOPAlgo_Options(NCollection_BaseAllocator::CommonBaseAllocator())
7fd59977 28{}
7fd59977 29//=======================================================================
4e57c75e 30// function:
7fd59977 31// purpose:
32//=======================================================================
db8e4b9a 33BOPAlgo_Algo::BOPAlgo_Algo
34 (const Handle(NCollection_BaseAllocator)& theAllocator)
4e57c75e 35:
33ba8565 36 BOPAlgo_Options(theAllocator)
4e57c75e 37{}
7fd59977 38
39//=======================================================================
4e57c75e 40// function: ~
7fd59977 41// purpose:
42//=======================================================================
db8e4b9a 43BOPAlgo_Algo::~BOPAlgo_Algo()
7fd59977 44{
7fd59977 45}
33ba8565 46
7fd59977 47//=======================================================================
4e57c75e 48// function: CheckData
7fd59977 49// purpose:
50//=======================================================================
db8e4b9a 51void BOPAlgo_Algo::CheckData()
7fd59977 52{
33ba8565 53 GetReport()->Clear(Message_Fail);
7fd59977 54}
7fd59977 55//=======================================================================
4e57c75e 56// function: CheckResult
7fd59977 57// purpose:
58//=======================================================================
db8e4b9a 59void BOPAlgo_Algo::CheckResult()
7fd59977 60{
33ba8565 61 GetReport()->Clear(Message_Fail);
7fd59977 62}