Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-15 09:49:04

0001 // Created on: 2006-12-05
0002 // Created by: Sergey  KOCHETKOV
0003 // Copyright (c) 2006-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _TColStd_HPackedMapOfInteger_HeaderFile
0017 #define _TColStd_HPackedMapOfInteger_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <TColStd_PackedMapOfInteger.hxx>
0022 #include <Standard_Transient.hxx>
0023 #include <Standard_Integer.hxx>
0024 
0025 
0026 class TColStd_HPackedMapOfInteger;
0027 DEFINE_STANDARD_HANDLE(TColStd_HPackedMapOfInteger, Standard_Transient)
0028 
0029 //! Extension of TColStd_PackedMapOfInteger class to be manipulated by handle.
0030 class TColStd_HPackedMapOfInteger : public Standard_Transient
0031 {
0032 
0033 public:
0034 
0035   
0036   Standard_EXPORT TColStd_HPackedMapOfInteger(const Standard_Integer NbBuckets = 1);
0037   
0038   Standard_EXPORT TColStd_HPackedMapOfInteger(const TColStd_PackedMapOfInteger& theOther);
0039   
0040     const TColStd_PackedMapOfInteger& Map() const;
0041   
0042     TColStd_PackedMapOfInteger& ChangeMap();
0043 
0044 
0045 
0046 
0047   DEFINE_STANDARD_RTTIEXT(TColStd_HPackedMapOfInteger,Standard_Transient)
0048 
0049 protected:
0050 
0051 
0052 
0053 
0054 private:
0055 
0056 
0057   TColStd_PackedMapOfInteger myMap;
0058 
0059 
0060 };
0061 
0062 
0063 #include <TColStd_HPackedMapOfInteger.lxx>
0064 
0065 
0066 
0067 
0068 
0069 #endif // _TColStd_HPackedMapOfInteger_HeaderFile