7fd59977 |
1 | #include <IFSelect_SelectControl.ixx> |
2 | |
3 | |
4 | |
5 | Handle(IFSelect_Selection) IFSelect_SelectControl::MainInput () const |
6 | { return themain; } |
7 | |
8 | Handle(IFSelect_Selection) IFSelect_SelectControl::SecondInput () const |
9 | { return thesecond; } |
10 | |
11 | Standard_Boolean IFSelect_SelectControl::HasSecondInput () const |
12 | { return (!thesecond.IsNull()); } |
13 | |
14 | void IFSelect_SelectControl::SetMainInput |
15 | (const Handle(IFSelect_Selection)& sel) |
16 | { themain = sel; } |
17 | |
18 | void IFSelect_SelectControl::SetSecondInput |
19 | (const Handle(IFSelect_Selection)& sel) |
20 | { thesecond = sel; } |
21 | |
22 | |
23 | void IFSelect_SelectControl::FillIterator |
24 | (IFSelect_SelectionIterator& iter) const |
25 | { |
26 | iter.AddItem(themain); |
27 | if (!thesecond.IsNull()) iter.AddItem(thesecond); |
28 | } |