0030058: Visualization, Select3D_SensitivePrimitiveArray - the selection is not fast...
[occt.git] / src / Message / Message_Alert.cxx
1 // Created on: 2017-06-26
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 <Message_Alert.hxx>
17
18 IMPLEMENT_STANDARD_RTTIEXT(Message_Alert,Standard_Transient)
19
20 //=======================================================================
21 //function : GetMessageKey
22 //purpose  :
23 //=======================================================================
24
25 Standard_CString Message_Alert::GetMessageKey () const
26 {
27   return DynamicType()->Name();
28 }
29
30 //=======================================================================
31 //function : SupportsMerge
32 //purpose  : 
33 //=======================================================================
34
35 Standard_Boolean Message_Alert::SupportsMerge () const
36 {
37   // by default, support merge
38   return Standard_True;
39 }
40
41 //=======================================================================
42 //function : Merge
43 //purpose  : 
44 //=======================================================================
45
46 Standard_Boolean Message_Alert::Merge (const Handle(Message_Alert)& /*theTarget*/)
47 {
48   // by default, merge trivially
49   return Standard_True;
50 }