mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
4
src/XSDRAWSTLVRML/FILES
Normal file
4
src/XSDRAWSTLVRML/FILES
Normal file
@@ -0,0 +1,4 @@
|
||||
XSDRAWSTLVRML_ElemNodesMap.hxx
|
||||
XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap.hxx
|
||||
XSDRAWSTLVRML_CoordsMap.hxx
|
||||
XSDRAWSTLVRML_DataMapIteratorOfCoordsMap.hxx
|
@@ -27,11 +27,13 @@ is
|
||||
|
||||
class DrawableMesh;
|
||||
|
||||
class ElemNodesMap instantiates DataMap from TCollection
|
||||
( Integer from Standard, DataMapOfIntegerInteger from TColStd, MapIntegerHasher from TColStd );
|
||||
imported ElemNodesMap;
|
||||
|
||||
class CoordsMap instantiates DataMap from TCollection
|
||||
( Integer from Standard, DataMapOfIntegerReal from TColStd, MapIntegerHasher from TColStd );
|
||||
imported DataMapIteratorOfElemNodesMap;
|
||||
|
||||
imported CoordsMap;
|
||||
|
||||
imported DataMapIteratorOfCoordsMap;
|
||||
|
||||
InitCommands (theCommands : in out Interpretor from Draw);
|
||||
---Purpose : Inits commands for writing to STL and VRML formats
|
||||
|
28
src/XSDRAWSTLVRML/XSDRAWSTLVRML_CoordsMap.hxx
Normal file
28
src/XSDRAWSTLVRML/XSDRAWSTLVRML_CoordsMap.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-05-30
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 XSDRAWSTLVRML_CoordsMap_HeaderFile
|
||||
#define XSDRAWSTLVRML_CoordsMap_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <TColStd_DataMapOfIntegerReal.hxx>
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_Integer,TColStd_DataMapOfIntegerReal,TColStd_MapIntegerHasher> XSDRAWSTLVRML_CoordsMap;
|
||||
typedef NCollection_DataMap<Standard_Integer,TColStd_DataMapOfIntegerReal,TColStd_MapIntegerHasher>::Iterator XSDRAWSTLVRML_DataMapIteratorOfCoordsMap;
|
||||
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef XSDRAWSTLVRML_DataMapIteratorOfCoordsMap_HeaderFile
|
||||
#define XSDRAWSTLVRML_DataMapIteratorOfCoordsMap_HeaderFile
|
||||
|
||||
#include <XSDRAWSTLVRML_CoordsMap.hxx>
|
||||
|
||||
#endif
|
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
#ifndef XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap_HeaderFile
|
||||
#define XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap_HeaderFile
|
||||
|
||||
#include <XSDRAWSTLVRML_ElemNodesMap.hxx>
|
||||
|
||||
#endif
|
28
src/XSDRAWSTLVRML/XSDRAWSTLVRML_ElemNodesMap.hxx
Normal file
28
src/XSDRAWSTLVRML/XSDRAWSTLVRML_ElemNodesMap.hxx
Normal file
@@ -0,0 +1,28 @@
|
||||
// Created on: 2000-05-30
|
||||
// Created by: Sergey MOZOKHIN
|
||||
// Copyright (c) 2000-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 XSDRAWSTLVRML_ElemNodesMap_HeaderFile
|
||||
#define XSDRAWSTLVRML_ElemNodesMap_HeaderFile
|
||||
|
||||
#include <Standard_Integer.hxx>
|
||||
#include <TColStd_DataMapOfIntegerInteger.hxx>
|
||||
#include <TColStd_MapIntegerHasher.hxx>
|
||||
#include <NCollection_DataMap.hxx>
|
||||
|
||||
typedef NCollection_DataMap<Standard_Integer,TColStd_DataMapOfIntegerInteger,TColStd_MapIntegerHasher> XSDRAWSTLVRML_ElemNodesMap;
|
||||
typedef NCollection_DataMap<Standard_Integer,TColStd_DataMapOfIntegerInteger,TColStd_MapIntegerHasher>::Iterator XSDRAWSTLVRML_DataMapIteratorOfElemNodesMap;
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user