1 -- Created by: Peter KURNEV
2 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
4 -- This file is part of Open CASCADE Technology software library.
6 -- This library is free software; you can redistribute it and/or modify it under
7 -- the terms of the GNU Lesser General Public License version 2.1 as published
8 -- by the Free Software Foundation, with special exception defined in the file
9 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 -- distribution for complete text of the license and disclaimer of any warranty.
12 -- Alternatively, this file may be used under the terms of Open CASCADE
13 -- commercial license or contractual agreement.
15 class IndexRange from BOPDS
18 -- The class BOPDS_IndexRange is to store
19 -- the information about range of two indices
25 returns IndexRange from BOPDS;
26 ---C++: alias "Standard_EXPORT virtual ~BOPDS_IndexRange();"
33 theI1:Integer from Standard);
37 --- Sets the first index <theI1> of the range
40 theI2:Integer from Standard);
44 --- Sets the second index <theI2> of the range
47 returns Integer from Standard;
51 --- Returns the first index of the range
54 returns Integer from Standard;
58 --- Returns the second index of the range
61 theI1:Integer from Standard;
62 theI2:Integer from Standard);
66 --- Sets the first index of the range <theI1>
67 --- Sets the second index of the range <theI2>
70 theI1:out Integer from Standard;
71 theI2:out Integer from Standard);
75 --- Returns the first index of the range <theI1>
76 --- Returns the second index of the range <theI2>
79 theIndex:Integer from Standard)
80 returns Boolean from Standard;
84 --- Returns true if the range contains <theIndex>
91 myFirst : Integer from Standard is protected;
92 myLast : Integer from Standard is protected;