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 _exotkAIS_DoubleMapAsciiStringAISInteractiveObject_HeaderFile 00016 #define _exotkAIS_DoubleMapAsciiStringAISInteractiveObject_HeaderFile 00017 00018 #ifndef _TCollection_BasicMap_HeaderFile 00019 #include <TCollection_BasicMap.hxx> 00020 #endif 00021 #ifndef _Handle_AIS_InteractiveObject_HeaderFile 00022 #include <Handle_AIS_InteractiveObject.hxx> 00023 #endif 00024 #ifndef _Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject_HeaderFile 00025 #include <Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject.hxx> 00026 #endif 00027 #ifndef _Standard_Integer_HeaderFile 00028 #include <Standard_Integer.hxx> 00029 #endif 00030 #ifndef _Standard_Boolean_HeaderFile 00031 #include <Standard_Boolean.hxx> 00032 #endif 00033 class Standard_DomainError; 00034 class Standard_MultiplyDefined; 00035 class Standard_NoSuchObject; 00036 class TCollection_AsciiString; 00037 class AIS_InteractiveObject; 00038 class TColStd_MapTransientHasher; 00039 class exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject; 00040 class exotkAIS_DoubleMapIteratorOfDoubleMapAsciiStringAISInteractiveObject; 00041 00042 00043 #ifndef _Standard_Macro_HeaderFile 00044 #include <Standard_Macro.hxx> 00045 #endif 00046 00047 class exotkAIS_DoubleMapAsciiStringAISInteractiveObject : public TCollection_BasicMap { 00048 00049 public: 00050 inline void* operator new(size_t,void* anAddress) 00051 { 00052 return anAddress; 00053 } 00054 inline void* operator new(size_t size) 00055 { 00056 return Standard::Allocate(size); 00057 } 00058 inline void operator delete(void *anAddress) 00059 { 00060 if (anAddress) Standard::Free((Standard_Address&)anAddress); 00061 } 00062 00063 // Methods PUBLIC 00064 // 00065 Standard_EXPORT exotkAIS_DoubleMapAsciiStringAISInteractiveObject(const Standard_Integer NbBuckets = 1); 00066 Standard_EXPORT exotkAIS_DoubleMapAsciiStringAISInteractiveObject& Assign(const exotkAIS_DoubleMapAsciiStringAISInteractiveObject& Other) ; 00067 exotkAIS_DoubleMapAsciiStringAISInteractiveObject& operator =(const exotkAIS_DoubleMapAsciiStringAISInteractiveObject& Other) 00068 { 00069 return Assign(Other); 00070 } 00071 00072 Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; 00073 Standard_EXPORT void Clear() ; 00074 ~exotkAIS_DoubleMapAsciiStringAISInteractiveObject() 00075 { 00076 Clear(); 00077 } 00078 00079 Standard_EXPORT void Bind(const TCollection_AsciiString& K1,const Handle_AIS_InteractiveObject& K2) ; 00080 Standard_EXPORT Standard_Boolean AreBound(const TCollection_AsciiString& K1,const Handle_AIS_InteractiveObject& K2) const; 00081 Standard_EXPORT Standard_Boolean IsBound1(const TCollection_AsciiString& K) const; 00082 Standard_EXPORT Standard_Boolean IsBound2(const Handle_AIS_InteractiveObject& K) const; 00083 Standard_EXPORT const Handle_AIS_InteractiveObject& Find1(const TCollection_AsciiString& K) const; 00084 Standard_EXPORT const TCollection_AsciiString& Find2(const Handle_AIS_InteractiveObject& K) const; 00085 Standard_EXPORT Standard_Boolean UnBind1(const TCollection_AsciiString& K) ; 00086 Standard_EXPORT Standard_Boolean UnBind2(const Handle_AIS_InteractiveObject& K) ; 00087 00088 00089 00090 00091 00092 protected: 00093 00094 // Methods PROTECTED 00095 // 00096 00097 00098 // Fields PROTECTED 00099 // 00100 00101 00102 private: 00103 00104 // Methods PRIVATE 00105 // 00106 Standard_EXPORT exotkAIS_DoubleMapAsciiStringAISInteractiveObject(const exotkAIS_DoubleMapAsciiStringAISInteractiveObject& Other); 00107 00108 00109 // Fields PRIVATE 00110 // 00111 00112 00113 }; 00114 00115 00116 00117 00118 00119 // other inline functions and methods (like "C++: function call" methods) 00120 // 00121 00122 00123 #endif
1.2.12 written by Dimitri van Heesch,
© 1997-2001