blob: bec1412c7962b5b37914291ced540f24847d0ac3 (
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
|
// 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 _PDataStd_IntPackedMap_HeaderFile
#define _PDataStd_IntPackedMap_HeaderFile
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PDataStd_IntPackedMap_HeaderFile
#include <Handle_PDataStd_IntPackedMap.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_PColStd_HArray1OfInteger_HeaderFile
#include <Handle_PColStd_HArray1OfInteger.hxx>
#endif
#ifndef _PDF_Attribute_HeaderFile
#include <PDF_Attribute.hxx>
#endif
class PColStd_HArray1OfInteger;
class PDataStd_IntPackedMap : public PDF_Attribute {
public:
Standard_EXPORT PDataStd_IntPackedMap();
//! Inits the internal container <br>
//! if (upper - lower) == 0 and (upper | lower) == 0, the corresponding <br>
//! array is empty (not requested) <br>
Standard_EXPORT void Init(const Standard_Integer theLow,const Standard_Integer theUp) ;
//! Returns true if the internal container is empty <br>
Standard_EXPORT Standard_Boolean IsEmpty() const;
//! Returns an upper bound of the internal container <br>
Standard_EXPORT Standard_Integer Upper() const;
//! Returns a lower bound of the internal container <br>
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer GetValue(const Standard_Integer theIndex) const;
Standard_EXPORT void SetValue(const Standard_Integer theIndex,const Standard_Integer theValue) ;
PDataStd_IntPackedMap(const Storage_stCONSTclCOM& a) : PDF_Attribute(a)
{
}
Handle(PColStd_HArray1OfInteger) _CSFDB_GetPDataStd_IntPackedMapmyIntValues() const { return myIntValues; }
void _CSFDB_SetPDataStd_IntPackedMapmyIntValues(const Handle(PColStd_HArray1OfInteger)& p) { myIntValues = p; }
DEFINE_STANDARD_RTTI(PDataStd_IntPackedMap)
protected:
private:
Handle_PColStd_HArray1OfInteger myIntValues;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|