Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkMaterial_MapOfMaterial.hxx

Go to the documentation of this file.
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 _exotkMaterial_MapOfMaterial_HeaderFile
00016 #define _exotkMaterial_MapOfMaterial_HeaderFile
00017 
00018 #ifndef _TCollection_BasicexotkMaterial_HeaderFile
00019 #include <TCollection_BasicMap.hxx>
00020 #endif
00021 #ifndef _Handle_exotkMaterial_Material_HeaderFile
00022 #include <Handle_exotkMaterial_Material.hxx>
00023 #endif
00024 #ifndef _Handle_exotkMaterial_StdMapNodeOfMapOfMaterial_HeaderFile
00025 #include <Handle_exotkMaterial_StdMapNodeOfMapOfMaterial.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 exotkMaterial_Material;
00035 class exotkMaterial_StdMapNodeOfMapOfMaterial;
00036 class exotkMaterial_MapIteratorOfMapOfMaterial;
00037 
00038 
00039 #ifndef _Standard_Macro_HeaderFile
00040 #include <Standard_Macro.hxx>
00041 #endif
00042 
00043 class exotkMaterial_MapOfMaterial  : public TCollection_BasicMap {
00044 
00045 public:
00046     inline void* operator new(size_t,void* anAddress) 
00047       {
00048         return anAddress;
00049       }
00050     inline void* operator new(size_t size) 
00051       { 
00052         return Standard::Allocate(size); 
00053       }
00054     inline void  operator delete(void *anAddress) 
00055       { 
00056         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00057       }
00058 
00059  // Methods PUBLIC
00060  // 
00061 Standard_EXPORT exotkMaterial_MapOfMaterial(const Standard_Integer NbBuckets = 1);
00062 Standard_EXPORT   exotkMaterial_MapOfMaterial& Assign(const exotkMaterial_MapOfMaterial& Other) ;
00063   exotkMaterial_MapOfMaterial& operator =(const exotkMaterial_MapOfMaterial& Other) 
00064 {
00065   return Assign(Other);
00066 }
00067 
00068 Standard_EXPORT   void ReSize(const Standard_Integer NbBuckets) ;
00069 Standard_EXPORT   void Clear() ;
00070 ~exotkMaterial_MapOfMaterial()
00071 {
00072   Clear();
00073 }
00074 
00075 Standard_EXPORT   Standard_Boolean Add(const Handle_exotkMaterial_Material& aKey) ;
00076 Standard_EXPORT   Standard_Boolean Contains(const Handle_exotkMaterial_Material& aKey) const;
00077 Standard_EXPORT   Standard_Boolean Remove(const Handle_exotkMaterial_Material& aKey) ;
00078 
00079 
00080 
00081 
00082 
00083 protected:
00084 
00085  // Methods PROTECTED
00086  // 
00087 
00088 
00089  // Fields PROTECTED
00090  //
00091 
00092 
00093 private: 
00094 
00095  // Methods PRIVATE
00096  // 
00097 Standard_EXPORT exotkMaterial_MapOfMaterial(const exotkMaterial_MapOfMaterial& Other);
00098 
00099 
00100  // Fields PRIVATE
00101  //
00102 
00103 
00104 };
00105 
00106 
00107 
00108 
00109 
00110 // other inline functions and methods (like "C++: function call" methods)
00111 //
00112 
00113 
00114 #endif

Generated on Wed Jan 23 12:16:42 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001