mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024710: Avoid including Handle_Class.hxx headers except where necessary
Includes of Handle*.hxx headers replaced by include of corresponding class (where possible without redesign of the classes). Minor correction against compiler warning (vc10 64-bit) in BOPAlgo Remove double header inclusions Correction of minor mistake
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
Handle_Poly_CoherentTriangulation.hxx
|
||||
Poly_CoherentTriangulation.hxx
|
||||
Poly_CoherentTriangle.hxx
|
||||
Poly_CoherentTriPtr.hxx
|
||||
|
@@ -1,27 +0,0 @@
|
||||
// Created on: 2008-04-23
|
||||
// Created by: Alexander GRIGORIEV
|
||||
// Copyright (c) 2008-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 Handle_Poly_CoherentTriangulation_HeaderFile
|
||||
#define Handle_Poly_CoherentTriangulation_HeaderFile
|
||||
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
class Poly_CoherentTriangulation;
|
||||
|
||||
//! Definition of HANDLE object using Standard_DefineHandle.hxx
|
||||
DEFINE_STANDARD_HANDLE (Poly_CoherentTriangulation, Standard_Transient)
|
||||
|
||||
#endif
|
@@ -16,7 +16,7 @@
|
||||
#ifndef Poly_CoherentTriangulation_HeaderFile
|
||||
#define Poly_CoherentTriangulation_HeaderFile
|
||||
|
||||
#include <Handle_Poly_Triangulation.hxx>
|
||||
#include <Poly_Triangulation.hxx>
|
||||
#include <Poly_CoherentNode.hxx>
|
||||
#include <Poly_CoherentTriangle.hxx>
|
||||
#include <Poly_CoherentLink.hxx>
|
||||
@@ -33,6 +33,11 @@ typedef NCollection_Vector<Poly_CoherentNode>::Iterator
|
||||
typedef NCollection_Vector<Poly_CoherentLink>::Iterator
|
||||
Poly_BaseIteratorOfCoherentLink;
|
||||
|
||||
//! Definition of HANDLE object using Standard_DefineHandle.hxx
|
||||
#include <Standard_DefineHandle.hxx>
|
||||
class Poly_CoherentTriangulation;
|
||||
DEFINE_STANDARD_HANDLE (Poly_CoherentTriangulation, Standard_Transient)
|
||||
|
||||
/**
|
||||
* Triangulation structure that allows to:
|
||||
* <ul>
|
||||
@@ -409,6 +414,6 @@ DEFINE_STANDARD_RTTI (Poly_CoherentTriangulation)
|
||||
friend class IteratorOfLink;
|
||||
};
|
||||
|
||||
#include <Handle_Poly_CoherentTriangulation.hxx>
|
||||
#include <Poly_CoherentTriangulation.hxx>
|
||||
|
||||
#endif
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#define Poly_ListOfTriangulation_HeaderFile
|
||||
|
||||
#include <NCollection_List.hxx>
|
||||
#include <Handle_Poly_Triangulation.hxx>
|
||||
#include <Poly_Triangulation.hxx>
|
||||
|
||||
/**
|
||||
* List of Poly_Triangulation instances.
|
||||
|
Reference in New Issue
Block a user