mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0029590: Coding - avoid usage of Standard_EXPORT attribute for inline methods
All occurrences of Standard_EXPORT attached to inline methods in OCCT code are eliminated. Some unused classes and C++ files producing no code are deleted.
This commit is contained in:
@@ -38,38 +38,38 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
//! Sets the context for the algorithms
|
||||
Standard_EXPORT void SetContext (const Handle(IntTools_Context)& theContext) {
|
||||
void SetContext (const Handle(IntTools_Context)& theContext) {
|
||||
myContext = theContext;
|
||||
}
|
||||
|
||||
//! Returns the input shapes
|
||||
Standard_EXPORT const TopTools_ListOfShape& Shapes() const {
|
||||
const TopTools_ListOfShape& Shapes() const {
|
||||
return myShapes;
|
||||
}
|
||||
|
||||
//! Sets the shapes for building areas
|
||||
Standard_EXPORT void SetShapes(const TopTools_ListOfShape& theLS) {
|
||||
void SetShapes(const TopTools_ListOfShape& theLS) {
|
||||
myShapes = theLS;
|
||||
}
|
||||
|
||||
//! Returns the found loops
|
||||
Standard_EXPORT const TopTools_ListOfShape& Loops() const {
|
||||
const TopTools_ListOfShape& Loops() const {
|
||||
return myLoops;
|
||||
}
|
||||
|
||||
//! Returns the found areas
|
||||
Standard_EXPORT const TopTools_ListOfShape& Areas() const {
|
||||
const TopTools_ListOfShape& Areas() const {
|
||||
return myAreas;
|
||||
}
|
||||
|
||||
//! Defines the preventing of addition of internal parts into result.
|
||||
//! The default value is FALSE, i.e. the internal parts are added into result.
|
||||
Standard_EXPORT void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal) {
|
||||
void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal) {
|
||||
myAvoidInternalShapes = theAvoidInternal;
|
||||
}
|
||||
|
||||
//! Returns the AvoidInternalShapes flag
|
||||
Standard_EXPORT Standard_Boolean IsAvoidInternalShapes() const {
|
||||
Standard_Boolean IsAvoidInternalShapes() const {
|
||||
return myAvoidInternalShapes;
|
||||
}
|
||||
|
||||
@@ -80,13 +80,13 @@ protected:
|
||||
|
||||
Standard_EXPORT BOPAlgo_BuilderArea(const Handle(NCollection_BaseAllocator)& theAllocator);
|
||||
|
||||
Standard_EXPORT virtual void PerformShapesToAvoid() = 0;
|
||||
virtual void PerformShapesToAvoid() = 0;
|
||||
|
||||
Standard_EXPORT virtual void PerformLoops() = 0;
|
||||
virtual void PerformLoops() = 0;
|
||||
|
||||
Standard_EXPORT virtual void PerformAreas() = 0;
|
||||
virtual void PerformAreas() = 0;
|
||||
|
||||
Standard_EXPORT virtual void PerformInternalShapes() = 0;
|
||||
virtual void PerformInternalShapes() = 0;
|
||||
|
||||
|
||||
Handle(IntTools_Context) myContext;
|
||||
|
@@ -33,7 +33,6 @@
|
||||
#include <BOPTools_AlgoTools2D.hxx>
|
||||
#include <BOPTools_AlgoTools3D.hxx>
|
||||
#include <BOPTools_CoupleOfShape.hxx>
|
||||
#include <BOPTools_DataMapOfShapeSet.hxx>
|
||||
#include <BOPTools_ListOfCoupleOfShape.hxx>
|
||||
#include <BOPTools_MapOfSet.hxx>
|
||||
#include <BOPTools_Parallel.hxx>
|
||||
|
@@ -141,12 +141,12 @@ public:
|
||||
|
||||
//! Defines the preventing of addition of internal for solid parts into the result.
|
||||
//! By default the internal parts are added into result.
|
||||
Standard_EXPORT void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal) {
|
||||
void SetAvoidInternalShapes(const Standard_Boolean theAvoidInternal) {
|
||||
myAvoidInternalShapes = theAvoidInternal;
|
||||
}
|
||||
|
||||
//! Returns the AvoidInternalShapes flag
|
||||
Standard_EXPORT Standard_Boolean IsAvoidInternalShapes() const {
|
||||
Standard_Boolean IsAvoidInternalShapes() const {
|
||||
return myAvoidInternalShapes;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user