00001 // File generated by CPPExt (Value) 00002 // Copyright (C) 1991,1995 by 00003 // 00004 // MATRA DATAVISION, FRANCE 00005 // 00006 // This software is furnished in accordance with the terms and conditions 00007 // of the contract and with the inclusion of the above copyright notice. 00008 // This software or any other copy thereof may not be provided or otherwise 00009 // be made available to any other person. No title to an ownership of the 00010 // software is hereby transferred. 00011 // 00012 // At the termination of the contract, the software and all copies of this 00013 // software must be deleted. 00014 00015 #ifndef _exotkParameter_DoubleMapAsciiStringInteger_HeaderFile 00016 #define _exotkParameter_DoubleMapAsciiStringInteger_HeaderFile 00017 00018 #ifndef _TCollection_BasicMap_HeaderFile 00019 #include <TCollection_BasicMap.hxx> 00020 #endif 00021 #ifndef _Handle_exotkParameter_DoubleMapNodeOfDoubleMapAsciiStringInteger_HeaderFile 00022 #include <Handle_exotkParameter_DoubleMapNodeOfDoubleMapAsciiStringInteger.hxx> 00023 #endif 00024 #ifndef _Standard_Integer_HeaderFile 00025 #include <Standard_Integer.hxx> 00026 #endif 00027 #ifndef _Standard_Boolean_HeaderFile 00028 #include <Standard_Boolean.hxx> 00029 #endif 00030 class Standard_DomainError; 00031 class Standard_MultiplyDefined; 00032 class Standard_NoSuchObject; 00033 class TCollection_AsciiString; 00034 class TColStd_MapTransientHasher; 00035 class exotkParameter_DoubleMapNodeOfDoubleMapAsciiStringInteger; 00036 class exotkParameter_DoubleMapIteratorOfDoubleMapAsciiStringInteger; 00037 00038 00039 #ifndef _Standard_Macro_HeaderFile 00040 #include <Standard_Macro.hxx> 00041 #endif 00042 00043 class exotkParameter_DoubleMapAsciiStringInteger : public TCollection_BasicMap { 00044 00045 public: 00046 00047 // Methods PUBLIC 00048 // 00049 Standard_EXPORT exotkParameter_DoubleMapAsciiStringInteger(const Standard_Integer NbBuckets = 1); 00050 Standard_EXPORT exotkParameter_DoubleMapAsciiStringInteger& Assign(const exotkParameter_DoubleMapAsciiStringInteger& Other) ; 00051 exotkParameter_DoubleMapAsciiStringInteger& operator =(const exotkParameter_DoubleMapAsciiStringInteger& Other) 00052 { 00053 return Assign(Other); 00054 } 00055 00056 Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; 00057 Standard_EXPORT void Clear() ; 00058 ~exotkParameter_DoubleMapAsciiStringInteger() 00059 { 00060 Clear(); 00061 } 00062 00063 Standard_EXPORT void Bind(const TCollection_AsciiString& K1,const Standard_Integer& K2) ; 00064 Standard_EXPORT Standard_Boolean AreBound(const TCollection_AsciiString& K1,const Standard_Integer& K2) const; 00065 Standard_EXPORT Standard_Boolean IsBound1(const TCollection_AsciiString& K) const; 00066 Standard_EXPORT Standard_Boolean IsBound2(const Standard_Integer& K) const; 00067 Standard_EXPORT const Standard_Integer& Find1(const TCollection_AsciiString& K) const; 00068 Standard_EXPORT const TCollection_AsciiString& Find2(const Standard_Integer& K) const; 00069 Standard_EXPORT Standard_Boolean UnBind1(const TCollection_AsciiString& K) ; 00070 Standard_EXPORT Standard_Boolean UnBind2(const Standard_Integer& K) ; 00071 00072 00073 00074 00075 00076 protected: 00077 00078 // Methods PROTECTED 00079 // 00080 00081 00082 // Fields PROTECTED 00083 // 00084 00085 00086 private: 00087 00088 // Methods PRIVATE 00089 // 00090 Standard_EXPORT exotkParameter_DoubleMapAsciiStringInteger(const exotkParameter_DoubleMapAsciiStringInteger& Other); 00091 00092 00093 // Fields PRIVATE 00094 // 00095 00096 00097 }; 00098 00099 00100 00101 00102 00103 // other inline functions and methods (like "C++: function call" methods) 00104 // 00105 00106 00107 #endif
1.2.12 written by Dimitri van Heesch,
© 1997-2001