Salome HOME
Merge branch 'master' of salome:modules/shaper
[modules/shaper.git] / src / Config / Config_SelectionFilterMessage.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * Config_SelectionFilterMessage.cpp
5  *
6  *  Created on: 08 Jul 2014
7  *      Author: sbh
8  */
9
10 #include <Config_SelectionFilterMessage.h>
11
12 Config_SelectionFilterMessage::Config_SelectionFilterMessage(const Events_ID theId,
13                                                              const void* theParent)
14     : Events_Message(theId, theParent)
15 {
16   mySelectionFilterId = "";
17   myFeatureId = "";
18   myAttributeId = "";
19 }
20
21 Config_SelectionFilterMessage::~Config_SelectionFilterMessage()
22 {
23 }
24
25 const std::string& Config_SelectionFilterMessage::selectionFilterId() const
26 {
27   return mySelectionFilterId;
28 }
29
30 const std::string& Config_SelectionFilterMessage::featureId() const
31 {
32   return myFeatureId;
33 }
34
35 void Config_SelectionFilterMessage::setSelectionFilterId(const std::string& theId)
36 {
37   mySelectionFilterId = theId;
38 }
39
40 const std::string& Config_SelectionFilterMessage::attributeId() const
41 {
42   return myAttributeId;
43 }
44
45 const std::list<std::string>& Config_SelectionFilterMessage::parameters() const
46 {
47   return myFilterParameters;
48 }
49
50 void Config_SelectionFilterMessage::setFeatureId(const std::string& theId)
51 {
52   myFeatureId = theId;
53 }
54
55 void Config_SelectionFilterMessage::setAttributeId(const std::string& theId)
56 {
57   myAttributeId = theId;
58 }
59
60 void Config_SelectionFilterMessage::setFilterParameters(const std::list<std::string>& parameters)
61 {
62   myFilterParameters = parameters;
63 }
64