summaryrefslogtreecommitdiff
path: root/inc/IFSelect_SelectInList.hxx
blob: 2647e84c1a267dd477916797795b233b6d7a4a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IFSelect_SelectInList_HeaderFile
#define _IFSelect_SelectInList_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IFSelect_SelectInList_HeaderFile
#include <Handle_IFSelect_SelectInList.hxx>
#endif

#ifndef _IFSelect_SelectAnyList_HeaderFile
#include <IFSelect_SelectAnyList.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class Standard_OutOfRange;
class Standard_Transient;
class Interface_EntityIterator;


//! A SelectInList kind Selection selects a List of an Entity, <br>
//!           which is composed of single Entities <br>
//!           To know the list on which to work, SelectInList has two <br>
//!           deferred methods : NbItems (inherited from SelectAnyList) and <br>
//!           ListedEntity (which gives an item as an Entity) which must be <br>
//!           defined to get a List in an Entity of the required Type (and <br>
//!           consider that list is empty if Entity has not required Type) <br>
//! <br>
//!           As for SelectAnyList, if a type of Entity defines several <br>
//!           lists, a given sub-class of SelectInList is attached on one <br>
class IFSelect_SelectInList : public IFSelect_SelectAnyList {

public:

  //! Returns an Entity, given its rank in the list <br>
  Standard_EXPORT   virtual  Handle_Standard_Transient ListedEntity(const Standard_Integer num,const Handle(Standard_Transient)& ent) const = 0;
  //! Puts into the result, the sub-entities of the list, from n1 to <br>
//!           n2 included. Remark that adequation with Entity's type and <br>
//!           length of list has already been made at this stage <br>
//!           Called by RootResult; calls ListedEntity (see below) <br>
  Standard_EXPORT     void FillResult(const Standard_Integer n1,const Standard_Integer n2,const Handle(Standard_Transient)& ent,Interface_EntityIterator& result) const;




  DEFINE_STANDARD_RTTI(IFSelect_SelectInList)

protected:




private: 




};





// other Inline functions and methods (like "C++: function call" methods)


#endif