1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024750: Replace instantiations of TCollection generic classes by NCollection templates -- automatic

Automatic upgrade of code by command "occt_upgrade . -tcollection"
This commit is contained in:
abv
2015-06-28 15:16:42 +03:00
parent 4f953fa991
commit df8d39700d
1424 changed files with 28413 additions and 2013 deletions

View File

@@ -3,3 +3,37 @@ TDF_LabelNode.cxx
TDF_AttributeIterator.hxx
TDF_AttributeIterator.cxx
TDF_HAllocator.hxx
TDF_IDList.hxx
TDF_ListIteratorOfIDList.hxx
TDF_AttributeList.hxx
TDF_ListIteratorOfAttributeList.hxx
TDF_LabelList.hxx
TDF_ListIteratorOfLabelList.hxx
TDF_AttributeDeltaList.hxx
TDF_ListIteratorOfAttributeDeltaList.hxx
TDF_DeltaList.hxx
TDF_ListIteratorOfDeltaList.hxx
TDF_AttributeSequence.hxx
TDF_LabelSequence.hxx
TDF_AttributeArray1.hxx
TDF_HAttributeArray1.hxx
TDF_IDMap.hxx
TDF_MapIteratorOfIDMap.hxx
TDF_AttributeMap.hxx
TDF_MapIteratorOfAttributeMap.hxx
TDF_AttributeDataMap.hxx
TDF_DataMapIteratorOfAttributeDataMap.hxx
TDF_AttributeDoubleMap.hxx
TDF_DoubleMapIteratorOfAttributeDoubleMap.hxx
TDF_AttributeIndexedMap.hxx
TDF_LabelMap.hxx
TDF_MapIteratorOfLabelMap.hxx
TDF_LabelDataMap.hxx
TDF_DataMapIteratorOfLabelDataMap.hxx
TDF_LabelDoubleMap.hxx
TDF_DoubleMapIteratorOfLabelDoubleMap.hxx
TDF_LabelIndexedMap.hxx
TDF_LabelIntegerMap.hxx
TDF_DataMapIteratorOfLabelIntegerMap.hxx
TDF_GUIDProgIDMap.hxx
TDF_DoubleMapIteratorOfGUIDProgIDMap.hxx

View File

@@ -133,99 +133,87 @@ is
-- Lists
-- -----
class IDList instantiates List from TCollection
(GUID from Standard);
imported IDList;
class AttributeList instantiates List from TCollection
(Attribute from TDF);
imported ListIteratorOfIDList;
class LabelList instantiates List from TCollection
(Label from TDF);
imported AttributeList;
class AttributeDeltaList instantiates List from TCollection
(AttributeDelta from TDF);
imported ListIteratorOfAttributeList;
class DeltaList instantiates List from TCollection
(Delta from TDF);
imported LabelList;
imported ListIteratorOfLabelList;
imported AttributeDeltaList;
imported ListIteratorOfAttributeDeltaList;
imported DeltaList;
imported ListIteratorOfDeltaList;
-- Sequences
-- ---------
class AttributeSequence instantiates Sequence from TCollection
(Attribute from TDF);
imported AttributeSequence;
class LabelSequence instantiates Sequence from TCollection
(Label from TDF);
imported LabelSequence;
-- Arrays
-- ------
class AttributeArray1 instantiates Array1 from TCollection
(Attribute from TDF);
imported AttributeArray1;
class HAttributeArray1 instantiates HArray1 from TCollection
(Attribute from TDF,
AttributeArray1 from TDF);
imported transient class HAttributeArray1;
-- Maps
-- ----
class IDMap instantiates Map from TCollection
(GUID from Standard,
GUID from Standard);
imported IDMap;
class AttributeMap instantiates Map from TCollection
(Attribute from TDF,
MapTransientHasher from TColStd);
imported MapIteratorOfIDMap;
class AttributeDataMap instantiates DataMap from TCollection
(Attribute from TDF,
Attribute from TDF,
MapTransientHasher from TColStd);
imported AttributeMap;
class AttributeDoubleMap instantiates DoubleMap from TCollection
(Attribute from TDF,
Attribute from TDF,
MapTransientHasher from TColStd,
MapTransientHasher from TColStd);
imported MapIteratorOfAttributeMap;
class AttributeIndexedMap instantiates IndexedMap from TCollection
(Attribute from TDF,
MapTransientHasher from TColStd);
imported AttributeDataMap;
imported DataMapIteratorOfAttributeDataMap;
imported AttributeDoubleMap;
imported DoubleMapIteratorOfAttributeDoubleMap;
imported AttributeIndexedMap;
class LabelMap instantiates Map from TCollection
(Label from TDF,
LabelMapHasher from TDF);
imported LabelMap;
class LabelDataMap instantiates DataMap from TCollection
(Label from TDF,
Label from TDF,
LabelMapHasher from TDF);
class LabelDoubleMap instantiates DoubleMap from TCollection
(Label from TDF,
Label from TDF,
LabelMapHasher from TDF,
LabelMapHasher from TDF);
imported MapIteratorOfLabelMap;
class LabelIndexedMap instantiates IndexedMap from TCollection
(Label from TDF,
LabelMapHasher from TDF);
imported LabelDataMap;
class LabelIntegerMap instantiates DataMap from TCollection
(Label from TDF,
Integer from Standard,
LabelMapHasher from TDF);
imported DataMapIteratorOfLabelDataMap;
class GUIDProgIDMap instantiates DoubleMap from TCollection
(GUID from Standard,
ExtendedString from TCollection,
GUID from Standard,
ExtendedString from TCollection);
imported LabelDoubleMap;
imported DoubleMapIteratorOfLabelDoubleMap;
imported LabelIndexedMap;
imported LabelIntegerMap;
imported DataMapIteratorOfLabelIntegerMap;
imported GUIDProgIDMap;
imported DoubleMapIteratorOfGUIDProgIDMap;
---Category: Package methods
-- ==============================================================

View File

@@ -0,0 +1,25 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeArray1_HeaderFile
#define TDF_AttributeArray1_HeaderFile
#include <TDF_Attribute.hxx>
#include <NCollection_Array1.hxx>
typedef NCollection_Array1<Handle(TDF_Attribute)> TDF_AttributeArray1;
#endif

View File

@@ -0,0 +1,28 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeDataMap_HeaderFile
#define TDF_AttributeDataMap_HeaderFile
#include <TDF_Attribute.hxx>
#include <TDF_Attribute.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<Handle(TDF_Attribute),Handle(TDF_Attribute),TColStd_MapTransientHasher> TDF_AttributeDataMap;
typedef NCollection_DataMap<Handle(TDF_Attribute),Handle(TDF_Attribute),TColStd_MapTransientHasher>::Iterator TDF_DataMapIteratorOfAttributeDataMap;
#endif

View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeDeltaList_HeaderFile
#define TDF_AttributeDeltaList_HeaderFile
#include <TDF_AttributeDelta.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(TDF_AttributeDelta)> TDF_AttributeDeltaList;
typedef NCollection_List<Handle(TDF_AttributeDelta)>::Iterator TDF_ListIteratorOfAttributeDeltaList;
#endif

View File

@@ -0,0 +1,29 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeDoubleMap_HeaderFile
#define TDF_AttributeDoubleMap_HeaderFile
#include <TDF_Attribute.hxx>
#include <TDF_Attribute.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_DoubleMap.hxx>
typedef NCollection_DoubleMap<Handle(TDF_Attribute),Handle(TDF_Attribute),TColStd_MapTransientHasher,TColStd_MapTransientHasher> TDF_AttributeDoubleMap;
typedef NCollection_DoubleMap<Handle(TDF_Attribute),Handle(TDF_Attribute),TColStd_MapTransientHasher,TColStd_MapTransientHasher>::Iterator TDF_DoubleMapIteratorOfAttributeDoubleMap;
#endif

View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeIndexedMap_HeaderFile
#define TDF_AttributeIndexedMap_HeaderFile
#include <TDF_Attribute.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_IndexedMap.hxx>
typedef NCollection_IndexedMap<Handle(TDF_Attribute),TColStd_MapTransientHasher> TDF_AttributeIndexedMap;
#endif

View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeList_HeaderFile
#define TDF_AttributeList_HeaderFile
#include <TDF_Attribute.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(TDF_Attribute)> TDF_AttributeList;
typedef NCollection_List<Handle(TDF_Attribute)>::Iterator TDF_ListIteratorOfAttributeList;
#endif

View File

@@ -0,0 +1,27 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeMap_HeaderFile
#define TDF_AttributeMap_HeaderFile
#include <TDF_Attribute.hxx>
#include <TColStd_MapTransientHasher.hxx>
#include <NCollection_Map.hxx>
typedef NCollection_Map<Handle(TDF_Attribute),TColStd_MapTransientHasher> TDF_AttributeMap;
typedef NCollection_Map<Handle(TDF_Attribute),TColStd_MapTransientHasher>::Iterator TDF_MapIteratorOfAttributeMap;
#endif

View File

@@ -0,0 +1,25 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_AttributeSequence_HeaderFile
#define TDF_AttributeSequence_HeaderFile
#include <TDF_Attribute.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<Handle(TDF_Attribute)> TDF_AttributeSequence;
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DataMapIteratorOfAttributeDataMap_HeaderFile
#define TDF_DataMapIteratorOfAttributeDataMap_HeaderFile
#include <TDF_AttributeDataMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DataMapIteratorOfLabelDataMap_HeaderFile
#define TDF_DataMapIteratorOfLabelDataMap_HeaderFile
#include <TDF_LabelDataMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DataMapIteratorOfLabelIntegerMap_HeaderFile
#define TDF_DataMapIteratorOfLabelIntegerMap_HeaderFile
#include <TDF_LabelIntegerMap.hxx>
#endif

26
src/TDF/TDF_DeltaList.hxx Normal file
View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_DeltaList_HeaderFile
#define TDF_DeltaList_HeaderFile
#include <TDF_Delta.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Handle(TDF_Delta)> TDF_DeltaList;
typedef NCollection_List<Handle(TDF_Delta)>::Iterator TDF_ListIteratorOfDeltaList;
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DoubleMapIteratorOfAttributeDoubleMap_HeaderFile
#define TDF_DoubleMapIteratorOfAttributeDoubleMap_HeaderFile
#include <TDF_AttributeDoubleMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DoubleMapIteratorOfGUIDProgIDMap_HeaderFile
#define TDF_DoubleMapIteratorOfGUIDProgIDMap_HeaderFile
#include <TDF_GUIDProgIDMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_DoubleMapIteratorOfLabelDoubleMap_HeaderFile
#define TDF_DoubleMapIteratorOfLabelDoubleMap_HeaderFile
#include <TDF_LabelDoubleMap.hxx>
#endif

View File

@@ -0,0 +1,29 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_GUIDProgIDMap_HeaderFile
#define TDF_GUIDProgIDMap_HeaderFile
#include <Standard_GUID.hxx>
#include <TCollection_ExtendedString.hxx>
#include <Standard_GUID.hxx>
#include <TCollection_ExtendedString.hxx>
#include <NCollection_DoubleMap.hxx>
typedef NCollection_DoubleMap<Standard_GUID,TCollection_ExtendedString,Standard_GUID,TCollection_ExtendedString> TDF_GUIDProgIDMap;
typedef NCollection_DoubleMap<Standard_GUID,TCollection_ExtendedString,Standard_GUID,TCollection_ExtendedString>::Iterator TDF_DoubleMapIteratorOfGUIDProgIDMap;
#endif

View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_HAttributeArray1_HeaderFile
#define TDF_HAttributeArray1_HeaderFile
#include <TDF_Attribute.hxx>
#include <TDF_AttributeArray1.hxx>
#include <NCollection_DefineHArray1.hxx>
DEFINE_HARRAY1(TDF_HAttributeArray1, TDF_AttributeArray1)
#endif

26
src/TDF/TDF_IDList.hxx Normal file
View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_IDList_HeaderFile
#define TDF_IDList_HeaderFile
#include <Standard_GUID.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<Standard_GUID> TDF_IDList;
typedef NCollection_List<Standard_GUID>::Iterator TDF_ListIteratorOfIDList;
#endif

27
src/TDF/TDF_IDMap.hxx Normal file
View File

@@ -0,0 +1,27 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_IDMap_HeaderFile
#define TDF_IDMap_HeaderFile
#include <Standard_GUID.hxx>
#include <Standard_GUID.hxx>
#include <NCollection_Map.hxx>
typedef NCollection_Map<Standard_GUID,Standard_GUID> TDF_IDMap;
typedef NCollection_Map<Standard_GUID,Standard_GUID>::Iterator TDF_MapIteratorOfIDMap;
#endif

View File

@@ -0,0 +1,28 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelDataMap_HeaderFile
#define TDF_LabelDataMap_HeaderFile
#include <TDF_Label.hxx>
#include <TDF_Label.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TDF_Label,TDF_Label,TDF_LabelMapHasher> TDF_LabelDataMap;
typedef NCollection_DataMap<TDF_Label,TDF_Label,TDF_LabelMapHasher>::Iterator TDF_DataMapIteratorOfLabelDataMap;
#endif

View File

@@ -0,0 +1,29 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelDoubleMap_HeaderFile
#define TDF_LabelDoubleMap_HeaderFile
#include <TDF_Label.hxx>
#include <TDF_Label.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <NCollection_DoubleMap.hxx>
typedef NCollection_DoubleMap<TDF_Label,TDF_Label,TDF_LabelMapHasher,TDF_LabelMapHasher> TDF_LabelDoubleMap;
typedef NCollection_DoubleMap<TDF_Label,TDF_Label,TDF_LabelMapHasher,TDF_LabelMapHasher>::Iterator TDF_DoubleMapIteratorOfLabelDoubleMap;
#endif

View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelIndexedMap_HeaderFile
#define TDF_LabelIndexedMap_HeaderFile
#include <TDF_Label.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <NCollection_IndexedMap.hxx>
typedef NCollection_IndexedMap<TDF_Label,TDF_LabelMapHasher> TDF_LabelIndexedMap;
#endif

View File

@@ -0,0 +1,28 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelIntegerMap_HeaderFile
#define TDF_LabelIntegerMap_HeaderFile
#include <TDF_Label.hxx>
#include <Standard_Integer.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <NCollection_DataMap.hxx>
typedef NCollection_DataMap<TDF_Label,Standard_Integer,TDF_LabelMapHasher> TDF_LabelIntegerMap;
typedef NCollection_DataMap<TDF_Label,Standard_Integer,TDF_LabelMapHasher>::Iterator TDF_DataMapIteratorOfLabelIntegerMap;
#endif

26
src/TDF/TDF_LabelList.hxx Normal file
View File

@@ -0,0 +1,26 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelList_HeaderFile
#define TDF_LabelList_HeaderFile
#include <TDF_Label.hxx>
#include <NCollection_List.hxx>
typedef NCollection_List<TDF_Label> TDF_LabelList;
typedef NCollection_List<TDF_Label>::Iterator TDF_ListIteratorOfLabelList;
#endif

27
src/TDF/TDF_LabelMap.hxx Normal file
View File

@@ -0,0 +1,27 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelMap_HeaderFile
#define TDF_LabelMap_HeaderFile
#include <TDF_Label.hxx>
#include <TDF_LabelMapHasher.hxx>
#include <NCollection_Map.hxx>
typedef NCollection_Map<TDF_Label,TDF_LabelMapHasher> TDF_LabelMap;
typedef NCollection_Map<TDF_Label,TDF_LabelMapHasher>::Iterator TDF_MapIteratorOfLabelMap;
#endif

View File

@@ -0,0 +1,25 @@
// Created by: DAUTRY Philippe
// Copyright (c) 1997-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef TDF_LabelSequence_HeaderFile
#define TDF_LabelSequence_HeaderFile
#include <TDF_Label.hxx>
#include <NCollection_Sequence.hxx>
typedef NCollection_Sequence<TDF_Label> TDF_LabelSequence;
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_ListIteratorOfAttributeDeltaList_HeaderFile
#define TDF_ListIteratorOfAttributeDeltaList_HeaderFile
#include <TDF_AttributeDeltaList.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_ListIteratorOfAttributeList_HeaderFile
#define TDF_ListIteratorOfAttributeList_HeaderFile
#include <TDF_AttributeList.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_ListIteratorOfDeltaList_HeaderFile
#define TDF_ListIteratorOfDeltaList_HeaderFile
#include <TDF_DeltaList.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_ListIteratorOfIDList_HeaderFile
#define TDF_ListIteratorOfIDList_HeaderFile
#include <TDF_IDList.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_ListIteratorOfLabelList_HeaderFile
#define TDF_ListIteratorOfLabelList_HeaderFile
#include <TDF_LabelList.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_MapIteratorOfAttributeMap_HeaderFile
#define TDF_MapIteratorOfAttributeMap_HeaderFile
#include <TDF_AttributeMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_MapIteratorOfIDMap_HeaderFile
#define TDF_MapIteratorOfIDMap_HeaderFile
#include <TDF_IDMap.hxx>
#endif

View File

@@ -0,0 +1,8 @@
#ifndef TDF_MapIteratorOfLabelMap_HeaderFile
#define TDF_MapIteratorOfLabelMap_HeaderFile
#include <TDF_LabelMap.hxx>
#endif