1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0024002: Overall code and build procedure refactoring -- automatic

Automatic upgrade of OCCT code by command "occt_upgrade . -nocdl":
- WOK-generated header files from inc and sources from drv are moved to src
- CDL files removed
- All packages are converted to nocdlpack
This commit is contained in:
abv
2015-07-12 07:42:38 +03:00
parent 543a996496
commit 42cf5bc1ca
15354 changed files with 623957 additions and 509844 deletions

5
src/StdFail/FILES Normal file
View File

@@ -0,0 +1,5 @@
StdFail_InfiniteSolutions.hxx
StdFail_NotDone.hxx
StdFail_Undefined.hxx
StdFail_UndefinedDerivative.hxx
StdFail_UndefinedValue.hxx

View File

@@ -1,33 +0,0 @@
-- Created on: 1992-05-07
-- Created by: Modelistation
-- Copyright (c) 1992-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.
package StdFail
uses Standard
is
exception NotDone inherits Failure from Standard;
exception Undefined inherits Failure from Standard;
exception UndefinedDerivative inherits DomainError from Standard;
exception UndefinedValue inherits DomainError from Standard;
exception InfiniteSolutions inherits Failure from Standard;
end StdFail;

View File

@@ -0,0 +1,37 @@
// Created on: 1992-05-07
// Created by: Modelistation
// Copyright (c) 1992-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 _StdFail_InfiniteSolutions_HeaderFile
#define _StdFail_InfiniteSolutions_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_Failure.hxx>
class StdFail_InfiniteSolutions;
DEFINE_STANDARD_HANDLE(StdFail_InfiniteSolutions, Standard_Failure)
#if !defined No_Exception && !defined No_StdFail_InfiniteSolutions
#define StdFail_InfiniteSolutions_Raise_if(CONDITION, MESSAGE) \
if (CONDITION) StdFail_InfiniteSolutions::Raise(MESSAGE);
#else
#define StdFail_InfiniteSolutions_Raise_if(CONDITION, MESSAGE)
#endif
DEFINE_STANDARD_EXCEPTION(StdFail_InfiniteSolutions, Standard_Failure)
#endif // _StdFail_InfiniteSolutions_HeaderFile

View File

@@ -0,0 +1,37 @@
// Created on: 1992-05-07
// Created by: Modelistation
// Copyright (c) 1992-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 _StdFail_NotDone_HeaderFile
#define _StdFail_NotDone_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_Failure.hxx>
class StdFail_NotDone;
DEFINE_STANDARD_HANDLE(StdFail_NotDone, Standard_Failure)
#if !defined No_Exception && !defined No_StdFail_NotDone
#define StdFail_NotDone_Raise_if(CONDITION, MESSAGE) \
if (CONDITION) StdFail_NotDone::Raise(MESSAGE);
#else
#define StdFail_NotDone_Raise_if(CONDITION, MESSAGE)
#endif
DEFINE_STANDARD_EXCEPTION(StdFail_NotDone, Standard_Failure)
#endif // _StdFail_NotDone_HeaderFile

View File

@@ -0,0 +1,37 @@
// Created on: 1992-05-07
// Created by: Modelistation
// Copyright (c) 1992-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 _StdFail_Undefined_HeaderFile
#define _StdFail_Undefined_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_Failure.hxx>
class StdFail_Undefined;
DEFINE_STANDARD_HANDLE(StdFail_Undefined, Standard_Failure)
#if !defined No_Exception && !defined No_StdFail_Undefined
#define StdFail_Undefined_Raise_if(CONDITION, MESSAGE) \
if (CONDITION) StdFail_Undefined::Raise(MESSAGE);
#else
#define StdFail_Undefined_Raise_if(CONDITION, MESSAGE)
#endif
DEFINE_STANDARD_EXCEPTION(StdFail_Undefined, Standard_Failure)
#endif // _StdFail_Undefined_HeaderFile

View File

@@ -0,0 +1,37 @@
// Created on: 1992-05-07
// Created by: Modelistation
// Copyright (c) 1992-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 _StdFail_UndefinedDerivative_HeaderFile
#define _StdFail_UndefinedDerivative_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_DomainError.hxx>
class StdFail_UndefinedDerivative;
DEFINE_STANDARD_HANDLE(StdFail_UndefinedDerivative, Standard_DomainError)
#if !defined No_Exception && !defined No_StdFail_UndefinedDerivative
#define StdFail_UndefinedDerivative_Raise_if(CONDITION, MESSAGE) \
if (CONDITION) StdFail_UndefinedDerivative::Raise(MESSAGE);
#else
#define StdFail_UndefinedDerivative_Raise_if(CONDITION, MESSAGE)
#endif
DEFINE_STANDARD_EXCEPTION(StdFail_UndefinedDerivative, Standard_DomainError)
#endif // _StdFail_UndefinedDerivative_HeaderFile

View File

@@ -0,0 +1,37 @@
// Created on: 1992-05-07
// Created by: Modelistation
// Copyright (c) 1992-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 _StdFail_UndefinedValue_HeaderFile
#define _StdFail_UndefinedValue_HeaderFile
#include <Standard_Type.hxx>
#include <Standard_DefineException.hxx>
#include <Standard_SStream.hxx>
#include <Standard_DomainError.hxx>
class StdFail_UndefinedValue;
DEFINE_STANDARD_HANDLE(StdFail_UndefinedValue, Standard_DomainError)
#if !defined No_Exception && !defined No_StdFail_UndefinedValue
#define StdFail_UndefinedValue_Raise_if(CONDITION, MESSAGE) \
if (CONDITION) StdFail_UndefinedValue::Raise(MESSAGE);
#else
#define StdFail_UndefinedValue_Raise_if(CONDITION, MESSAGE)
#endif
DEFINE_STANDARD_EXCEPTION(StdFail_UndefinedValue, Standard_DomainError)
#endif // _StdFail_UndefinedValue_HeaderFile