From: srn Date: Tue, 22 Mar 2005 07:52:20 +0000 (+0000) Subject: Replaced Maps on templates from NCollection package X-Git-Tag: T_22_03_05~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fde474690208c5e44e3e8aa602ac7d1f013a72a9;p=modules%2Fkernel.git Replaced Maps on templates from NCollection package --- diff --git a/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx b/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx deleted file mode 100644 index c2a7138c2..000000000 --- a/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx +++ /dev/null @@ -1,80 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx -// Author : Sergey Ruin -// Module : SALOME - -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#define _Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_TCollection_MapNode_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(TCollection_MapNode); -class SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString); - -class Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) : public Handle(TCollection_MapNode) { - public: - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)():Handle(TCollection_MapNode)() {} - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)(const Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)& aHandle) : Handle(TCollection_MapNode)(aHandle) - { - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)(const SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) - { - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)& operator=(const Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)& operator=(const SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString* operator->() - { - return (SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString *)ControlAccess(); - } - - SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString* operator->() const - { - return (SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString *)ControlAccess(); - } - - Standard_EXPORT ~Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)(); - - Standard_EXPORT static const Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx b/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx deleted file mode 100644 index b0a9a8e6a..000000000 --- a/src/SALOMEDSImpl/Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx +++ /dev/null @@ -1,101 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx -// Author : Sergey RUIN -// Module : SALOME - -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#define _Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile - -#ifndef _Standard_Macro_HeaderFile -#include -#endif -#ifndef _Standard_HeaderFile -#include -#endif - -#ifndef _Handle_TCollection_MapNode_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle_Standard_Type; -class Handle(TCollection_MapNode); -class SALOMEDSImpl_DataMapNodeOfDataMapStringLabel; -Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel); - -class Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) : public Handle(TCollection_MapNode) { - public: - inline void* operator new(size_t,void* anAddress) - { - return anAddress; - } - inline void* operator new(size_t size) - { - return Standard::Allocate(size); - } - inline void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } -// inline void operator delete(void *anAddress, size_t size) -// { -// if (anAddress) Standard::Free((Standard_Address&)anAddress,size); -// } - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)():Handle(TCollection_MapNode)() {} - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)(const Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)& aHandle) : Handle(TCollection_MapNode)(aHandle) - { - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)(const SALOMEDSImpl_DataMapNodeOfDataMapStringLabel* anItem) : Handle(TCollection_MapNode)((TCollection_MapNode *)anItem) - { - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)& operator=(const Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)& aHandle) - { - Assign(aHandle.Access()); - return *this; - } - - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)& operator=(const SALOMEDSImpl_DataMapNodeOfDataMapStringLabel* anItem) - { - Assign((Standard_Transient *)anItem); - return *this; - } - - SALOMEDSImpl_DataMapNodeOfDataMapStringLabel* operator->() - { - return (SALOMEDSImpl_DataMapNodeOfDataMapStringLabel *)ControlAccess(); - } - - SALOMEDSImpl_DataMapNodeOfDataMapStringLabel* operator->() const - { - return (SALOMEDSImpl_DataMapNodeOfDataMapStringLabel *)ControlAccess(); - } - - Standard_EXPORT ~Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)(); - - Standard_EXPORT static const Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) DownCast(const Handle(Standard_Transient)& AnObject); -}; -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString.hxx deleted file mode 100644 index 3554c2a1d..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString.hxx +++ /dev/null @@ -1,95 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString.hxx -// Author : Sergey Ruin -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_HeaderFile -#define _SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_HeaderFile - -#ifndef _TCollection_BasicMapIterator_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#include -#endif -class Standard_NoSuchObject; -class TCollection_ExtendedString; -class TColStd_MapIntegerHasher; -class SALOMEDSImpl_DataMapOfIntegerString; -class SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString : public TCollection_BasicMapIterator { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString(); -Standard_EXPORT SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString(const SALOMEDSImpl_DataMapOfIntegerString& aMap); -Standard_EXPORT void Initialize(const SALOMEDSImpl_DataMapOfIntegerString& aMap) ; -Standard_EXPORT const Standard_Real& Key() const; -Standard_EXPORT const TCollection_ExtendedString& Value() const; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_0.cxx deleted file mode 100644 index e5581a721..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_0.cxx +++ /dev/null @@ -1,45 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_0.cxx -// Author : Sergey Ruin -// Module : SALOME - -#include - -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TColStd_MapIntegerHasher_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapOfIntegerString_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#include -#endif - - -#define TheKey Standard_Real -#define TheKey_hxx -#define TheItem TCollection_ExtendedString -#define TheItem_hxx -#define Hasher TColStd_MapIntegerHasher -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapOfIntegerString -#define TCollection_DataMap_hxx -#include - diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx deleted file mode 100644 index b95db21e9..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx +++ /dev/null @@ -1,113 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx -// Author : Sergey RUIN -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_HeaderFile -#define _SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_HeaderFile - -#ifndef _TCollection_BasicMapIterator_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#include -#endif -class Standard_NoSuchObject; -class TCollection_ExtendedString; -class TDF_Label; -class SALOMEDSImpl_DataMapStringLabel; -class SALOMEDSImpl_DataMapNodeOfDataMapStringLabel; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel : public TCollection_BasicMapIterator { - -public: - - inline void* operator new(size_t,void* anAddress) - { - return anAddress; - } - inline void* operator new(size_t size) - { - return Standard::Allocate(size); - } - inline void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } -// inline void operator delete(void *anAddress, size_t size) -// { -// if (anAddress) Standard::Free((Standard_Address&)anAddress,size); -// } - // Methods PUBLIC - // -Standard_EXPORT SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel(); -Standard_EXPORT SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel(const SALOMEDSImpl_DataMapStringLabel& aMap); -Standard_EXPORT void Initialize(const SALOMEDSImpl_DataMapStringLabel& aMap) ; -Standard_EXPORT const TCollection_ExtendedString& Key() const; -Standard_EXPORT const TDF_Label& Value() const; - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // - - -}; - - - - - -// other inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_0.cxx deleted file mode 100644 index 1f4520f9d..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_0.cxx +++ /dev/null @@ -1,63 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_0.cxx -// Author : Sergey RUIN -// Module : SALOME - -using namespace std; -#include "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" - -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TDF_Label_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapStringLabel.hxx" -#endif -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#endif - - -#define TheKey TCollection_ExtendedString -#define TheKey_hxx -#define TheItem TDF_Label -#define TheItem_hxx -#define Hasher TCollection_ExtendedString -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_hxx "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel -#define TCollection_DataMapIterator_hxx "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapStringLabel -#define TCollection_DataMap_hxx "SALOMEDSImpl_DataMapStringLabel.hxx" -#include - diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx deleted file mode 100644 index f892b9a57..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx +++ /dev/null @@ -1,132 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString.hxx -// Author : Sergey Ruin -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#define _SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#include -#endif - -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TCollection_MapNode_HeaderFile -#include -#endif -#ifndef _TCollection_MapNodePtr_HeaderFile -#include -#endif -class TCollection_ExtendedString; -class TColStd_MapIntegerHasher; -class SALOMEDSImpl_DataMapOfIntegerString; -class SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString; - - -class SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString : public TCollection_MapNode { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString(const Standard_Real& K,const TCollection_ExtendedString& I,const TCollection_MapNodePtr& n); - Standard_Real& Key() const; - TCollection_ExtendedString& Value() const; -Standard_EXPORT ~SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -Standard_Real myKey; -TCollection_ExtendedString myValue; - - -}; - -#define TheKey Standard_Real -#define TheKey_hxx -#define TheItem TCollection_ExtendedString -#define TheItem_hxx -#define Hasher TColStd_MapIntegerHasher -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapOfIntegerString -#define TCollection_DataMap_hxx - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_DataMapNode -#undef TCollection_DataMapNode_hxx -#undef TCollection_DataMapIterator -#undef TCollection_DataMapIterator_hxx -#undef Handle_TCollection_DataMapNode -#undef TCollection_DataMapNode_Type_ -#undef TCollection_DataMap -#undef TCollection_DataMap_hxx - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_0.cxx deleted file mode 100644 index b887a2ab7..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_0.cxx +++ /dev/null @@ -1,94 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_0.cxx -// Author : Sergey Ruin -// Module : SALOME - -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TColStd_MapIntegerHasher_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapOfIntegerString_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_HeaderFile -#include -#endif -SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString::~SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString() {} - - - -Standard_EXPORT Handle_Standard_Type& SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode); - static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString", - sizeof(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString))) { - _anOtherObject = Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)((Handle(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString::DynamicType() const -{ - return STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) ; -} -Standard_Boolean SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString) == AType || TCollection_MapNode::IsKind(AType)); -} -Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString::~Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString() {} -#define TheKey Standard_Real -#define TheKey_hxx -#define TheItem TCollection_ExtendedString -#define TheItem_hxx -#define Hasher TColStd_MapIntegerHasher -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapOfIntegerString -#define TCollection_DataMap_hxx -#include - diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx deleted file mode 100644 index 24c764188..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx +++ /dev/null @@ -1,153 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx -// Author : Sergey RUIN -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#define _SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#include -#endif - -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TDF_Label_HeaderFile -#include -#endif -#ifndef _TCollection_MapNode_HeaderFile -#include -#endif -#ifndef _TCollection_MapNodePtr_HeaderFile -#include -#endif -class TCollection_ExtendedString; -class TDF_Label; -class SALOMEDSImpl_DataMapStringLabel; -class SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel; - - -class SALOMEDSImpl_DataMapNodeOfDataMapStringLabel : public TCollection_MapNode { - -public: - - inline void* operator new(size_t,void* anAddress) - { - return anAddress; - } - inline void* operator new(size_t size) - { - return Standard::Allocate(size); - } - inline void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } -// inline void operator delete(void *anAddress, size_t size) -// { -// if (anAddress) Standard::Free((Standard_Address&)anAddress,size); -// } - // Methods PUBLIC - // -Standard_EXPORT inline SALOMEDSImpl_DataMapNodeOfDataMapStringLabel(const TCollection_ExtendedString& K,const TDF_Label& I,const TCollection_MapNodePtr& n); -Standard_EXPORT inline TCollection_ExtendedString& Key() const; -Standard_EXPORT inline TDF_Label& Value() const; -Standard_EXPORT ~SALOMEDSImpl_DataMapNodeOfDataMapStringLabel(); - - - - - // Type management - // - Standard_EXPORT friend Handle_Standard_Type& SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_(); - Standard_EXPORT const Handle(Standard_Type)& DynamicType() const; - Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const; - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // - - - // Fields PRIVATE - // -TCollection_ExtendedString myKey; -TDF_Label myValue; - - -}; - -#define TheKey TCollection_ExtendedString -#define TheKey_hxx -#define TheItem TDF_Label -#define TheItem_hxx -#define Hasher TCollection_ExtendedString -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_hxx "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel -#define TCollection_DataMapIterator_hxx "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapStringLabel -#define TCollection_DataMap_hxx "SALOMEDSImpl_DataMapStringLabel.hxx" - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_DataMapNode -#undef TCollection_DataMapNode_hxx -#undef TCollection_DataMapIterator -#undef TCollection_DataMapIterator_hxx -#undef Handle_TCollection_DataMapNode -#undef TCollection_DataMapNode_Type_ -#undef TCollection_DataMap -#undef TCollection_DataMap_hxx - - -// other inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_0.cxx deleted file mode 100644 index 102d17f15..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_0.cxx +++ /dev/null @@ -1,112 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_0.cxx -// Author : Sergey RUIN -// Module : SALOME - -using namespace std; -#include "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TDF_Label_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapStringLabel.hxx" -#endif -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#endif -SALOMEDSImpl_DataMapNodeOfDataMapStringLabel::~SALOMEDSImpl_DataMapNodeOfDataMapStringLabel() {} - - - -Standard_EXPORT Handle_Standard_Type& SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_() -{ - - static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); - if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode); - static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); - if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); - if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient); - - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("SALOMEDSImpl_DataMapNodeOfDataMapStringLabel", - sizeof(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - - -// DownCast method -// allow safe downcasting -// -const Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel))) { - _anOtherObject = Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)((Handle(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel)&)AnObject); - } - } - - return _anOtherObject ; -} -const Handle(Standard_Type)& SALOMEDSImpl_DataMapNodeOfDataMapStringLabel::DynamicType() const -{ - return STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) ; -} -Standard_Boolean SALOMEDSImpl_DataMapNodeOfDataMapStringLabel::IsKind(const Handle(Standard_Type)& AType) const -{ - return (STANDARD_TYPE(SALOMEDSImpl_DataMapNodeOfDataMapStringLabel) == AType || TCollection_MapNode::IsKind(AType)); -} -Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel::~Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel() {} -#define TheKey TCollection_ExtendedString -#define TheKey_hxx -#define TheItem TDF_Label -#define TheItem_hxx -#define Hasher TCollection_ExtendedString -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_hxx "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel -#define TCollection_DataMapIterator_hxx "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapStringLabel -#define TCollection_DataMap_hxx "SALOMEDSImpl_DataMapStringLabel.hxx" -#include - diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString.hxx deleted file mode 100644 index f8cd820f3..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString.hxx +++ /dev/null @@ -1,127 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapOfIntegerString.hxx -// Author : Sergey Ruin -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapOfIntegerString_HeaderFile -#define _SALOMEDSImpl_DataMapOfIntegerString_HeaderFile - -#ifndef _TCollection_BasicMap_HeaderFile -#include -#endif -#ifndef _Standard_Real_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -class Standard_DomainError; -class Standard_NoSuchObject; -class TCollection_ExtendedString; -class TColStd_MapIntegerHasher; -class SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString; -class SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SALOMEDSImpl_DataMapOfIntegerString : public TCollection_BasicMap { - -public: - - void* operator new(size_t,void* anAddress) - { - return anAddress; - } - void* operator new(size_t size) - { - return Standard::Allocate(size); - } - void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } - // Methods PUBLIC - // -Standard_EXPORT SALOMEDSImpl_DataMapOfIntegerString(const Standard_Integer NbBuckets = 1); -Standard_EXPORT SALOMEDSImpl_DataMapOfIntegerString& Assign(const SALOMEDSImpl_DataMapOfIntegerString& Other) ; - SALOMEDSImpl_DataMapOfIntegerString& operator =(const SALOMEDSImpl_DataMapOfIntegerString& Other) -{ - return Assign(Other); -} - -Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; -Standard_EXPORT void Clear() ; -~SALOMEDSImpl_DataMapOfIntegerString() -{ - Clear(); -} - -Standard_EXPORT Standard_Boolean Bind(const Standard_Real& K,const TCollection_ExtendedString& I) ; -Standard_EXPORT Standard_Boolean IsBound(const Standard_Real& K) const; -Standard_EXPORT Standard_Boolean UnBind(const Standard_Real& K) ; -Standard_EXPORT const TCollection_ExtendedString& Find(const Standard_Real& K) const; - const TCollection_ExtendedString& operator()(const Standard_Real& K) const -{ - return Find(K); -} - -Standard_EXPORT TCollection_ExtendedString& ChangeFind(const Standard_Real& K) ; - TCollection_ExtendedString& operator()(const Standard_Real& K) -{ - return ChangeFind(K); -} - - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT SALOMEDSImpl_DataMapOfIntegerString(const SALOMEDSImpl_DataMapOfIntegerString& Other); - - - // Fields PRIVATE - // - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString_0.cxx deleted file mode 100644 index 38fea18b1..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapOfIntegerString_0.cxx +++ /dev/null @@ -1,48 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 CEA/DEN, EDF R&D -// -// -// -// File : SALOMEDSImpl_DataMapOfIntegerString_0.cxx -// Author : Sergey Ruin -// Module : SALOME - -#include - -#ifndef _Standard_DomainError_HeaderFile -#include -#endif -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TColStd_MapIntegerHasher_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString_HeaderFile -#include -#endif - - -#define TheKey Standard_Real -#define TheKey_hxx -#define TheItem TCollection_ExtendedString -#define TheItem_hxx -#define Hasher TColStd_MapIntegerHasher -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapOfIntegerString -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapOfIntegerString_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapOfIntegerString -#define TCollection_DataMap_hxx -#include - diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel.hxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel.hxx deleted file mode 100644 index 6c84e3786..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel.hxx +++ /dev/null @@ -1,145 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SALOMEDSImpl_DataMapStringLabel.hxx -// Author : Sergey RUIN -// Module : SALOME - -#ifndef _SALOMEDSImpl_DataMapStringLabel_HeaderFile -#define _SALOMEDSImpl_DataMapStringLabel_HeaderFile - -#ifndef _TCollection_BasicMap_HeaderFile -#include -#endif -#ifndef _Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif -class Standard_DomainError; -class Standard_NoSuchObject; -class TCollection_ExtendedString; -class TDF_Label; -class SALOMEDSImpl_DataMapNodeOfDataMapStringLabel; -class SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel; - - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -class SALOMEDSImpl_DataMapStringLabel : public TCollection_BasicMap { - -public: - - inline void* operator new(size_t,void* anAddress) - { - return anAddress; - } - inline void* operator new(size_t size) - { - return Standard::Allocate(size); - } - inline void operator delete(void *anAddress) - { - if (anAddress) Standard::Free((Standard_Address&)anAddress); - } -// inline void operator delete(void *anAddress, size_t size) -// { -// if (anAddress) Standard::Free((Standard_Address&)anAddress,size); -// } - // Methods PUBLIC - // -Standard_EXPORT SALOMEDSImpl_DataMapStringLabel(const Standard_Integer NbBuckets = 1); -Standard_EXPORT SALOMEDSImpl_DataMapStringLabel& Assign(const SALOMEDSImpl_DataMapStringLabel& Other) ; - SALOMEDSImpl_DataMapStringLabel& operator =(const SALOMEDSImpl_DataMapStringLabel& Other) -{ - return Assign(Other); -} - -Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; -Standard_EXPORT void Clear() ; -~SALOMEDSImpl_DataMapStringLabel() -{ - Clear(); -} - -Standard_EXPORT Standard_Boolean Bind(const TCollection_ExtendedString& K,const TDF_Label& I) ; -Standard_EXPORT Standard_Boolean IsBound(const TCollection_ExtendedString& K) const; -Standard_EXPORT Standard_Boolean UnBind(const TCollection_ExtendedString& K) ; -Standard_EXPORT const TDF_Label& Find(const TCollection_ExtendedString& K) const; - const TDF_Label& operator()(const TCollection_ExtendedString& K) const -{ - return Find(K); -} - -Standard_EXPORT TDF_Label& ChangeFind(const TCollection_ExtendedString& K) ; - TDF_Label& operator()(const TCollection_ExtendedString& K) -{ - return ChangeFind(K); -} - - - - - - -protected: - - // Methods PROTECTED - // - - - // Fields PROTECTED - // - - -private: - - // Methods PRIVATE - // -Standard_EXPORT SALOMEDSImpl_DataMapStringLabel(const SALOMEDSImpl_DataMapStringLabel& Other); - - - // Fields PRIVATE - // - - -}; - - - - - -// other inline functions and methods (like "C++: function call" methods) -// - - -#endif diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel_0.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel_0.cxx deleted file mode 100644 index 714d0aeec..000000000 --- a/src/SALOMEDSImpl/SALOMEDSImpl_DataMapStringLabel_0.cxx +++ /dev/null @@ -1,67 +0,0 @@ -// SALOME SALOMEDSImpl : data structure of SALOME and sources of Salome data server -// -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -// -// -// -// File : SALOMEDSImpl_DataMapStringLabel_0.cxx -// Author : Sergey RUIN -// Module : SALOME - - -using namespace std; -#include "SALOMEDSImpl_DataMapStringLabel.hxx" - -#ifndef _Standard_DomainError_HeaderFile -#include -#endif -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TCollection_ExtendedString_HeaderFile -#include -#endif -#ifndef _TDF_Label_HeaderFile -#include -#endif -#ifndef _SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#endif -#ifndef _SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel_HeaderFile -#include "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#endif - - -#define TheKey TCollection_ExtendedString -#define TheKey_hxx -#define TheItem TDF_Label -#define TheItem_hxx -#define Hasher TCollection_ExtendedString -#define Hasher_hxx -#define TCollection_DataMapNode SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_hxx "SALOMEDSImpl_DataMapNodeOfDataMapStringLabel.hxx" -#define TCollection_DataMapIterator SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel -#define TCollection_DataMapIterator_hxx "SALOMEDSImpl_DataMapIteratorOfDataMapStringLabel.hxx" -#define Handle_TCollection_DataMapNode Handle_SALOMEDSImpl_DataMapNodeOfDataMapStringLabel -#define TCollection_DataMapNode_Type_() SALOMEDSImpl_DataMapNodeOfDataMapStringLabel_Type_() -#define TCollection_DataMap SALOMEDSImpl_DataMapStringLabel -#define TCollection_DataMap_hxx "SALOMEDSImpl_DataMapStringLabel.hxx" -#include -