summaryrefslogtreecommitdiff
path: root/inc/TColStd_HSetOfInteger.hxx
blob: 167cb7a8103a14679ea6644f73d34226bbec15e0 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
// 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 _TColStd_HSetOfInteger_HeaderFile
#define _TColStd_HSetOfInteger_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_TColStd_HSetOfInteger_HeaderFile
#include <Handle_TColStd_HSetOfInteger.hxx>
#endif

#ifndef _TColStd_SetOfInteger_HeaderFile
#include <TColStd_SetOfInteger.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class TColStd_SetOfInteger;



class TColStd_HSetOfInteger : public MMgt_TShared {

public:

  
  Standard_EXPORT   TColStd_HSetOfInteger();
  
        Standard_Integer Extent() const;
  
        Standard_Boolean IsEmpty() const;
  
        void Clear() ;
  
        Standard_Boolean Add(const Standard_Integer& T) ;
  
        Standard_Boolean Remove(const Standard_Integer& T) ;
  
  Standard_EXPORT     Handle_TColStd_HSetOfInteger Union(const Handle(TColStd_HSetOfInteger)& B) const;
  
  Standard_EXPORT     Handle_TColStd_HSetOfInteger Intersection(const Handle(TColStd_HSetOfInteger)& B) const;
  
  Standard_EXPORT     Handle_TColStd_HSetOfInteger Difference(const Handle(TColStd_HSetOfInteger)& B) const;
  
        Standard_Boolean Contains(const Standard_Integer& T) const;
  
        Standard_Boolean IsASubset(const Handle(TColStd_HSetOfInteger)& S) const;
  
        Standard_Boolean IsAProperSubset(const Handle(TColStd_HSetOfInteger)& S) const;
  
  Standard_EXPORT     Handle_TColStd_HSetOfInteger ShallowCopy() const;
  
       const TColStd_SetOfInteger& Set() const;
  
        TColStd_SetOfInteger& ChangeSet() ;




  DEFINE_STANDARD_RTTI(TColStd_HSetOfInteger)

protected:




private: 


TColStd_SetOfInteger mySet;


};

#define Item Standard_Integer
#define Item_hxx <Standard_Integer.hxx>
#define TheSet TColStd_SetOfInteger
#define TheSet_hxx <TColStd_SetOfInteger.hxx>
#define TCollection_HSet TColStd_HSetOfInteger
#define TCollection_HSet_hxx <TColStd_HSetOfInteger.hxx>
#define Handle_TCollection_HSet Handle_TColStd_HSetOfInteger
#define TCollection_HSet_Type_() TColStd_HSetOfInteger_Type_()

#include <TCollection_HSet.lxx>

#undef Item
#undef Item_hxx
#undef TheSet
#undef TheSet_hxx
#undef TCollection_HSet
#undef TCollection_HSet_hxx
#undef Handle_TCollection_HSet
#undef TCollection_HSet_Type_


// other Inline functions and methods (like "C++: function call" methods)
inline Handle_TColStd_HSetOfInteger ShallowCopy(const Handle_TColStd_HSetOfInteger& me) {
 return me->ShallowCopy();
}



#endif