0030675: Visualization - remove redundant proxy classes in hierarchy of PrsMgr_Presen...
[occt.git] / src / TopoDS / TopoDS_AlertWithShape.cxx
CommitLineData
33ba8565 1// Created on: 2017-06-27
2// Created by: Andrey Betenev
3// Copyright (c) 2017 OPEN CASCADE SAS
4//
5// This file is part of Open CASCADE Technology software library.
6//
7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
12//
13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
16#include <TopoDS_AlertWithShape.hxx>
17
18#include <Message_Msg.hxx>
19
20IMPLEMENT_STANDARD_RTTIEXT(TopoDS_AlertWithShape,Message_Alert)
21
22//=======================================================================
23//function : TopoDS_AlertWithShape
24//purpose :
25//=======================================================================
26
27TopoDS_AlertWithShape::TopoDS_AlertWithShape (const TopoDS_Shape& theShape)
28{
29 myShape = theShape;
30}
31
32//=======================================================================
33//function : SupportsMerge
34//purpose :
35//=======================================================================
36
37Standard_Boolean TopoDS_AlertWithShape::SupportsMerge () const
38{
39 return Standard_False;
40}
41
42//=======================================================================
43//function : Merge
44//purpose :
45//=======================================================================
46
47Standard_Boolean TopoDS_AlertWithShape::Merge (const Handle(Message_Alert)& /*theTarget*/)
48{
49 return Standard_False;
50// Handle(TopoDS_AlertWithShape) aTarget = Handle(TopoDS_AlertWithShape)::DownCast (theTarget);
51// return aTarget->GetShape() == myShape;
52}