1 // Copyright (c) 1998-1999 Matra Datavision
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 #ifndef _DBC_BaseArray_HeaderFile
16 #define _DBC_BaseArray_HeaderFile
18 #include <DBC_DBVArray.hxx>
19 #include <Standard_Storable.hxx>
20 #include <Standard_OStream.hxx>
21 #include <Standard_TypeDef.hxx>
23 class Standard_NullObject;
24 class Standard_NegativeValue;
25 class Standard_DimensionMismatch;
28 #ifndef Standard_EXPORT
29 #if defined(WNT) && !defined(HAVE_NO_DLL)
30 #define Standard_EXPORT __declspec(dllexport)
32 #define Standard_EXPORT
36 Handle_Standard_Type& DBC_BaseArray_Type_();
38 class Standard_EXPORT DBC_BaseArray :
39 public os_virtual_behavior /* New */ {
46 DBC_BaseArray(const Standard_Integer Size);
47 DBC_BaseArray(const DBC_BaseArray& BaseArray);
48 Standard_Integer Length() const;
49 Standard_Integer Upper() const;
50 Standard_Address Lock() const;
52 virtual void ShallowDump(Standard_OStream& S) const;
65 friend Handle_Standard_Type& DBC_BaseArray_Type_();
75 Standard_Integer mySize;
92 #include <DBC_BaseArray.lxx>
96 // other Inline functions and methods (like "C++: function call" methods)
98 void ShallowDump(const DBC_BaseArray& me,Standard_OStream& S) {