1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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

View File

@@ -1,4 +1,88 @@
IGESBasic_Array2OfHArray1OfReal.hxx
IGESBasic.cxx
IGESBasic.hxx
IGESBasic_Array1OfLineFontEntity.hxx
IGESBasic_HArray2OfHArray1OfReal.hxx
IGESBasic_Array2OfHArray1OfReal.hxx
IGESBasic_AssocGroupType.cxx
IGESBasic_AssocGroupType.hxx
IGESBasic_ExternalReferenceFile.cxx
IGESBasic_ExternalReferenceFile.hxx
IGESBasic_ExternalRefFile.cxx
IGESBasic_ExternalRefFile.hxx
IGESBasic_ExternalRefFileIndex.cxx
IGESBasic_ExternalRefFileIndex.hxx
IGESBasic_ExternalRefFileName.cxx
IGESBasic_ExternalRefFileName.hxx
IGESBasic_ExternalRefLibName.cxx
IGESBasic_ExternalRefLibName.hxx
IGESBasic_ExternalRefName.cxx
IGESBasic_ExternalRefName.hxx
IGESBasic_GeneralModule.cxx
IGESBasic_GeneralModule.hxx
IGESBasic_Group.cxx
IGESBasic_Group.hxx
IGESBasic_GroupWithoutBackP.cxx
IGESBasic_GroupWithoutBackP.hxx
IGESBasic_HArray1OfHArray1OfIGESEntity.hxx
IGESBasic_HArray1OfHArray1OfIGESEntity_0.cxx
IGESBasic_HArray1OfHArray1OfInteger.hxx
IGESBasic_HArray1OfHArray1OfInteger_0.cxx
IGESBasic_HArray1OfHArray1OfReal.hxx
IGESBasic_HArray1OfHArray1OfReal_0.cxx
IGESBasic_HArray1OfHArray1OfXY.hxx
IGESBasic_HArray1OfHArray1OfXY_0.cxx
IGESBasic_HArray1OfHArray1OfXYZ.hxx
IGESBasic_HArray1OfHArray1OfXYZ_0.cxx
IGESBasic_HArray1OfLineFontEntity.hxx
IGESBasic_HArray2OfHArray1OfReal.hxx
IGESBasic_Hierarchy.cxx
IGESBasic_Hierarchy.hxx
IGESBasic_Name.cxx
IGESBasic_Name.hxx
IGESBasic_OrderedGroup.cxx
IGESBasic_OrderedGroup.hxx
IGESBasic_OrderedGroupWithoutBackP.cxx
IGESBasic_OrderedGroupWithoutBackP.hxx
IGESBasic_Protocol.cxx
IGESBasic_Protocol.hxx
IGESBasic_ReadWriteModule.cxx
IGESBasic_ReadWriteModule.hxx
IGESBasic_SingleParent.cxx
IGESBasic_SingleParent.hxx
IGESBasic_SingularSubfigure.cxx
IGESBasic_SingularSubfigure.hxx
IGESBasic_SpecificModule.cxx
IGESBasic_SpecificModule.hxx
IGESBasic_SubfigureDef.cxx
IGESBasic_SubfigureDef.hxx
IGESBasic_ToolAssocGroupType.cxx
IGESBasic_ToolAssocGroupType.hxx
IGESBasic_ToolExternalReferenceFile.cxx
IGESBasic_ToolExternalReferenceFile.hxx
IGESBasic_ToolExternalRefFile.cxx
IGESBasic_ToolExternalRefFile.hxx
IGESBasic_ToolExternalRefFileIndex.cxx
IGESBasic_ToolExternalRefFileIndex.hxx
IGESBasic_ToolExternalRefFileName.cxx
IGESBasic_ToolExternalRefFileName.hxx
IGESBasic_ToolExternalRefLibName.cxx
IGESBasic_ToolExternalRefLibName.hxx
IGESBasic_ToolExternalRefName.cxx
IGESBasic_ToolExternalRefName.hxx
IGESBasic_ToolGroup.cxx
IGESBasic_ToolGroup.hxx
IGESBasic_ToolGroupWithoutBackP.cxx
IGESBasic_ToolGroupWithoutBackP.hxx
IGESBasic_ToolHierarchy.cxx
IGESBasic_ToolHierarchy.hxx
IGESBasic_ToolName.cxx
IGESBasic_ToolName.hxx
IGESBasic_ToolOrderedGroup.cxx
IGESBasic_ToolOrderedGroup.hxx
IGESBasic_ToolOrderedGroupWithoutBackP.cxx
IGESBasic_ToolOrderedGroupWithoutBackP.hxx
IGESBasic_ToolSingleParent.cxx
IGESBasic_ToolSingleParent.hxx
IGESBasic_ToolSingularSubfigure.cxx
IGESBasic_ToolSingularSubfigure.hxx
IGESBasic_ToolSubfigureDef.cxx
IGESBasic_ToolSubfigureDef.hxx

View File

@@ -1,127 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen (Arun MENON)
-- Copyright (c) 1993-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 IGESBasic
---Purpose : This package represents basic entities from IGES
uses
Standard,
TCollection,
gp,
TColgp,
TColStd,
Message,
Interface,
IGESData
is
class SubfigureDef;
class Group;
class GroupWithoutBackP;
class SingleParent;
class ExternalRefFileIndex;
class OrderedGroup;
class OrderedGroupWithoutBackP;
class Hierarchy;
class ExternalReferenceFile;
class Name;
class AssocGroupType;
class SingularSubfigure;
class ExternalRefFileName;
class ExternalRefFile;
class ExternalRefName;
class ExternalRefLibName;
-- Tools for Entities --
class ToolSubfigureDef;
class ToolGroup;
class ToolGroupWithoutBackP;
class ToolSingleParent;
class ToolExternalRefFileIndex;
class ToolOrderedGroup;
class ToolOrderedGroupWithoutBackP;
class ToolHierarchy;
class ToolExternalReferenceFile;
class ToolName;
class ToolAssocGroupType;
class ToolSingularSubfigure;
class ToolExternalRefFileName;
class ToolExternalRefFile;
class ToolExternalRefName;
class ToolExternalRefLibName;
-- Definition and Exploitation of Entities defined in this Package
class Protocol;
class ReadWriteModule;
class GeneralModule;
class SpecificModule;
-- The class instantiations :
imported Array2OfHArray1OfReal;
imported Array1OfLineFontEntity;
class HArray1OfHArray1OfInteger instantiates
JaggedArray from Interface (HArray1OfInteger from TColStd);
-- HArray1 from TCollection (HArray1OfInteger from TColStd,Array1OfHArray1OfInteger);
class HArray1OfHArray1OfReal instantiates
JaggedArray from Interface (HArray1OfReal from TColStd);
-- HArray1 from TCollection (HArray1OfReal from TColStd,Array1OfHArray1OfReal);
class HArray1OfHArray1OfXY instantiates
JaggedArray from Interface (HArray1OfXY from TColgp);
-- HArray1 from TCollection (HArray1OfXY from TColgp, Array1OfHArray1OfXY);
class HArray1OfHArray1OfXYZ instantiates
JaggedArray from Interface (HArray1OfXYZ from TColgp);
-- HArray1 from TCollection (HArray1OfXYZ from TColgp, Array1OfHArray1OfXYZ);
imported transient class HArray2OfHArray1OfReal;
class HArray1OfHArray1OfIGESEntity instantiates
JaggedArray from Interface (HArray1OfIGESEntity from IGESData);
-- HArray1 from TCollection (HArray1OfIGESEntity from IGESData,Array1OfHArray1OfIGESEntity);
imported transient class HArray1OfLineFontEntity;
-- Package methods
Init;
---Purpose : Prepares dynqmic data (Protocol, Modules) for this package
Protocol returns Protocol from IGESBasic;
---Purpose : Returns the Protocol for this Package
end IGESBasic;

View File

@@ -11,20 +11,20 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <IGESBasic.ixx>
#include <IGESBasic_Protocol.hxx>
#include <IGESBasic.hxx>
#include <IGESBasic_GeneralModule.hxx>
#include <IGESBasic_Protocol.hxx>
#include <IGESBasic_ReadWriteModule.hxx>
#include <IGESBasic_SpecificModule.hxx>
#include <IGESData.hxx>
#include <IGESData_SpecificLib.hxx>
#include <IGESData_WriterLib.hxx>
#include <Interface_GeneralLib.hxx>
#include <Interface_ReaderLib.hxx>
#include <IGESData_WriterLib.hxx>
#include <IGESData_SpecificLib.hxx>
#include <IGESData.hxx>
// Ancillary data to work on a Package of IGES Entities with a Protocol
// (Modules are created and loaded in appropriate libraries, once by Init)
static Handle(IGESBasic_Protocol) protocol;

146
src/IGESBasic/IGESBasic.hxx Normal file
View File

@@ -0,0 +1,146 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HeaderFile
#define _IGESBasic_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
class IGESBasic_Protocol;
class IGESBasic_SubfigureDef;
class IGESBasic_Group;
class IGESBasic_GroupWithoutBackP;
class IGESBasic_SingleParent;
class IGESBasic_ExternalRefFileIndex;
class IGESBasic_OrderedGroup;
class IGESBasic_OrderedGroupWithoutBackP;
class IGESBasic_Hierarchy;
class IGESBasic_ExternalReferenceFile;
class IGESBasic_Name;
class IGESBasic_AssocGroupType;
class IGESBasic_SingularSubfigure;
class IGESBasic_ExternalRefFileName;
class IGESBasic_ExternalRefFile;
class IGESBasic_ExternalRefName;
class IGESBasic_ExternalRefLibName;
class IGESBasic_ToolSubfigureDef;
class IGESBasic_ToolGroup;
class IGESBasic_ToolGroupWithoutBackP;
class IGESBasic_ToolSingleParent;
class IGESBasic_ToolExternalRefFileIndex;
class IGESBasic_ToolOrderedGroup;
class IGESBasic_ToolOrderedGroupWithoutBackP;
class IGESBasic_ToolHierarchy;
class IGESBasic_ToolExternalReferenceFile;
class IGESBasic_ToolName;
class IGESBasic_ToolAssocGroupType;
class IGESBasic_ToolSingularSubfigure;
class IGESBasic_ToolExternalRefFileName;
class IGESBasic_ToolExternalRefFile;
class IGESBasic_ToolExternalRefName;
class IGESBasic_ToolExternalRefLibName;
class IGESBasic_Protocol;
class IGESBasic_ReadWriteModule;
class IGESBasic_GeneralModule;
class IGESBasic_SpecificModule;
class IGESBasic_HArray1OfHArray1OfInteger;
class IGESBasic_HArray1OfHArray1OfReal;
class IGESBasic_HArray1OfHArray1OfXY;
class IGESBasic_HArray1OfHArray1OfXYZ;
class IGESBasic_HArray1OfHArray1OfIGESEntity;
//! This package represents basic entities from IGES
class IGESBasic
{
public:
DEFINE_STANDARD_ALLOC
//! Prepares dynqmic data (Protocol, Modules) for this package
Standard_EXPORT static void Init();
//! Returns the Protocol for this Package
Standard_EXPORT static Handle(IGESBasic_Protocol) Protocol();
protected:
private:
friend class IGESBasic_SubfigureDef;
friend class IGESBasic_Group;
friend class IGESBasic_GroupWithoutBackP;
friend class IGESBasic_SingleParent;
friend class IGESBasic_ExternalRefFileIndex;
friend class IGESBasic_OrderedGroup;
friend class IGESBasic_OrderedGroupWithoutBackP;
friend class IGESBasic_Hierarchy;
friend class IGESBasic_ExternalReferenceFile;
friend class IGESBasic_Name;
friend class IGESBasic_AssocGroupType;
friend class IGESBasic_SingularSubfigure;
friend class IGESBasic_ExternalRefFileName;
friend class IGESBasic_ExternalRefFile;
friend class IGESBasic_ExternalRefName;
friend class IGESBasic_ExternalRefLibName;
friend class IGESBasic_ToolSubfigureDef;
friend class IGESBasic_ToolGroup;
friend class IGESBasic_ToolGroupWithoutBackP;
friend class IGESBasic_ToolSingleParent;
friend class IGESBasic_ToolExternalRefFileIndex;
friend class IGESBasic_ToolOrderedGroup;
friend class IGESBasic_ToolOrderedGroupWithoutBackP;
friend class IGESBasic_ToolHierarchy;
friend class IGESBasic_ToolExternalReferenceFile;
friend class IGESBasic_ToolName;
friend class IGESBasic_ToolAssocGroupType;
friend class IGESBasic_ToolSingularSubfigure;
friend class IGESBasic_ToolExternalRefFileName;
friend class IGESBasic_ToolExternalRefFile;
friend class IGESBasic_ToolExternalRefName;
friend class IGESBasic_ToolExternalRefLibName;
friend class IGESBasic_Protocol;
friend class IGESBasic_ReadWriteModule;
friend class IGESBasic_GeneralModule;
friend class IGESBasic_SpecificModule;
friend class IGESBasic_HArray1OfHArray1OfInteger;
friend class IGESBasic_HArray1OfHArray1OfReal;
friend class IGESBasic_HArray1OfHArray1OfXY;
friend class IGESBasic_HArray1OfHArray1OfXYZ;
friend class IGESBasic_HArray1OfHArray1OfIGESEntity;
};
#endif // _IGESBasic_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class AssocGroupType from IGESBasic inherits IGESEntity
---Purpose: defines AssocGroupType, Type <406> Form <23>
-- in package IGESBasic
-- Used to assign an unambiguous identification to a Group
-- Associativity.
uses
HAsciiString from TCollection
is
Create returns AssocGroupType;
-- Specific Methods pertaining to the class
Init (me : mutable; nbDataFields, aType : Integer;
aName : HAsciiString );
---Purpose : This method is used to set the fields of the class
-- AssocGroupType
-- - nbDataFields : number of parameter data fields = 2
-- - aType : type of attached associativity
-- - aName : identifier of associativity of type AType
NbData (me) returns Integer;
---Purpose : returns the number of parameter data fields, always = 2
AssocType (me) returns Integer;
---Purpose : returns the type of attached associativity
Name (me) returns HAsciiString from TCollection;
---Purpose : returns identifier of instance of specified associativity
fields
--
-- Class : IGESBasic_AssocGroupType
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class AssocGroupType.
--
-- Reminder : A AssocGroupType instance is defined by :
-- - the number of parameter data fields, always = 2
-- - the type of attached associativity
-- - the identifier of instance of specified associativity
theNbData : Integer;
theType : Integer;
theName : HAsciiString from TCollection;
end AssocGroupType;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_AssocGroupType.ixx>
#include <IGESBasic_AssocGroupType.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_AssocGroupType::IGESBasic_AssocGroupType () { }

View File

@@ -0,0 +1,85 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_AssocGroupType_HeaderFile
#define _IGESBasic_AssocGroupType_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <IGESData_IGESEntity.hxx>
class TCollection_HAsciiString;
class IGESBasic_AssocGroupType;
DEFINE_STANDARD_HANDLE(IGESBasic_AssocGroupType, IGESData_IGESEntity)
//! defines AssocGroupType, Type <406> Form <23>
//! in package IGESBasic
//! Used to assign an unambiguous identification to a Group
//! Associativity.
class IGESBasic_AssocGroupType : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_AssocGroupType();
//! This method is used to set the fields of the class
//! AssocGroupType
//! - nbDataFields : number of parameter data fields = 2
//! - aType : type of attached associativity
//! - aName : identifier of associativity of type AType
Standard_EXPORT void Init (const Standard_Integer nbDataFields, const Standard_Integer aType, const Handle(TCollection_HAsciiString)& aName);
//! returns the number of parameter data fields, always = 2
Standard_EXPORT Standard_Integer NbData() const;
//! returns the type of attached associativity
Standard_EXPORT Standard_Integer AssocType() const;
//! returns identifier of instance of specified associativity
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
DEFINE_STANDARD_RTTI(IGESBasic_AssocGroupType,IGESData_IGESEntity)
protected:
private:
Standard_Integer theNbData;
Standard_Integer theType;
Handle(TCollection_HAsciiString) theName;
};
#endif // _IGESBasic_AssocGroupType_HeaderFile

View File

@@ -1,54 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalRefFile from IGESBasic inherits IGESEntity
---Purpose: defines ExternalRefFile, Type <416> Form <1>
-- in package IGESBasic
-- Used when entire reference file is to be instanced
uses
HAsciiString from TCollection
is
Create returns ExternalRefFile;
-- Specific Methods pertaining to the class
Init (me : mutable; aFileIdent : HAsciiString);
---Purpose : This method is used to set the field of the class
-- ExternalRefFile
-- - aFileIdent : External Reference File Identifier
FileId (me) returns HAsciiString from TCollection;
---Purpose : returns External Reference File Identifier
fields
--
-- Class : IGESBasic_ExternalRefFile
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalRefFile.
--
-- Reminder : A ExternalRefFile instance is defined by :
-- - an External Reference File Identifier
theExtRefFileIdentifier : HAsciiString from TCollection;
end ExternalRefFile;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalRefFile.ixx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalRefFile::IGESBasic_ExternalRefFile () { }

View File

@@ -0,0 +1,73 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalRefFile_HeaderFile
#define _IGESBasic_ExternalRefFile_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_IGESEntity.hxx>
class TCollection_HAsciiString;
class IGESBasic_ExternalRefFile;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalRefFile, IGESData_IGESEntity)
//! defines ExternalRefFile, Type <416> Form <1>
//! in package IGESBasic
//! Used when entire reference file is to be instanced
class IGESBasic_ExternalRefFile : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalRefFile();
//! This method is used to set the field of the class
//! ExternalRefFile
//! - aFileIdent : External Reference File Identifier
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aFileIdent);
//! returns External Reference File Identifier
Standard_EXPORT Handle(TCollection_HAsciiString) FileId() const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalRefFile,IGESData_IGESEntity)
protected:
private:
Handle(TCollection_HAsciiString) theExtRefFileIdentifier;
};
#endif // _IGESBasic_ExternalRefFile_HeaderFile

View File

@@ -1,77 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalRefFileIndex from IGESBasic inherits IGESEntity
---Purpose: defines ExternalRefFileIndex, Type <402> Form <12>
-- in package IGESBasic
-- Contains a list of the symbolic names used by the
-- referencing files and the DE pointers to the
-- corresponding definitions within the referenced file
uses
HAsciiString from TCollection,
HArray1OfHAsciiString from Interface,
HArray1OfIGESEntity from IGESData
raises DimensionMismatch, OutOfRange
is
Create returns ExternalRefFileIndex;
-- Specific Methods pertaining to the class
Init (me : mutable; aNameArray : HArray1OfHAsciiString;
allEntities : HArray1OfIGESEntity)
raises DimensionMismatch;
---Purpose : This method is used to set the fields of the class
-- ExternalRefFileIndex
-- - aNameArray : External Reference Entity symbolic names
-- - allEntities : External Reference Entities
-- raises exception if array lengths are not equal
-- if size of aNameArray is not equal to size of allEntities
NbEntries (me) returns Integer;
---Purpose : returns number of index entries
Name (me; Index : Integer) returns HAsciiString from TCollection
raises OutOfRange;
---Purpose : returns the External Reference Entity symbolic name
-- raises exception if Index <= 0 or Index > NbEntries()
Entity (me; Index : Integer) returns IGESEntity
raises OutOfRange;
---Purpose : returns the internal entity
-- raises exception if Index <= 0 or Index > NbEntries()
fields
--
-- Class : IGESBasic_ExternalRefFileIndex
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalRefFileIndex.
--
-- Reminder : A ExternalRefFileIndex instance is defined by :
-- - External Reference Entity symbolic names
-- - External Reference Entities
theNames : HArray1OfHAsciiString;
theEntities : HArray1OfIGESEntity;
end ExternalRefFileIndex;

View File

@@ -16,8 +16,12 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalRefFileIndex.ixx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_DimensionMismatch.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalRefFileIndex::IGESBasic_ExternalRefFileIndex () { }

View File

@@ -0,0 +1,93 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalRefFileIndex_HeaderFile
#define _IGESBasic_ExternalRefFileIndex_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class TCollection_HAsciiString;
class IGESData_IGESEntity;
class IGESBasic_ExternalRefFileIndex;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalRefFileIndex, IGESData_IGESEntity)
//! defines ExternalRefFileIndex, Type <402> Form <12>
//! in package IGESBasic
//! Contains a list of the symbolic names used by the
//! referencing files and the DE pointers to the
//! corresponding definitions within the referenced file
class IGESBasic_ExternalRefFileIndex : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalRefFileIndex();
//! This method is used to set the fields of the class
//! ExternalRefFileIndex
//! - aNameArray : External Reference Entity symbolic names
//! - allEntities : External Reference Entities
//! raises exception if array lengths are not equal
//! if size of aNameArray is not equal to size of allEntities
Standard_EXPORT void Init (const Handle(Interface_HArray1OfHAsciiString)& aNameArray, const Handle(IGESData_HArray1OfIGESEntity)& allEntities);
//! returns number of index entries
Standard_EXPORT Standard_Integer NbEntries() const;
//! returns the External Reference Entity symbolic name
//! raises exception if Index <= 0 or Index > NbEntries()
Standard_EXPORT Handle(TCollection_HAsciiString) Name (const Standard_Integer Index) const;
//! returns the internal entity
//! raises exception if Index <= 0 or Index > NbEntries()
Standard_EXPORT Handle(IGESData_IGESEntity) Entity (const Standard_Integer Index) const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalRefFileIndex,IGESData_IGESEntity)
protected:
private:
Handle(Interface_HArray1OfHAsciiString) theNames;
Handle(IGESData_HArray1OfIGESEntity) theEntities;
};
#endif // _IGESBasic_ExternalRefFileIndex_HeaderFile

View File

@@ -1,66 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalRefFileName from IGESBasic inherits IGESEntity
---Purpose: defines ExternalRefFileName, Type <416> Form <0-2>
-- in package IGESBasic
-- Used when single definition from the reference file is
-- required or for external logical references where an
-- entity in one file relates to an entity in another file
uses
HAsciiString from TCollection
is
Create returns ExternalRefFileName;
-- Specific Methods pertaining to the class
Init (me : mutable; aFileIdent, anExtName : HAsciiString);
---Purpose : This method is used to set the fields of the class
-- ExternalRefFileName
-- - aFileIdent : External Reference File Identifier
-- - anExtName : External Reference Entity Symbolic Name
SetForEntity (me : mutable; mode : Boolean);
---Purpose : Changes FormNumber to be 2 if <mode> is True (For Entity)
-- or 0 if <mode> is False (For Definition)
FileId (me) returns HAsciiString from TCollection;
---Purpose : returns External Reference File Identifier
ReferenceName (me) returns HAsciiString from TCollection;
---Purpose : returns External Reference Entity Symbolic Name
fields
--
-- Class : IGESBasic_ExternalRefFileName
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalRefFileName.
--
-- Reminder : A ExternalRefFileName instance is defined by :
-- - External Reference File Identifier
-- - External Reference Entity Symbolic Name
theExtRefFileIdentifier : HAsciiString from TCollection;
theExtRefEntitySymbName : HAsciiString from TCollection;
end ExternalRefFileName;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalRefFileName.ixx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalRefFileName::IGESBasic_ExternalRefFileName () { }

View File

@@ -0,0 +1,85 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalRefFileName_HeaderFile
#define _IGESBasic_ExternalRefFileName_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Boolean.hxx>
class TCollection_HAsciiString;
class IGESBasic_ExternalRefFileName;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalRefFileName, IGESData_IGESEntity)
//! defines ExternalRefFileName, Type <416> Form <0-2>
//! in package IGESBasic
//! Used when single definition from the reference file is
//! required or for external logical references where an
//! entity in one file relates to an entity in another file
class IGESBasic_ExternalRefFileName : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalRefFileName();
//! This method is used to set the fields of the class
//! ExternalRefFileName
//! - aFileIdent : External Reference File Identifier
//! - anExtName : External Reference Entity Symbolic Name
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aFileIdent, const Handle(TCollection_HAsciiString)& anExtName);
//! Changes FormNumber to be 2 if <mode> is True (For Entity)
//! or 0 if <mode> is False (For Definition)
Standard_EXPORT void SetForEntity (const Standard_Boolean mode);
//! returns External Reference File Identifier
Standard_EXPORT Handle(TCollection_HAsciiString) FileId() const;
//! returns External Reference Entity Symbolic Name
Standard_EXPORT Handle(TCollection_HAsciiString) ReferenceName() const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalRefFileName,IGESData_IGESEntity)
protected:
private:
Handle(TCollection_HAsciiString) theExtRefFileIdentifier;
Handle(TCollection_HAsciiString) theExtRefEntitySymbName;
};
#endif // _IGESBasic_ExternalRefFileName_HeaderFile

View File

@@ -1,63 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalRefLibName from IGESBasic inherits IGESEntity
---Purpose: defines ExternalRefLibName, Type <416> Form <4>
-- in package IGESBasic
-- Used when it is assumed that a copy of the subfigure
-- exists in native form in a library on the receiving
-- system
uses
HAsciiString from TCollection
is
Create returns ExternalRefLibName;
-- Specific Methods pertaining to the class
Init (me : mutable; aLibName, anExtName : HAsciiString);
---Purpose : This method is used to set the fields of the class
-- ExternalRefLibName
-- - aLibName : Name of library in which ExtName resides
-- - anExtName : External Reference Entity Symbolic Name
LibraryName (me) returns HAsciiString from TCollection;
---Purpose : returns name of library in which External Reference Entity
-- Symbolic Name resides
ReferenceName (me) returns HAsciiString from TCollection;
---Purpose : returns External Reference Entity Symbolic Name
fields
--
-- Class : IGESBasic_ExternalRefLibName
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalRefLibName.
--
-- Reminder : A ExternalRefLibName instance is defined by :
-- - Name of library in which name resides
-- - External Reference Entity Symbolic Name
theLibName : HAsciiString from TCollection;
theExtRefEntitySymbName : HAsciiString from TCollection;
end ExternalRefLibName;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalRefLibName.ixx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalRefLibName::IGESBasic_ExternalRefLibName () { }

View File

@@ -0,0 +1,81 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalRefLibName_HeaderFile
#define _IGESBasic_ExternalRefLibName_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_IGESEntity.hxx>
class TCollection_HAsciiString;
class IGESBasic_ExternalRefLibName;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalRefLibName, IGESData_IGESEntity)
//! defines ExternalRefLibName, Type <416> Form <4>
//! in package IGESBasic
//! Used when it is assumed that a copy of the subfigure
//! exists in native form in a library on the receiving
//! system
class IGESBasic_ExternalRefLibName : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalRefLibName();
//! This method is used to set the fields of the class
//! ExternalRefLibName
//! - aLibName : Name of library in which ExtName resides
//! - anExtName : External Reference Entity Symbolic Name
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aLibName, const Handle(TCollection_HAsciiString)& anExtName);
//! returns name of library in which External Reference Entity
//! Symbolic Name resides
Standard_EXPORT Handle(TCollection_HAsciiString) LibraryName() const;
//! returns External Reference Entity Symbolic Name
Standard_EXPORT Handle(TCollection_HAsciiString) ReferenceName() const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalRefLibName,IGESData_IGESEntity)
protected:
private:
Handle(TCollection_HAsciiString) theLibName;
Handle(TCollection_HAsciiString) theExtRefEntitySymbName;
};
#endif // _IGESBasic_ExternalRefLibName_HeaderFile

View File

@@ -1,55 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalRefName from IGESBasic inherits IGESEntity
---Purpose: defines ExternalRefName, Type <416> Form <3>
-- in package IGESBasic
-- Used when it is assumed that a copy of the subfigure
-- exists in native form on the receiving system
uses
HAsciiString from TCollection
is
Create returns ExternalRefName;
-- Specific Methods pertaining to the class
Init (me : mutable; anExtName : HAsciiString);
---Purpose : This method is used to set the fields of the class
-- ExternalRefName
-- - anExtName : External Reference Entity Symbolic Name
ReferenceName (me) returns HAsciiString from TCollection;
---Purpose : returns External Reference Entity Symbolic Name
fields
--
-- Class : IGESBasic_ExternalRefName
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalRefName.
--
-- Reminder : A ExternalRefName instance is defined by :
-- - External Reference Entity Symbolic Name
theExtRefEntitySymbName : HAsciiString from TCollection;
end ExternalRefName;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalRefName.ixx>
#include <IGESBasic_ExternalRefName.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalRefName::IGESBasic_ExternalRefName () { }

View File

@@ -0,0 +1,74 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalRefName_HeaderFile
#define _IGESBasic_ExternalRefName_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_IGESEntity.hxx>
class TCollection_HAsciiString;
class IGESBasic_ExternalRefName;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalRefName, IGESData_IGESEntity)
//! defines ExternalRefName, Type <416> Form <3>
//! in package IGESBasic
//! Used when it is assumed that a copy of the subfigure
//! exists in native form on the receiving system
class IGESBasic_ExternalRefName : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalRefName();
//! This method is used to set the fields of the class
//! ExternalRefName
//! - anExtName : External Reference Entity Symbolic Name
Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& anExtName);
//! returns External Reference Entity Symbolic Name
Standard_EXPORT Handle(TCollection_HAsciiString) ReferenceName() const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalRefName,IGESData_IGESEntity)
protected:
private:
Handle(TCollection_HAsciiString) theExtRefEntitySymbName;
};
#endif // _IGESBasic_ExternalRefName_HeaderFile

View File

@@ -1,62 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
-- Copyright (c) 1993-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.
class ExternalReferenceFile from IGESBasic inherits IGESEntity
---Purpose: defines ExternalReferenceFile, Type <406> Form <12>
-- in package IGESBasic
-- References definitions residing in another file
uses
HAsciiString from TCollection,
HArray1OfHAsciiString from Interface
raises OutOfRange
is
Create returns ExternalReferenceFile;
-- Specific Methods pertaining to the class
Init (me : mutable; aNameArray : HArray1OfHAsciiString);
---Purpose : This method is used to set the fields of the class
-- ExternalReferenceFile
-- - aNameArray : External Reference File Names
NbListEntries (me) returns Integer;
---Purpose : returns number of External Reference File Names
Name (me; Index : Integer) returns HAsciiString from TCollection
raises OutOfRange;
---Purpose : returns External Reference File Name
-- raises exception if Index <= 0 or Index > NbListEntries()
fields
--
-- Class : IGESBasic_ExternalReferenceFile
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class ExternalReferenceFile.
--
-- Reminder : A ExternalReferenceFile instance is defined by :
-- - External Reference File Names
theNames : HArray1OfHAsciiString;
end ExternalReferenceFile;

View File

@@ -16,9 +16,11 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ExternalReferenceFile.ixx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <Standard_DimensionMismatch.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ExternalReferenceFile::IGESBasic_ExternalReferenceFile () { }

View File

@@ -0,0 +1,80 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Anand NATRAJAN )
// Copyright (c) 1993-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 _IGESBasic_ExternalReferenceFile_HeaderFile
#define _IGESBasic_ExternalReferenceFile_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
class Standard_OutOfRange;
class TCollection_HAsciiString;
class IGESBasic_ExternalReferenceFile;
DEFINE_STANDARD_HANDLE(IGESBasic_ExternalReferenceFile, IGESData_IGESEntity)
//! defines ExternalReferenceFile, Type <406> Form <12>
//! in package IGESBasic
//! References definitions residing in another file
class IGESBasic_ExternalReferenceFile : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_ExternalReferenceFile();
//! This method is used to set the fields of the class
//! ExternalReferenceFile
//! - aNameArray : External Reference File Names
Standard_EXPORT void Init (const Handle(Interface_HArray1OfHAsciiString)& aNameArray);
//! returns number of External Reference File Names
Standard_EXPORT Standard_Integer NbListEntries() const;
//! returns External Reference File Name
//! raises exception if Index <= 0 or Index > NbListEntries()
Standard_EXPORT Handle(TCollection_HAsciiString) Name (const Standard_Integer Index) const;
DEFINE_STANDARD_RTTI(IGESBasic_ExternalReferenceFile,IGESData_IGESEntity)
protected:
private:
Handle(Interface_HArray1OfHAsciiString) theNames;
};
#endif // _IGESBasic_ExternalReferenceFile_HeaderFile

View File

@@ -1,62 +0,0 @@
-- Created on: 1993-05-10
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class GeneralModule from IGESBasic inherits GeneralModule from IGESData
---Purpose : Definition of General Services for IGESBasic (specific part)
-- This Services comprise : Shared & Implied Lists, Copy, Check
uses OStream,
Check, ShareTool, EntityIterator, CopyTool,
IGESEntity, DirChecker
is
Create returns GeneralModule from IGESBasic;
---Purpose : Creates a GeneralModule from IGESBasic and puts it into GeneralLib
OwnSharedCase (me; CN : Integer; ent : IGESEntity;
iter : in out EntityIterator);
---Purpose : Lists the Entities shared by a given IGESEntity <ent>, from
-- its specific parameters : specific for each type
DirChecker (me; CN : Integer; ent : IGESEntity) returns DirChecker;
---Purpose : Returns a DirChecker, specific for each type of Entity
-- (identified by its Case Number) : this DirChecker defines
-- constraints which must be respected by the DirectoryPart
OwnCheckCase (me; CN : Integer; ent : IGESEntity; shares : ShareTool;
ach : in out Check);
---Purpose : Performs Specific Semantic Check for each type of Entity
NewVoid (me; CN : Integer; entto : out Transient)
returns Boolean;
---Purpose : Specific creation of a new void entity
OwnCopyCase (me; CN : Integer;
entfrom : IGESEntity; entto : IGESEntity;
TC : in out CopyTool);
---Purpose : Copies parameters which are specific of each Type of Entity
CategoryNumber (me; CN : Integer; ent : Transient; shares : ShareTool)
returns Integer is redefined;
---Purpose : Returns a category number which characterizes an entity
-- Structure for Groups, Figures & Co
-- Description for External Refs
-- Auxiliary for other
end GeneralModule;

View File

@@ -11,17 +11,15 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <IGESBasic_GeneralModule.ixx>
#include <Interface_Macros.hxx>
#include <Interface_Category.hxx>
#include <IGESBasic_AssocGroupType.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <IGESBasic_ExternalRefName.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_GeneralModule.hxx>
#include <IGESBasic_Group.hxx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <IGESBasic_Hierarchy.hxx>
@@ -31,14 +29,13 @@
#include <IGESBasic_SingleParent.hxx>
#include <IGESBasic_SingularSubfigure.hxx>
#include <IGESBasic_SubfigureDef.hxx>
#include <IGESBasic_ToolAssocGroupType.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolExternalRefFile.hxx>
#include <IGESBasic_ToolExternalRefFileIndex.hxx>
#include <IGESBasic_ToolExternalRefFileName.hxx>
#include <IGESBasic_ToolExternalRefLibName.hxx>
#include <IGESBasic_ToolExternalRefName.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolGroup.hxx>
#include <IGESBasic_ToolGroupWithoutBackP.hxx>
#include <IGESBasic_ToolHierarchy.hxx>
@@ -48,14 +45,20 @@
#include <IGESBasic_ToolSingleParent.hxx>
#include <IGESBasic_ToolSingularSubfigure.hxx>
#include <IGESBasic_ToolSubfigureDef.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Interface_Category.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol
IGESBasic_GeneralModule::IGESBasic_GeneralModule () { }

View File

@@ -0,0 +1,96 @@
// Created on: 1993-05-10
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_GeneralModule_HeaderFile
#define _IGESBasic_GeneralModule_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_GeneralModule.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
class IGESData_IGESEntity;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Standard_Transient;
class Interface_CopyTool;
class IGESBasic_GeneralModule;
DEFINE_STANDARD_HANDLE(IGESBasic_GeneralModule, IGESData_GeneralModule)
//! Definition of General Services for IGESBasic (specific part)
//! This Services comprise : Shared & Implied Lists, Copy, Check
class IGESBasic_GeneralModule : public IGESData_GeneralModule
{
public:
//! Creates a GeneralModule from IGESBasic and puts it into GeneralLib
Standard_EXPORT IGESBasic_GeneralModule();
//! Lists the Entities shared by a given IGESEntity <ent>, from
//! its specific parameters : specific for each type
Standard_EXPORT void OwnSharedCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, Interface_EntityIterator& iter) const;
//! Returns a DirChecker, specific for each type of Entity
//! (identified by its Case Number) : this DirChecker defines
//! constraints which must be respected by the DirectoryPart
Standard_EXPORT IGESData_DirChecker DirChecker (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent) const;
//! Performs Specific Semantic Check for each type of Entity
Standard_EXPORT void OwnCheckCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Specific creation of a new void entity
Standard_EXPORT Standard_Boolean NewVoid (const Standard_Integer CN, Handle(Standard_Transient)& entto) const;
//! Copies parameters which are specific of each Type of Entity
Standard_EXPORT void OwnCopyCase (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& entfrom, const Handle(IGESData_IGESEntity)& entto, Interface_CopyTool& TC) const;
//! Returns a category number which characterizes an entity
//! Structure for Groups, Figures & Co
//! Description for External Refs
//! Auxiliary for other
Standard_EXPORT virtual Standard_Integer CategoryNumber (const Standard_Integer CN, const Handle(Standard_Transient)& ent, const Interface_ShareTool& shares) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(IGESBasic_GeneralModule,IGESData_GeneralModule)
protected:
private:
};
#endif // _IGESBasic_GeneralModule_HeaderFile

View File

@@ -1,111 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class Group from IGESBasic inherits IGESEntity
---Purpose: defines Group, Type <402> Form <1>
-- in package IGESBasic
-- The Group Associativity allows a collection of a set
-- of entities to be maintained as a single, logical
-- entity
--
-- Group, OrderedGroup, GroupWithoutBackP, OrderedGroupWithoutBackP
-- share the same definition (class Group), form number changes
--
-- non Ordered, non WithoutBackP : form 1
-- non Ordered, WithoutBackP : form 7
-- Ordered, non WithoutBackP : form 14
-- Ordered, WithoutBackP : form 15
uses
Transient ,
IGESEntity from IGESData,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns Group;
Create (nb : Integer) returns Group;
---Purpose : Creates a Group with a predefined count of items
-- (which all start as null)
-- Specific Methods pertaining to the class
Init (me : mutable;
allEntities : HArray1OfIGESEntity);
---Purpose : This method is used to set the fields of the class Group
-- - allEntities : Used to store pointers to members of
-- the Group.
SetOrdered (me : mutable; mode : Boolean);
---Purpose : Sets a Group to be, or not to be Ordered (according mode)
SetWithoutBackP (me : mutable; mode : Boolean);
---Purpose : Sets a Group to be, or not to be WithoutBackP
IsOrdered (me) returns Boolean;
---Purpose : Returns True if <me> is Ordered
IsWithoutBackP (me) returns Boolean;
---Purpose : Returns True if <me> is WithoutBackP
SetUser (me : mutable; type, form : Integer)
---Purpose : Enforce a new value for the type and form
raises OutOfRange;
-- The type number must be greater than 5000
SetNb (me : mutable; nb : Integer);
---Purpose : Changes the count of item
-- If greater, new items are null
-- If lower, old items are lost
NbEntities (me) returns Integer;
---Purpose : returns the number of IGESEntities in the Group
Entity (me; Index : Integer) returns IGESEntity
---Purpose : returns the specific entity from the Group
raises OutOfRange;
-- raises exception if Index <= 0 or Index > NbEntities()
Value (me; Index : Integer) returns Transient
---Purpose : returns the specific entity from the Group
raises OutOfRange;
-- raises exception if Index <= 0 or Index > NbEntities()
SetValue (me : mutable; Index : Integer; ent : IGESEntity from IGESData)
---Purpose : Sets a new value for item <Index>
raises OutOfRange;
-- raises exception if Index <= 0 or Index > NbEntities()
fields
--
-- Class : IGESBasic_Group
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class Group.
--
-- Reminder : A Group instance is defined by :
-- - an array of IGESEntity
theEntities : HArray1OfIGESEntity;
end Group;

View File

@@ -15,13 +15,14 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
// ptv and rln 14.09.2000 BUC60743
#include <IGESBasic_Group.ixx>
#include <IGESBasic_Group.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_DimensionMismatch.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
IGESBasic_Group::IGESBasic_Group () { InitTypeAndForm(402,1); }

View File

@@ -0,0 +1,121 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_Group_HeaderFile
#define _IGESBasic_Group_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
class Standard_OutOfRange;
class IGESData_IGESEntity;
class Standard_Transient;
class IGESBasic_Group;
DEFINE_STANDARD_HANDLE(IGESBasic_Group, IGESData_IGESEntity)
//! defines Group, Type <402> Form <1>
//! in package IGESBasic
//! The Group Associativity allows a collection of a set
//! of entities to be maintained as a single, logical
//! entity
//!
//! Group, OrderedGroup, GroupWithoutBackP, OrderedGroupWithoutBackP
//! share the same definition (class Group), form number changes
//!
//! non Ordered, non WithoutBackP : form 1
//! non Ordered, WithoutBackP : form 7
//! Ordered, non WithoutBackP : form 14
//! Ordered, WithoutBackP : form 15
class IGESBasic_Group : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_Group();
//! Creates a Group with a predefined count of items
//! (which all start as null)
Standard_EXPORT IGESBasic_Group(const Standard_Integer nb);
//! This method is used to set the fields of the class Group
//! - allEntities : Used to store pointers to members of
//! the Group.
Standard_EXPORT void Init (const Handle(IGESData_HArray1OfIGESEntity)& allEntities);
//! Sets a Group to be, or not to be Ordered (according mode)
Standard_EXPORT void SetOrdered (const Standard_Boolean mode);
//! Sets a Group to be, or not to be WithoutBackP
Standard_EXPORT void SetWithoutBackP (const Standard_Boolean mode);
//! Returns True if <me> is Ordered
Standard_EXPORT Standard_Boolean IsOrdered() const;
//! Returns True if <me> is WithoutBackP
Standard_EXPORT Standard_Boolean IsWithoutBackP() const;
//! Enforce a new value for the type and form
Standard_EXPORT void SetUser (const Standard_Integer type, const Standard_Integer form);
//! Changes the count of item
//! If greater, new items are null
//! If lower, old items are lost
Standard_EXPORT void SetNb (const Standard_Integer nb);
//! returns the number of IGESEntities in the Group
Standard_EXPORT Standard_Integer NbEntities() const;
//! returns the specific entity from the Group
Standard_EXPORT Handle(IGESData_IGESEntity) Entity (const Standard_Integer Index) const;
//! returns the specific entity from the Group
Standard_EXPORT Handle(Standard_Transient) Value (const Standard_Integer Index) const;
//! Sets a new value for item <Index>
Standard_EXPORT void SetValue (const Standard_Integer Index, const Handle(IGESData_IGESEntity)& ent);
DEFINE_STANDARD_RTTI(IGESBasic_Group,IGESData_IGESEntity)
protected:
private:
Handle(IGESData_HArray1OfIGESEntity) theEntities;
};
#endif // _IGESBasic_Group_HeaderFile

View File

@@ -1,48 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class GroupWithoutBackP from IGESBasic inherits Group
---Purpose: defines GroupWithoutBackP, Type <402> Form <7>
-- in package IGESBasic
-- this class defines a Group without back pointers
--
-- It inherits from Group
uses
Transient ,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns GroupWithoutBackP;
-- Specific Methods pertaining to the class : see Group
--
-- Class : IGESBasic_GroupWithoutBackP
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class GroupWithoutBackP.
--
-- Reminder : A GroupWithoutBackP instance is defined by :
-- - an array of Entities
-- See Group
end GroupWithoutBackP;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_GroupWithoutBackP.ixx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IGESBasic_GroupWithoutBackP::IGESBasic_GroupWithoutBackP ()
{ InitTypeAndForm(402,7); }

View File

@@ -0,0 +1,66 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_GroupWithoutBackP_HeaderFile
#define _IGESBasic_GroupWithoutBackP_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESBasic_Group.hxx>
class Standard_OutOfRange;
class IGESBasic_GroupWithoutBackP;
DEFINE_STANDARD_HANDLE(IGESBasic_GroupWithoutBackP, IGESBasic_Group)
//! defines GroupWithoutBackP, Type <402> Form <7>
//! in package IGESBasic
//! this class defines a Group without back pointers
//!
//! It inherits from Group
class IGESBasic_GroupWithoutBackP : public IGESBasic_Group
{
public:
Standard_EXPORT IGESBasic_GroupWithoutBackP();
DEFINE_STANDARD_RTTI(IGESBasic_GroupWithoutBackP,IGESBasic_Group)
protected:
private:
};
#endif // _IGESBasic_GroupWithoutBackP_HeaderFile

View File

@@ -0,0 +1,75 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HArray1OfHArray1OfIGESEntity_HeaderFile
#define _IGESBasic_HArray1OfHArray1OfIGESEntity_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColStd_Array1OfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <Standard_Integer.hxx>
class IGESBasic_HArray1OfHArray1OfIGESEntity;
DEFINE_STANDARD_HANDLE(IGESBasic_HArray1OfHArray1OfIGESEntity, MMgt_TShared)
class IGESBasic_HArray1OfHArray1OfIGESEntity : public MMgt_TShared
{
public:
Standard_EXPORT IGESBasic_HArray1OfHArray1OfIGESEntity(const Standard_Integer low, const Standard_Integer up);
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer Upper() const;
Standard_EXPORT Standard_Integer Length() const;
Standard_EXPORT void SetValue (const Standard_Integer num, const Handle(IGESData_HArray1OfIGESEntity)& val);
Standard_EXPORT Handle(IGESData_HArray1OfIGESEntity) Value (const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESBasic_HArray1OfHArray1OfIGESEntity,MMgt_TShared)
protected:
private:
TColStd_Array1OfTransient thelist;
};
#endif // _IGESBasic_HArray1OfHArray1OfIGESEntity_HeaderFile

View File

@@ -0,0 +1,38 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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.
#include <IGESBasic_HArray1OfHArray1OfIGESEntity.hxx>
#include <Standard_Type.hxx>
#define Handle_TheKey Handle(IGESData_HArray1OfIGESEntity)
#define TheKey IGESData_HArray1OfIGESEntity
#define TheKey_hxx <IGESData_HArray1OfIGESEntity.hxx>
#define Interface_JaggedArray IGESBasic_HArray1OfHArray1OfIGESEntity
#define Interface_JaggedArray_hxx <IGESBasic_HArray1OfHArray1OfIGESEntity.hxx>
#define Handle_Interface_JaggedArray Handle(IGESBasic_HArray1OfHArray1OfIGESEntity)
#include <Interface_JaggedArray.gxx>

View File

@@ -0,0 +1,75 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HArray1OfHArray1OfInteger_HeaderFile
#define _IGESBasic_HArray1OfHArray1OfInteger_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColStd_Array1OfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#include <Standard_Integer.hxx>
class IGESBasic_HArray1OfHArray1OfInteger;
DEFINE_STANDARD_HANDLE(IGESBasic_HArray1OfHArray1OfInteger, MMgt_TShared)
class IGESBasic_HArray1OfHArray1OfInteger : public MMgt_TShared
{
public:
Standard_EXPORT IGESBasic_HArray1OfHArray1OfInteger(const Standard_Integer low, const Standard_Integer up);
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer Upper() const;
Standard_EXPORT Standard_Integer Length() const;
Standard_EXPORT void SetValue (const Standard_Integer num, const Handle(TColStd_HArray1OfInteger)& val);
Standard_EXPORT Handle(TColStd_HArray1OfInteger) Value (const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESBasic_HArray1OfHArray1OfInteger,MMgt_TShared)
protected:
private:
TColStd_Array1OfTransient thelist;
};
#endif // _IGESBasic_HArray1OfHArray1OfInteger_HeaderFile

View File

@@ -0,0 +1,38 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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.
#include <IGESBasic_HArray1OfHArray1OfInteger.hxx>
#include <Standard_Type.hxx>
#define Handle_TheKey Handle(TColStd_HArray1OfInteger)
#define TheKey TColStd_HArray1OfInteger
#define TheKey_hxx <TColStd_HArray1OfInteger.hxx>
#define Interface_JaggedArray IGESBasic_HArray1OfHArray1OfInteger
#define Interface_JaggedArray_hxx <IGESBasic_HArray1OfHArray1OfInteger.hxx>
#define Handle_Interface_JaggedArray Handle(IGESBasic_HArray1OfHArray1OfInteger)
#include <Interface_JaggedArray.gxx>

View File

@@ -0,0 +1,75 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HArray1OfHArray1OfReal_HeaderFile
#define _IGESBasic_HArray1OfHArray1OfReal_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColStd_Array1OfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include <Standard_Integer.hxx>
class IGESBasic_HArray1OfHArray1OfReal;
DEFINE_STANDARD_HANDLE(IGESBasic_HArray1OfHArray1OfReal, MMgt_TShared)
class IGESBasic_HArray1OfHArray1OfReal : public MMgt_TShared
{
public:
Standard_EXPORT IGESBasic_HArray1OfHArray1OfReal(const Standard_Integer low, const Standard_Integer up);
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer Upper() const;
Standard_EXPORT Standard_Integer Length() const;
Standard_EXPORT void SetValue (const Standard_Integer num, const Handle(TColStd_HArray1OfReal)& val);
Standard_EXPORT Handle(TColStd_HArray1OfReal) Value (const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESBasic_HArray1OfHArray1OfReal,MMgt_TShared)
protected:
private:
TColStd_Array1OfTransient thelist;
};
#endif // _IGESBasic_HArray1OfHArray1OfReal_HeaderFile

View File

@@ -0,0 +1,38 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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.
#include <IGESBasic_HArray1OfHArray1OfReal.hxx>
#include <Standard_Type.hxx>
#define Handle_TheKey Handle(TColStd_HArray1OfReal)
#define TheKey TColStd_HArray1OfReal
#define TheKey_hxx <TColStd_HArray1OfReal.hxx>
#define Interface_JaggedArray IGESBasic_HArray1OfHArray1OfReal
#define Interface_JaggedArray_hxx <IGESBasic_HArray1OfHArray1OfReal.hxx>
#define Handle_Interface_JaggedArray Handle(IGESBasic_HArray1OfHArray1OfReal)
#include <Interface_JaggedArray.gxx>

View File

@@ -0,0 +1,75 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HArray1OfHArray1OfXY_HeaderFile
#define _IGESBasic_HArray1OfHArray1OfXY_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColStd_Array1OfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <TColgp_HArray1OfXY.hxx>
#include <Standard_Integer.hxx>
class IGESBasic_HArray1OfHArray1OfXY;
DEFINE_STANDARD_HANDLE(IGESBasic_HArray1OfHArray1OfXY, MMgt_TShared)
class IGESBasic_HArray1OfHArray1OfXY : public MMgt_TShared
{
public:
Standard_EXPORT IGESBasic_HArray1OfHArray1OfXY(const Standard_Integer low, const Standard_Integer up);
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer Upper() const;
Standard_EXPORT Standard_Integer Length() const;
Standard_EXPORT void SetValue (const Standard_Integer num, const Handle(TColgp_HArray1OfXY)& val);
Standard_EXPORT Handle(TColgp_HArray1OfXY) Value (const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESBasic_HArray1OfHArray1OfXY,MMgt_TShared)
protected:
private:
TColStd_Array1OfTransient thelist;
};
#endif // _IGESBasic_HArray1OfHArray1OfXY_HeaderFile

View File

@@ -0,0 +1,75 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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 _IGESBasic_HArray1OfHArray1OfXYZ_HeaderFile
#define _IGESBasic_HArray1OfHArray1OfXYZ_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <TColStd_Array1OfTransient.hxx>
#include <MMgt_TShared.hxx>
#include <TColgp_HArray1OfXYZ.hxx>
#include <Standard_Integer.hxx>
class IGESBasic_HArray1OfHArray1OfXYZ;
DEFINE_STANDARD_HANDLE(IGESBasic_HArray1OfHArray1OfXYZ, MMgt_TShared)
class IGESBasic_HArray1OfHArray1OfXYZ : public MMgt_TShared
{
public:
Standard_EXPORT IGESBasic_HArray1OfHArray1OfXYZ(const Standard_Integer low, const Standard_Integer up);
Standard_EXPORT Standard_Integer Lower() const;
Standard_EXPORT Standard_Integer Upper() const;
Standard_EXPORT Standard_Integer Length() const;
Standard_EXPORT void SetValue (const Standard_Integer num, const Handle(TColgp_HArray1OfXYZ)& val);
Standard_EXPORT Handle(TColgp_HArray1OfXYZ) Value (const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESBasic_HArray1OfHArray1OfXYZ,MMgt_TShared)
protected:
private:
TColStd_Array1OfTransient thelist;
};
#endif // _IGESBasic_HArray1OfHArray1OfXYZ_HeaderFile

View File

@@ -0,0 +1,38 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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.
#include <IGESBasic_HArray1OfHArray1OfXYZ.hxx>
#include <Standard_Type.hxx>
#define Handle_TheKey Handle(TColgp_HArray1OfXYZ)
#define TheKey TColgp_HArray1OfXYZ
#define TheKey_hxx <TColgp_HArray1OfXYZ.hxx>
#define Interface_JaggedArray IGESBasic_HArray1OfHArray1OfXYZ
#define Interface_JaggedArray_hxx <IGESBasic_HArray1OfHArray1OfXYZ.hxx>
#define Handle_Interface_JaggedArray Handle(IGESBasic_HArray1OfHArray1OfXYZ)
#include <Interface_JaggedArray.gxx>

View File

@@ -0,0 +1,38 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen (Arun MENON)
// Copyright (c) 1993-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.
#include <IGESBasic_HArray1OfHArray1OfXY.hxx>
#include <Standard_Type.hxx>
#define Handle_TheKey Handle(TColgp_HArray1OfXY)
#define TheKey TColgp_HArray1OfXY
#define TheKey_hxx <TColgp_HArray1OfXY.hxx>
#define Interface_JaggedArray IGESBasic_HArray1OfHArray1OfXY
#define Interface_JaggedArray_hxx <IGESBasic_HArray1OfHArray1OfXY.hxx>
#define Handle_Interface_JaggedArray Handle(IGESBasic_HArray1OfHArray1OfXY)
#include <Interface_JaggedArray.gxx>

View File

@@ -1,97 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class Hierarchy from IGESBasic inherits IGESEntity
---Purpose: defines Hierarchy, Type <406> Form <10>
-- in package IGESBasic
-- Provides ability to control the hierarchy of each
-- directory entry attribute.
uses Integer -- no one specific type
is
Create returns Hierarchy;
-- Specific Methods pertaining to the class
Init (me : mutable;
nbPropVal : Integer;
aLineFont : Integer;
aView : Integer;
anEntityLevel : Integer;
aBlankStatus : Integer;
aLineWt : Integer;
aColorNum : Integer);
---Purpose : This method is used to set the fields of the class
-- Hierarchy
-- - nbPropVal : Number of Property values = 6
-- - aLineFont : indicates the line font
-- - aView : indicates the view
-- - aEntityLevel : indicates the entity level
-- - aBlankStatus : indicates the blank status
-- - aLineWt : indicates the line weight
-- - aColorNum : indicates the color num
-- aLineFont, aView, aEntityLevel, aBlankStatus, aLineWt and
-- aColorNum can take 0 or 1.
-- 0 : The directory entry attribute will apply to entities
-- physically subordinate to this entity.
-- 1 : The directory entry attribute of this entity will not
-- apply to physically subordinate entities.
NbPropertyValues (me) returns Integer;
---Purpose : returns the number of property values, which should be 6
NewLineFont (me) returns Integer;
---Purpose : returns the line font
NewView (me) returns Integer;
---Purpose : returns the view
NewEntityLevel (me) returns Integer;
---Purpose : returns the entity level
NewBlankStatus (me) returns Integer;
---Purpose : returns the blank status
NewLineWeight (me) returns Integer;
---Purpose : returns the line weight
NewColorNum (me) returns Integer;
---Purpose : returns the color number
fields
--
-- Class : IGESBasic_Hierarchy
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class Hierarchy.
--
-- Reminder : A Hierarchy instance is defined by :
-- - the line font, view, entity level, blank status, line wt
-- and the color number
theNbPropertyValues : Integer;
theLineFont : Integer;
theView : Integer;
theEntityLevel : Integer;
theBlankStatus : Integer;
theLineWeight : Integer;
theColorNum : Integer;
end Hierarchy;

View File

@@ -16,7 +16,8 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_Hierarchy.ixx>
#include <IGESBasic_Hierarchy.hxx>
#include <Standard_Type.hxx>
IGESBasic_Hierarchy::IGESBasic_Hierarchy () { }

View File

@@ -0,0 +1,110 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_Hierarchy_HeaderFile
#define _IGESBasic_Hierarchy_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <IGESData_IGESEntity.hxx>
class IGESBasic_Hierarchy;
DEFINE_STANDARD_HANDLE(IGESBasic_Hierarchy, IGESData_IGESEntity)
//! defines Hierarchy, Type <406> Form <10>
//! in package IGESBasic
//! Provides ability to control the hierarchy of each
//! directory entry attribute.
class IGESBasic_Hierarchy : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_Hierarchy();
//! This method is used to set the fields of the class
//! Hierarchy
//! - nbPropVal : Number of Property values = 6
//! - aLineFont : indicates the line font
//! - aView : indicates the view
//! - aEntityLevel : indicates the entity level
//! - aBlankStatus : indicates the blank status
//! - aLineWt : indicates the line weight
//! - aColorNum : indicates the color num
//! aLineFont, aView, aEntityLevel, aBlankStatus, aLineWt and
//! aColorNum can take 0 or 1.
//! 0 : The directory entry attribute will apply to entities
//! physically subordinate to this entity.
//! 1 : The directory entry attribute of this entity will not
//! apply to physically subordinate entities.
Standard_EXPORT void Init (const Standard_Integer nbPropVal, const Standard_Integer aLineFont, const Standard_Integer aView, const Standard_Integer anEntityLevel, const Standard_Integer aBlankStatus, const Standard_Integer aLineWt, const Standard_Integer aColorNum);
//! returns the number of property values, which should be 6
Standard_EXPORT Standard_Integer NbPropertyValues() const;
//! returns the line font
Standard_EXPORT Standard_Integer NewLineFont() const;
//! returns the view
Standard_EXPORT Standard_Integer NewView() const;
//! returns the entity level
Standard_EXPORT Standard_Integer NewEntityLevel() const;
//! returns the blank status
Standard_EXPORT Standard_Integer NewBlankStatus() const;
//! returns the line weight
Standard_EXPORT Standard_Integer NewLineWeight() const;
//! returns the color number
Standard_EXPORT Standard_Integer NewColorNum() const;
DEFINE_STANDARD_RTTI(IGESBasic_Hierarchy,IGESData_IGESEntity)
protected:
private:
Standard_Integer theNbPropertyValues;
Standard_Integer theLineFont;
Standard_Integer theView;
Standard_Integer theEntityLevel;
Standard_Integer theBlankStatus;
Standard_Integer theLineWeight;
Standard_Integer theColorNum;
};
#endif // _IGESBasic_Hierarchy_HeaderFile

View File

@@ -1,59 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class Name from IGESBasic inherits NameEntity
---Purpose: defines Name, Type <406> Form <15>
-- in package IGESBasic
-- Used to specify a user defined name
uses
HAsciiString from TCollection
is
Create returns Name;
-- Specific Methods pertaining to the class
Init (me : mutable; nbPropVal : Integer; aName : HAsciiString);
---Purpose : This method is used to set the fields of the class Name
-- - nbPropVal : Number of property values, always = 1
-- - aName : Stores the Name
NbPropertyValues (me) returns Integer ;
---Purpose : returns the number of property values, which should be 1
Value (me) returns HAsciiString from TCollection;
---Purpose : returns the user defined Name
fields
--
-- Class : IGESBasic_Name
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class Name.
--
-- Reminder : A Name instance is defined by :
-- - the number of property values (equal to 1)
-- - the name
theNbPropertyValues : Integer;
theName : HAsciiString from TCollection;
end Name;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_Name.ixx>
#include <IGESBasic_Name.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_Name::IGESBasic_Name () { }

View File

@@ -0,0 +1,78 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_Name_HeaderFile
#define _IGESBasic_Name_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <IGESData_NameEntity.hxx>
class TCollection_HAsciiString;
class IGESBasic_Name;
DEFINE_STANDARD_HANDLE(IGESBasic_Name, IGESData_NameEntity)
//! defines Name, Type <406> Form <15>
//! in package IGESBasic
//! Used to specify a user defined name
class IGESBasic_Name : public IGESData_NameEntity
{
public:
Standard_EXPORT IGESBasic_Name();
//! This method is used to set the fields of the class Name
//! - nbPropVal : Number of property values, always = 1
//! - aName : Stores the Name
Standard_EXPORT void Init (const Standard_Integer nbPropVal, const Handle(TCollection_HAsciiString)& aName);
//! returns the number of property values, which should be 1
Standard_EXPORT Standard_Integer NbPropertyValues() const;
//! returns the user defined Name
Standard_EXPORT Handle(TCollection_HAsciiString) Value() const;
DEFINE_STANDARD_RTTI(IGESBasic_Name,IGESData_NameEntity)
protected:
private:
Standard_Integer theNbPropertyValues;
Handle(TCollection_HAsciiString) theName;
};
#endif // _IGESBasic_Name_HeaderFile

View File

@@ -1,50 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class OrderedGroup from IGESBasic inherits Group
---Purpose: defines OrderedGroup, Type <402> Form <14>
-- in package IGESBasic
-- this class defines an Ordered Group with back pointers
-- Allows a collection of a set of entities to be
-- maintained as a single entity, but the group is
-- ordered.
-- It inherits from Group
uses
Transient ,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns OrderedGroup;
-- Specific Methods pertaining to the class : see Group
--
-- Class : IGESBasic_OrderedGroup
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class OrderedGroup.
--
-- Reminder : A OrderedGroup instance is defined by :
-- - an array of entities
-- See Group
end OrderedGroup;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_OrderedGroup.ixx>
#include <IGESBasic_OrderedGroup.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IGESBasic_OrderedGroup::IGESBasic_OrderedGroup ()
{ InitTypeAndForm(402,14); }

View File

@@ -0,0 +1,68 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_OrderedGroup_HeaderFile
#define _IGESBasic_OrderedGroup_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESBasic_Group.hxx>
class Standard_OutOfRange;
class IGESBasic_OrderedGroup;
DEFINE_STANDARD_HANDLE(IGESBasic_OrderedGroup, IGESBasic_Group)
//! defines OrderedGroup, Type <402> Form <14>
//! in package IGESBasic
//! this class defines an Ordered Group with back pointers
//! Allows a collection of a set of entities to be
//! maintained as a single entity, but the group is
//! ordered.
//! It inherits from Group
class IGESBasic_OrderedGroup : public IGESBasic_Group
{
public:
Standard_EXPORT IGESBasic_OrderedGroup();
DEFINE_STANDARD_RTTI(IGESBasic_OrderedGroup,IGESBasic_Group)
protected:
private:
};
#endif // _IGESBasic_OrderedGroup_HeaderFile

View File

@@ -1,49 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class OrderedGroupWithoutBackP from IGESBasic inherits Group
---Purpose: defines OrderedGroupWithoutBackP, Type <402> Form <15>
-- in package IGESBasic
-- Allows a collection of a set of entities to be
-- maintained as a single entity, but the group is
-- ordered and there are no back pointers.
-- It inherits from Group
uses
Transient ,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns OrderedGroupWithoutBackP;
-- Specific Methods pertaining to the class : see Group
--
-- Class : IGESBasic_OrderedGroupWithoutBackP
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class OrderedGroupWithoutBackP.
--
-- Reminder : A OrderedGroupWithoutBackP instance is defined by :
-- - an array of entities
-- See Group
end OrderedGroupWithoutBackP;

View File

@@ -16,8 +16,9 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_OrderedGroupWithoutBackP.ixx>
#include <IGESBasic_OrderedGroupWithoutBackP.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IGESBasic_OrderedGroupWithoutBackP::IGESBasic_OrderedGroupWithoutBackP ()
{ InitTypeAndForm(402,15); }

View File

@@ -0,0 +1,67 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_OrderedGroupWithoutBackP_HeaderFile
#define _IGESBasic_OrderedGroupWithoutBackP_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESBasic_Group.hxx>
class Standard_OutOfRange;
class IGESBasic_OrderedGroupWithoutBackP;
DEFINE_STANDARD_HANDLE(IGESBasic_OrderedGroupWithoutBackP, IGESBasic_Group)
//! defines OrderedGroupWithoutBackP, Type <402> Form <15>
//! in package IGESBasic
//! Allows a collection of a set of entities to be
//! maintained as a single entity, but the group is
//! ordered and there are no back pointers.
//! It inherits from Group
class IGESBasic_OrderedGroupWithoutBackP : public IGESBasic_Group
{
public:
Standard_EXPORT IGESBasic_OrderedGroupWithoutBackP();
DEFINE_STANDARD_RTTI(IGESBasic_OrderedGroupWithoutBackP,IGESBasic_Group)
protected:
private:
};
#endif // _IGESBasic_OrderedGroupWithoutBackP_HeaderFile

View File

@@ -1,41 +0,0 @@
-- Created on: 1993-05-05
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class Protocol from IGESBasic inherits Protocol from IGESData
---Purpose : Description of Protocol for IGESBasic
uses Type, Protocol from Interface
is
Create returns Protocol from IGESBasic;
NbResources (me) returns Integer is redefined;
---Purpose : Gives the count of Resource Protocol. Here, one
-- (Protocol from IGESData)
Resource (me; num : Integer) returns Protocol from Interface is redefined;
---Purpose : Returns a Resource, given a rank.
TypeNumber (me; atype : any Type) returns Integer is redefined;
---Purpose : Returns a Case Number, specific of each recognized Type
-- This Case Number is then used in Libraries : the various
-- Modules attached to this class of Protocol must use them
-- in accordance (for a given value of TypeNumber, they must
-- consider the same Type as the Protocol defines)
end Protocol;

View File

@@ -11,27 +11,28 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <IGESBasic_Protocol.ixx>
#include <IGESBasic_AssocGroupType.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <IGESBasic_ExternalRefName.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_Group.hxx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <IGESBasic_Hierarchy.hxx>
#include <IGESBasic_Name.hxx>
#include <IGESBasic_OrderedGroup.hxx>
#include <IGESBasic_OrderedGroupWithoutBackP.hxx>
#include <IGESBasic_Protocol.hxx>
#include <IGESBasic_SingleParent.hxx>
#include <IGESBasic_SingularSubfigure.hxx>
#include <IGESBasic_SubfigureDef.hxx>
#include <IGESData.hxx>
#include <IGESData_Protocol.hxx>
#include <Interface_Protocol.hxx>
#include <Standard_Type.hxx>
static int deja = 0;
static Handle(Standard_Type) atype01,atype02,atype03,atype04,atype05,atype06,

View File

@@ -0,0 +1,78 @@
// Created on: 1993-05-05
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_Protocol_HeaderFile
#define _IGESBasic_Protocol_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_Protocol.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Type.hxx>
class Interface_Protocol;
class IGESBasic_Protocol;
DEFINE_STANDARD_HANDLE(IGESBasic_Protocol, IGESData_Protocol)
//! Description of Protocol for IGESBasic
class IGESBasic_Protocol : public IGESData_Protocol
{
public:
Standard_EXPORT IGESBasic_Protocol();
//! Gives the count of Resource Protocol. Here, one
//! (Protocol from IGESData)
Standard_EXPORT virtual Standard_Integer NbResources() const Standard_OVERRIDE;
//! Returns a Resource, given a rank.
Standard_EXPORT virtual Handle(Interface_Protocol) Resource (const Standard_Integer num) const Standard_OVERRIDE;
//! Returns a Case Number, specific of each recognized Type
//! This Case Number is then used in Libraries : the various
//! Modules attached to this class of Protocol must use them
//! in accordance (for a given value of TypeNumber, they must
//! consider the same Type as the Protocol defines)
Standard_EXPORT virtual Standard_Integer TypeNumber (const Handle(Standard_Type)& atype) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(IGESBasic_Protocol,IGESData_Protocol)
protected:
private:
};
#endif // _IGESBasic_Protocol_HeaderFile

View File

@@ -1,45 +0,0 @@
-- Created on: 1993-09-06
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ReadWriteModule from IGESBasic inherits ReadWriteModule from IGESData
---Purpose : Defines basic File Access Module for IGESBasic (specific parts)
-- Specific actions concern : Read and Write Own Parameters of
-- an IGESEntity.
uses Transient, FileReaderData,
IGESEntity, DirPart, IGESReaderData, ParamReader, IGESWriter
raises DomainError
is
Create returns ReadWriteModule from IGESBasic;
---Purpose : Creates a ReadWriteModule & puts it into ReaderLib & WriterLib
CaseIGES (me; typenum, formnum : Integer) returns Integer;
---Purpose : Defines Case Numbers for Entities of IGESBasic
ReadOwnParams (me; CN : Integer; ent : IGESEntity;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError;
---Purpose : Reads own parameters from file for an Entity of IGESBasic
WriteOwnParams (me; CN : Integer; ent : IGESEntity;
IW : in out IGESWriter);
---Purpose : Writes own parameters to IGESWriter
end ReadWriteModule;

View File

@@ -11,33 +11,31 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <IGESBasic_ReadWriteModule.ixx>
#include <Interface_Macros.hxx>
#include <IGESBasic_AssocGroupType.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <IGESBasic_ExternalRefName.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_Group.hxx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <IGESBasic_Hierarchy.hxx>
#include <IGESBasic_Name.hxx>
#include <IGESBasic_OrderedGroup.hxx>
#include <IGESBasic_OrderedGroupWithoutBackP.hxx>
#include <IGESBasic_ReadWriteModule.hxx>
#include <IGESBasic_SingleParent.hxx>
#include <IGESBasic_SingularSubfigure.hxx>
#include <IGESBasic_SubfigureDef.hxx>
#include <IGESBasic_ToolAssocGroupType.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolExternalRefFile.hxx>
#include <IGESBasic_ToolExternalRefFileIndex.hxx>
#include <IGESBasic_ToolExternalRefFileName.hxx>
#include <IGESBasic_ToolExternalRefLibName.hxx>
#include <IGESBasic_ToolExternalRefName.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolGroup.hxx>
#include <IGESBasic_ToolGroupWithoutBackP.hxx>
#include <IGESBasic_ToolHierarchy.hxx>
@@ -47,14 +45,17 @@
#include <IGESBasic_ToolSingleParent.hxx>
#include <IGESBasic_ToolSingularSubfigure.hxx>
#include <IGESBasic_ToolSubfigureDef.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Macros.hxx>
#include <Standard_DomainError.hxx>
#include <Standard_Type.hxx>
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol
IGESBasic_ReadWriteModule::IGESBasic_ReadWriteModule () { }

View File

@@ -0,0 +1,79 @@
// Created on: 1993-09-06
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ReadWriteModule_HeaderFile
#define _IGESBasic_ReadWriteModule_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_ReadWriteModule.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESData_IGESEntity;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class IGESBasic_ReadWriteModule;
DEFINE_STANDARD_HANDLE(IGESBasic_ReadWriteModule, IGESData_ReadWriteModule)
//! Defines basic File Access Module for IGESBasic (specific parts)
//! Specific actions concern : Read and Write Own Parameters of
//! an IGESEntity.
class IGESBasic_ReadWriteModule : public IGESData_ReadWriteModule
{
public:
//! Creates a ReadWriteModule & puts it into ReaderLib & WriterLib
Standard_EXPORT IGESBasic_ReadWriteModule();
//! Defines Case Numbers for Entities of IGESBasic
Standard_EXPORT Standard_Integer CaseIGES (const Standard_Integer typenum, const Standard_Integer formnum) const;
//! Reads own parameters from file for an Entity of IGESBasic
Standard_EXPORT void ReadOwnParams (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, IGESData_IGESWriter& IW) const;
DEFINE_STANDARD_RTTI(IGESBasic_ReadWriteModule,IGESData_ReadWriteModule)
protected:
private:
};
#endif // _IGESBasic_ReadWriteModule_HeaderFile

View File

@@ -1,79 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class SingleParent from IGESBasic inherits SingleParentEntity
---Purpose: defines SingleParent, Type <402> Form <9>
-- in package IGESBasic
-- It defines a logical structure of one independent
-- (parent) entity and one or more subordinate (children)
-- entities
uses
IGESEntity,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns SingleParent;
-- Specific Methods pertaining to the class
Init (me : mutable;
nbParentEntities : Integer;
aParentEntity : IGESEntity;
allChildren : HArray1OfIGESEntity);
---Purpose : This method is used to set the fields of the class
-- SingleParent
-- - nbParentEntities : Indicates number of Parents, always = 1
-- - aParentEntity : Used to hold the Parent Entity
-- - allChildren : Used to hold the children
NbParentEntities (me) returns Integer;
---Purpose : returns the number of Parent Entities, which should be 1
SingleParent (me) returns IGESEntity;
---Purpose : Returns the Parent Entity (inherited method)
NbChildren (me) returns Integer;
---Purpose : returns the number of children of the Parent
Child (me; Index : Integer) returns IGESEntity
raises OutOfRange;
---Purpose : returns the specific child as indicated by Index
-- raises exception if Index <= 0 or Index > NbChildren()
fields
--
-- Class : IGESBasic_SingleParent
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class SingleParent.
--
-- Reminder : A SingleParent instance is defined by :
-- - number of parents (equal to 1)
-- - the parent entity
-- - the children entities
theNbParentEntities : Integer;
theParentEntity : IGESEntity;
theChildren : HArray1OfIGESEntity;
end SingleParent;

View File

@@ -16,9 +16,11 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_SingleParent.ixx>
#include <IGESBasic_SingleParent.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_DimensionMismatch.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Type.hxx>
IGESBasic_SingleParent::IGESBasic_SingleParent () { }

View File

@@ -0,0 +1,92 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_SingleParent_HeaderFile
#define _IGESBasic_SingleParent_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_SingleParentEntity.hxx>
class IGESData_IGESEntity;
class Standard_OutOfRange;
class IGESBasic_SingleParent;
DEFINE_STANDARD_HANDLE(IGESBasic_SingleParent, IGESData_SingleParentEntity)
//! defines SingleParent, Type <402> Form <9>
//! in package IGESBasic
//! It defines a logical structure of one independent
//! (parent) entity and one or more subordinate (children)
//! entities
class IGESBasic_SingleParent : public IGESData_SingleParentEntity
{
public:
Standard_EXPORT IGESBasic_SingleParent();
//! This method is used to set the fields of the class
//! SingleParent
//! - nbParentEntities : Indicates number of Parents, always = 1
//! - aParentEntity : Used to hold the Parent Entity
//! - allChildren : Used to hold the children
Standard_EXPORT void Init (const Standard_Integer nbParentEntities, const Handle(IGESData_IGESEntity)& aParentEntity, const Handle(IGESData_HArray1OfIGESEntity)& allChildren);
//! returns the number of Parent Entities, which should be 1
Standard_EXPORT Standard_Integer NbParentEntities() const;
//! Returns the Parent Entity (inherited method)
Standard_EXPORT Handle(IGESData_IGESEntity) SingleParent() const;
//! returns the number of children of the Parent
Standard_EXPORT Standard_Integer NbChildren() const;
//! returns the specific child as indicated by Index
//! raises exception if Index <= 0 or Index > NbChildren()
Standard_EXPORT Handle(IGESData_IGESEntity) Child (const Standard_Integer Index) const;
DEFINE_STANDARD_RTTI(IGESBasic_SingleParent,IGESData_SingleParentEntity)
protected:
private:
Standard_Integer theNbParentEntities;
Handle(IGESData_IGESEntity) theParentEntity;
Handle(IGESData_HArray1OfIGESEntity) theChildren;
};
#endif // _IGESBasic_SingleParent_HeaderFile

View File

@@ -1,83 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class SingularSubfigure from IGESBasic inherits IGESEntity
---Purpose: defines SingularSubfigure, Type <408> Form <0>
-- in package IGESBasic
-- Defines the occurrence of a single instance of the
-- defined Subfigure.
uses
SubfigureDef from IGESBasic,
XYZ from gp
is
Create returns SingularSubfigure;
-- Specific Methods pertaining to the class
Init (me : mutable;
aSubfigureDef : SubfigureDef;
aTranslation : XYZ;
hasScale : Boolean;
aScale : Real);
---Purpose : This method is used to set the fields of the class
-- SingularSubfigure
-- - aSubfigureDef : the Subfigure Definition entity
-- - aTranslation : used to store the X,Y,Z coord
-- - hasScale : Indicates the presence of scale factor
-- - aScale : Used to store the scale factor
Subfigure (me) returns SubfigureDef;
---Purpose : returns the subfigure definition entity
Translation (me) returns XYZ;
---Purpose : returns the X, Y, Z coordinates
ScaleFactor (me) returns Real;
---Purpose : returns the scale factor
-- if hasScaleFactor is False, returns 1.0 (default)
HasScaleFactor (me) returns Boolean;
---Purpose : returns a boolean indicating whether scale factor
-- is present or not
TransformedTranslation (me) returns XYZ;
---Purpose : returns the Translation after transformation
fields
--
-- Class : IGESBasic_SingularSubfigure
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class SingularSubfigure.
--
-- Reminder : A SingularSubfigure instance is defined by :
-- - the Subfigure Definition entity
-- - the X, Y, Z coordinates
-- - the scale factor
-- - indicator of the presence of scale factor
theSubfigureDef : SubfigureDef;
theTranslation : XYZ from gp;
theScaleFactor : Real;
hasScaleFactor : Boolean;
end SingularSubfigure;

View File

@@ -16,9 +16,11 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_SingularSubfigure.ixx>
#include <gp_GTrsf.hxx>
#include <gp_XYZ.hxx>
#include <IGESBasic_SingularSubfigure.hxx>
#include <IGESBasic_SubfigureDef.hxx>
#include <Standard_Type.hxx>
IGESBasic_SingularSubfigure::IGESBasic_SingularSubfigure () { }

View File

@@ -0,0 +1,98 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_SingularSubfigure_HeaderFile
#define _IGESBasic_SingularSubfigure_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <gp_XYZ.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <IGESData_IGESEntity.hxx>
class IGESBasic_SubfigureDef;
class gp_XYZ;
class IGESBasic_SingularSubfigure;
DEFINE_STANDARD_HANDLE(IGESBasic_SingularSubfigure, IGESData_IGESEntity)
//! defines SingularSubfigure, Type <408> Form <0>
//! in package IGESBasic
//! Defines the occurrence of a single instance of the
//! defined Subfigure.
class IGESBasic_SingularSubfigure : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_SingularSubfigure();
//! This method is used to set the fields of the class
//! SingularSubfigure
//! - aSubfigureDef : the Subfigure Definition entity
//! - aTranslation : used to store the X,Y,Z coord
//! - hasScale : Indicates the presence of scale factor
//! - aScale : Used to store the scale factor
Standard_EXPORT void Init (const Handle(IGESBasic_SubfigureDef)& aSubfigureDef, const gp_XYZ& aTranslation, const Standard_Boolean hasScale, const Standard_Real aScale);
//! returns the subfigure definition entity
Standard_EXPORT Handle(IGESBasic_SubfigureDef) Subfigure() const;
//! returns the X, Y, Z coordinates
Standard_EXPORT gp_XYZ Translation() const;
//! returns the scale factor
//! if hasScaleFactor is False, returns 1.0 (default)
Standard_EXPORT Standard_Real ScaleFactor() const;
//! returns a boolean indicating whether scale factor
//! is present or not
Standard_EXPORT Standard_Boolean HasScaleFactor() const;
//! returns the Translation after transformation
Standard_EXPORT gp_XYZ TransformedTranslation() const;
DEFINE_STANDARD_RTTI(IGESBasic_SingularSubfigure,IGESData_IGESEntity)
protected:
private:
Handle(IGESBasic_SubfigureDef) theSubfigureDef;
gp_XYZ theTranslation;
Standard_Real theScaleFactor;
Standard_Boolean hasScaleFactor;
};
#endif // _IGESBasic_SingularSubfigure_HeaderFile

View File

@@ -1,39 +0,0 @@
-- Created on: 1993-09-07
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class SpecificModule from IGESBasic inherits SpecificModule from IGESData
---Purpose : Defines Services attached to IGES Entities :
-- Dump & OwnCorrect, for IGESBasic
uses IGESEntity, IGESDumper,
Messenger from Message
is
Create returns SpecificModule from IGESBasic;
---Purpose : Creates a SpecificModule from IGESBasic & puts it into SpecificLib
OwnDump (me; CN : Integer; ent : IGESEntity;
dumper : IGESDumper; S : Messenger from Message; own : Integer);
---Purpose : Specific Dump (own parameters) for IGESBasic
OwnCorrect (me; CN : Integer; ent : IGESEntity)
returns Boolean is redefined;
---Purpose : Performs non-ambiguous Corrections on Entities which support
-- them (AssocGroupType,Hierarchy,Name,SingleParent)
end SpecificModule;

View File

@@ -11,16 +11,14 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#include <IGESBasic_SpecificModule.ixx>
#include <Interface_Macros.hxx>
#include <IGESBasic_AssocGroupType.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <IGESBasic_ExternalRefName.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_Group.hxx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <IGESBasic_Hierarchy.hxx>
@@ -29,15 +27,15 @@
#include <IGESBasic_OrderedGroupWithoutBackP.hxx>
#include <IGESBasic_SingleParent.hxx>
#include <IGESBasic_SingularSubfigure.hxx>
#include <IGESBasic_SpecificModule.hxx>
#include <IGESBasic_SubfigureDef.hxx>
#include <IGESBasic_ToolAssocGroupType.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolExternalRefFile.hxx>
#include <IGESBasic_ToolExternalRefFileIndex.hxx>
#include <IGESBasic_ToolExternalRefFileName.hxx>
#include <IGESBasic_ToolExternalRefLibName.hxx>
#include <IGESBasic_ToolExternalRefName.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESBasic_ToolGroup.hxx>
#include <IGESBasic_ToolGroupWithoutBackP.hxx>
#include <IGESBasic_ToolHierarchy.hxx>
@@ -47,14 +45,15 @@
#include <IGESBasic_ToolSingleParent.hxx>
#include <IGESBasic_ToolSingularSubfigure.hxx>
#include <IGESBasic_ToolSubfigureDef.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Interface_Macros.hxx>
#include <Message_Messenger.hxx>
#include <Standard_Type.hxx>
// Each Module is attached to a Protocol : it must interprete Case Numbers
// (arguments <CN> of various methods) in accordance to values returned by
// the method TypeNumber from this Protocol
IGESBasic_SpecificModule::IGESBasic_SpecificModule() { }

View File

@@ -0,0 +1,75 @@
// Created on: 1993-09-07
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_SpecificModule_HeaderFile
#define _IGESBasic_SpecificModule_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <IGESData_SpecificModule.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
class IGESData_IGESEntity;
class IGESData_IGESDumper;
class Message_Messenger;
class IGESBasic_SpecificModule;
DEFINE_STANDARD_HANDLE(IGESBasic_SpecificModule, IGESData_SpecificModule)
//! Defines Services attached to IGES Entities :
//! Dump & OwnCorrect, for IGESBasic
class IGESBasic_SpecificModule : public IGESData_SpecificModule
{
public:
//! Creates a SpecificModule from IGESBasic & puts it into SpecificLib
Standard_EXPORT IGESBasic_SpecificModule();
//! Specific Dump (own parameters) for IGESBasic
Standard_EXPORT void OwnDump (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
//! Performs non-ambiguous Corrections on Entities which support
//! them (AssocGroupType,Hierarchy,Name,SingleParent)
Standard_EXPORT virtual Standard_Boolean OwnCorrect (const Standard_Integer CN, const Handle(IGESData_IGESEntity)& ent) const Standard_OVERRIDE;
DEFINE_STANDARD_RTTI(IGESBasic_SpecificModule,IGESData_SpecificModule)
protected:
private:
};
#endif // _IGESBasic_SpecificModule_HeaderFile

View File

@@ -1,86 +0,0 @@
-- Created on: 1993-01-09
-- Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
-- Copyright (c) 1993-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.
class SubfigureDef from IGESBasic inherits IGESEntity
---Purpose: defines SubfigureDef, Type <308> Form <0>
-- in package IGESBasic
-- This Entity permits a single definition of a detail to
-- be utilized in multiple instances in the creation of
-- the whole picture
uses
HAsciiString from TCollection,
Transient ,
HArray1OfIGESEntity from IGESData
raises OutOfRange
is
Create returns SubfigureDef;
-- Specific Methods pertaining to the class
Init (me : mutable;
aDepth : Integer;
aName : HAsciiString;
allAssocEntities : HArray1OfIGESEntity);
---Purpose : This method is used to set the fields of the class
-- SubfigureDef
-- - aDepth : It indicates the amount of nesting
-- - aName : the subfigure name
-- - allAssocEntities : the associated entities
Depth (me) returns Integer;
---Purpose : returns depth of the Subfigure
-- if theDepth = 0 - No reference to any subfigure instance.
Name (me) returns HAsciiString from TCollection;
---Purpose : returns the name of Subfigure
NbEntities (me) returns Integer;
---Purpose : returns number of entities. Is greater than or equal to zero.
AssociatedEntity (me; Index : Integer) returns IGESEntity
raises OutOfRange;
---Purpose : returns the specific entity as indicated by Index
-- raises exception if Index <= 0 or Index > NbEntities()
Value (me; Index : Integer) returns Transient
raises OutOfRange;
---Purpose : returns the specific entity as indicated by Index
-- raises exception if Index <= 0 or Index > NbEntities()
fields
--
-- Class : IGESBasic_SubfigureDef
--
-- Purpose : Declaration of variables specific to the definition
-- of the Class SubfigureDef.
--
-- Reminder : A SubfigureDef instance is defined by :
-- - indicates the amount of nesting
-- - the subfigure name
-- - the associated entities
theDepth : Integer;
theName : HAsciiString from TCollection;
theAssocEntities : HArray1OfIGESEntity;
end SubfigureDef;

View File

@@ -16,9 +16,13 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_SubfigureDef.ixx>
#include <IGESBasic_SubfigureDef.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_DimensionMismatch.hxx>
#include <Standard_OutOfRange.hxx>
#include <Standard_Transient.hxx>
#include <Standard_Type.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_SubfigureDef::IGESBasic_SubfigureDef () { }

View File

@@ -0,0 +1,99 @@
// Created on: 1993-01-09
// Created by: CKY / Contract Toubro-Larsen ( Arun MENON )
// Copyright (c) 1993-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 _IGESBasic_SubfigureDef_HeaderFile
#define _IGESBasic_SubfigureDef_HeaderFile
#include <Standard.hxx>
#include <Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESEntity.hxx>
class TCollection_HAsciiString;
class Standard_OutOfRange;
class IGESData_IGESEntity;
class Standard_Transient;
class IGESBasic_SubfigureDef;
DEFINE_STANDARD_HANDLE(IGESBasic_SubfigureDef, IGESData_IGESEntity)
//! defines SubfigureDef, Type <308> Form <0>
//! in package IGESBasic
//! This Entity permits a single definition of a detail to
//! be utilized in multiple instances in the creation of
//! the whole picture
class IGESBasic_SubfigureDef : public IGESData_IGESEntity
{
public:
Standard_EXPORT IGESBasic_SubfigureDef();
//! This method is used to set the fields of the class
//! SubfigureDef
//! - aDepth : It indicates the amount of nesting
//! - aName : the subfigure name
//! - allAssocEntities : the associated entities
Standard_EXPORT void Init (const Standard_Integer aDepth, const Handle(TCollection_HAsciiString)& aName, const Handle(IGESData_HArray1OfIGESEntity)& allAssocEntities);
//! returns depth of the Subfigure
//! if theDepth = 0 - No reference to any subfigure instance.
Standard_EXPORT Standard_Integer Depth() const;
//! returns the name of Subfigure
Standard_EXPORT Handle(TCollection_HAsciiString) Name() const;
//! returns number of entities. Is greater than or equal to zero.
Standard_EXPORT Standard_Integer NbEntities() const;
//! returns the specific entity as indicated by Index
//! raises exception if Index <= 0 or Index > NbEntities()
Standard_EXPORT Handle(IGESData_IGESEntity) AssociatedEntity (const Standard_Integer Index) const;
//! returns the specific entity as indicated by Index
//! raises exception if Index <= 0 or Index > NbEntities()
Standard_EXPORT Handle(Standard_Transient) Value (const Standard_Integer Index) const;
DEFINE_STANDARD_RTTI(IGESBasic_SubfigureDef,IGESData_IGESEntity)
protected:
private:
Standard_Integer theDepth;
Handle(TCollection_HAsciiString) theName;
Handle(IGESData_HArray1OfIGESEntity) theAssocEntities;
};
#endif // _IGESBasic_SubfigureDef_HeaderFile

View File

@@ -1,72 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolAssocGroupType from IGESBasic
---Purpose : Tool to work on a AssocGroupType. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses AssocGroupType from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolAssocGroupType;
---Purpose : Returns a ToolAssocGroupType, ready to work
ReadOwnParams (me; ent : AssocGroupType;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : AssocGroupType;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : AssocGroupType;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a AssocGroupType <ent>, from
-- its specific (own) parameters
OwnCorrect (me; ent : AssocGroupType) returns Boolean is static;
---Purpose : Sets automatic unambiguous Correction on a AssocGroupType
-- (NbData forced to 2)
DirChecker (me; ent : AssocGroupType) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : AssocGroupType;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : AssocGroupType; entto : AssocGroupType;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : AssocGroupType;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolAssocGroupType;

View File

@@ -16,12 +16,23 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolAssocGroupType.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <IGESBasic_AssocGroupType.hxx>
#include <IGESBasic_ToolAssocGroupType.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolAssocGroupType::IGESBasic_ToolAssocGroupType () { }

View File

@@ -0,0 +1,102 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolAssocGroupType_HeaderFile
#define _IGESBasic_ToolAssocGroupType_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_AssocGroupType;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a AssocGroupType. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolAssocGroupType
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolAssocGroupType, ready to work
Standard_EXPORT IGESBasic_ToolAssocGroupType();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_AssocGroupType)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_AssocGroupType)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a AssocGroupType <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_AssocGroupType)& ent, Interface_EntityIterator& iter) const;
//! Sets automatic unambiguous Correction on a AssocGroupType
//! (NbData forced to 2)
Standard_EXPORT Standard_Boolean OwnCorrect (const Handle(IGESBasic_AssocGroupType)& ent) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_AssocGroupType)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_AssocGroupType)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_AssocGroupType)& entfrom, const Handle(IGESBasic_AssocGroupType)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_AssocGroupType)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolAssocGroupType_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalRefFile from IGESBasic
---Purpose : Tool to work on a ExternalRefFile. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalRefFile from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalRefFile;
---Purpose : Returns a ToolExternalRefFile, ready to work
ReadOwnParams (me; ent : ExternalRefFile;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalRefFile;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalRefFile;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalRefFile <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalRefFile) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalRefFile;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalRefFile; entto : ExternalRefFile;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalRefFile;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalRefFile;

View File

@@ -16,12 +16,23 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalRefFile.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <IGESBasic_ExternalRefFile.hxx>
#include <IGESBasic_ToolExternalRefFile.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalRefFile::IGESBasic_ToolExternalRefFile () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalRefFile_HeaderFile
#define _IGESBasic_ToolExternalRefFile_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalRefFile;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalRefFile. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalRefFile
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalRefFile, ready to work
Standard_EXPORT IGESBasic_ToolExternalRefFile();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalRefFile)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalRefFile)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalRefFile <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalRefFile)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalRefFile)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalRefFile)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalRefFile)& entfrom, const Handle(IGESBasic_ExternalRefFile)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalRefFile)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalRefFile_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalRefFileIndex from IGESBasic
---Purpose : Tool to work on a ExternalRefFileIndex. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalRefFileIndex from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalRefFileIndex;
---Purpose : Returns a ToolExternalRefFileIndex, ready to work
ReadOwnParams (me; ent : ExternalRefFileIndex;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalRefFileIndex;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalRefFileIndex;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalRefFileIndex <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalRefFileIndex) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalRefFileIndex;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalRefFileIndex; entto : ExternalRefFileIndex;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalRefFileIndex;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalRefFileIndex;

View File

@@ -16,15 +16,26 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalRefFileIndex.ixx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_IGESEntity.hxx>
#include <TCollection_HAsciiString.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <IGESBasic_ExternalRefFileIndex.hxx>
#include <IGESBasic_ToolExternalRefFileIndex.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalRefFileIndex::IGESBasic_ToolExternalRefFileIndex () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalRefFileIndex_HeaderFile
#define _IGESBasic_ToolExternalRefFileIndex_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalRefFileIndex;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalRefFileIndex. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalRefFileIndex
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalRefFileIndex, ready to work
Standard_EXPORT IGESBasic_ToolExternalRefFileIndex();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalRefFileIndex)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalRefFileIndex)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalRefFileIndex <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalRefFileIndex)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalRefFileIndex)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalRefFileIndex)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalRefFileIndex)& entfrom, const Handle(IGESBasic_ExternalRefFileIndex)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalRefFileIndex)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalRefFileIndex_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalRefFileName from IGESBasic
---Purpose : Tool to work on a ExternalRefFileName. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalRefFileName from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalRefFileName;
---Purpose : Returns a ToolExternalRefFileName, ready to work
ReadOwnParams (me; ent : ExternalRefFileName;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalRefFileName;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalRefFileName;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalRefFileName <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalRefFileName) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalRefFileName;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalRefFileName; entto : ExternalRefFileName;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalRefFileName;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalRefFileName;

View File

@@ -16,12 +16,23 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalRefFileName.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <IGESBasic_ExternalRefFileName.hxx>
#include <IGESBasic_ToolExternalRefFileName.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalRefFileName::IGESBasic_ToolExternalRefFileName () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalRefFileName_HeaderFile
#define _IGESBasic_ToolExternalRefFileName_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalRefFileName;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalRefFileName. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalRefFileName
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalRefFileName, ready to work
Standard_EXPORT IGESBasic_ToolExternalRefFileName();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalRefFileName)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalRefFileName)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalRefFileName <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalRefFileName)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalRefFileName)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalRefFileName)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalRefFileName)& entfrom, const Handle(IGESBasic_ExternalRefFileName)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalRefFileName)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalRefFileName_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalRefLibName from IGESBasic
---Purpose : Tool to work on a ExternalRefLibName. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalRefLibName from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalRefLibName;
---Purpose : Returns a ToolExternalRefLibName, ready to work
ReadOwnParams (me; ent : ExternalRefLibName;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalRefLibName;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalRefLibName;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalRefLibName <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalRefLibName) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalRefLibName;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalRefLibName; entto : ExternalRefLibName;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalRefLibName;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalRefLibName;

View File

@@ -16,12 +16,23 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalRefLibName.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <IGESBasic_ExternalRefLibName.hxx>
#include <IGESBasic_ToolExternalRefLibName.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalRefLibName::IGESBasic_ToolExternalRefLibName () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalRefLibName_HeaderFile
#define _IGESBasic_ToolExternalRefLibName_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalRefLibName;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalRefLibName. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalRefLibName
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalRefLibName, ready to work
Standard_EXPORT IGESBasic_ToolExternalRefLibName();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalRefLibName)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalRefLibName)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalRefLibName <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalRefLibName)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalRefLibName)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalRefLibName)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalRefLibName)& entfrom, const Handle(IGESBasic_ExternalRefLibName)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalRefLibName)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalRefLibName_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalRefName from IGESBasic
---Purpose : Tool to work on a ExternalRefName. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalRefName from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalRefName;
---Purpose : Returns a ToolExternalRefName, ready to work
ReadOwnParams (me; ent : ExternalRefName;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalRefName;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalRefName;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalRefName <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalRefName) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalRefName;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalRefName; entto : ExternalRefName;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalRefName;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalRefName;

View File

@@ -16,12 +16,23 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalRefName.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <IGESBasic_ExternalRefName.hxx>
#include <IGESBasic_ToolExternalRefName.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalRefName::IGESBasic_ToolExternalRefName () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalRefName_HeaderFile
#define _IGESBasic_ToolExternalRefName_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalRefName;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalRefName. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalRefName
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalRefName, ready to work
Standard_EXPORT IGESBasic_ToolExternalRefName();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalRefName)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalRefName)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalRefName <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalRefName)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalRefName)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalRefName)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalRefName)& entfrom, const Handle(IGESBasic_ExternalRefName)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalRefName)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalRefName_HeaderFile

View File

@@ -1,68 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolExternalReferenceFile from IGESBasic
---Purpose : Tool to work on a ExternalReferenceFile. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses ExternalReferenceFile from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolExternalReferenceFile;
---Purpose : Returns a ToolExternalReferenceFile, ready to work
ReadOwnParams (me; ent : ExternalReferenceFile;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : ExternalReferenceFile;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : ExternalReferenceFile;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a ExternalReferenceFile <ent>, from
-- its specific (own) parameters
DirChecker (me; ent : ExternalReferenceFile) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : ExternalReferenceFile;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : ExternalReferenceFile; entto : ExternalReferenceFile;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : ExternalReferenceFile;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolExternalReferenceFile;

View File

@@ -16,13 +16,24 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolExternalReferenceFile.ixx>
#include <IGESData_ParamCursor.hxx>
#include <TCollection_HAsciiString.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <IGESBasic_ExternalReferenceFile.hxx>
#include <IGESBasic_ToolExternalReferenceFile.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_HArray1OfHAsciiString.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Standard_DomainError.hxx>
#include <TCollection_HAsciiString.hxx>
IGESBasic_ToolExternalReferenceFile::IGESBasic_ToolExternalReferenceFile () { }

View File

@@ -0,0 +1,97 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolExternalReferenceFile_HeaderFile
#define _IGESBasic_ToolExternalReferenceFile_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_ExternalReferenceFile;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a ExternalReferenceFile. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolExternalReferenceFile
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolExternalReferenceFile, ready to work
Standard_EXPORT IGESBasic_ToolExternalReferenceFile();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_ExternalReferenceFile)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_ExternalReferenceFile)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a ExternalReferenceFile <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_ExternalReferenceFile)& ent, Interface_EntityIterator& iter) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_ExternalReferenceFile)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_ExternalReferenceFile)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_ExternalReferenceFile)& entfrom, const Handle(IGESBasic_ExternalReferenceFile)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_ExternalReferenceFile)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolExternalReferenceFile_HeaderFile

View File

@@ -1,72 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolGroup from IGESBasic
---Purpose : Tool to work on a Group. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses Group from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolGroup;
---Purpose : Returns a ToolGroup, ready to work
ReadOwnParams (me; ent : Group;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : Group;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : Group;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a Group <ent>, from
-- its specific (own) parameters
OwnCorrect (me; ent : Group) returns Boolean is static;
---Purpose : Sets automatic unambiguous Correction on a Group
-- (Null Elements are removed from list)
DirChecker (me; ent : Group) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : Group;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : Group; entto : Group;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : Group;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolGroup;

View File

@@ -16,18 +16,27 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolGroup.ixx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESBasic_Group.hxx>
#include <IGESBasic_ToolGroup.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Message_Msg.hxx>
#include <Standard_DomainError.hxx>
// MGE 03/08/98
#include <Message_Msg.hxx>
IGESBasic_ToolGroup::IGESBasic_ToolGroup () { }

View File

@@ -0,0 +1,102 @@
// Created on: 1993-10-14
// Created by: Christian CAILLET
// Copyright (c) 1993-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 _IGESBasic_ToolGroup_HeaderFile
#define _IGESBasic_ToolGroup_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Integer.hxx>
class Standard_DomainError;
class IGESBasic_Group;
class IGESData_IGESReaderData;
class IGESData_ParamReader;
class IGESData_IGESWriter;
class Interface_EntityIterator;
class IGESData_DirChecker;
class Interface_ShareTool;
class Interface_Check;
class Interface_CopyTool;
class IGESData_IGESDumper;
class Message_Messenger;
//! Tool to work on a Group. Called by various Modules
//! (ReadWriteModule, GeneralModule, SpecificModule)
class IGESBasic_ToolGroup
{
public:
DEFINE_STANDARD_ALLOC
//! Returns a ToolGroup, ready to work
Standard_EXPORT IGESBasic_ToolGroup();
//! Reads own parameters from file. <PR> gives access to them,
//! <IR> detains parameter types and values
Standard_EXPORT void ReadOwnParams (const Handle(IGESBasic_Group)& ent, const Handle(IGESData_IGESReaderData)& IR, IGESData_ParamReader& PR) const;
//! Writes own parameters to IGESWriter
Standard_EXPORT void WriteOwnParams (const Handle(IGESBasic_Group)& ent, IGESData_IGESWriter& IW) const;
//! Lists the Entities shared by a Group <ent>, from
//! its specific (own) parameters
Standard_EXPORT void OwnShared (const Handle(IGESBasic_Group)& ent, Interface_EntityIterator& iter) const;
//! Sets automatic unambiguous Correction on a Group
//! (Null Elements are removed from list)
Standard_EXPORT Standard_Boolean OwnCorrect (const Handle(IGESBasic_Group)& ent) const;
//! Returns specific DirChecker
Standard_EXPORT IGESData_DirChecker DirChecker (const Handle(IGESBasic_Group)& ent) const;
//! Performs Specific Semantic Check
Standard_EXPORT void OwnCheck (const Handle(IGESBasic_Group)& ent, const Interface_ShareTool& shares, Handle(Interface_Check)& ach) const;
//! Copies Specific Parameters
Standard_EXPORT void OwnCopy (const Handle(IGESBasic_Group)& entfrom, const Handle(IGESBasic_Group)& entto, Interface_CopyTool& TC) const;
//! Dump of Specific Parameters
Standard_EXPORT void OwnDump (const Handle(IGESBasic_Group)& ent, const IGESData_IGESDumper& dumper, const Handle(Message_Messenger)& S, const Standard_Integer own) const;
protected:
private:
};
#endif // _IGESBasic_ToolGroup_HeaderFile

View File

@@ -1,72 +0,0 @@
-- Created on: 1993-10-14
-- Created by: Christian CAILLET
-- Copyright (c) 1993-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.
class ToolGroupWithoutBackP from IGESBasic
---Purpose : Tool to work on a GroupWithoutBackP. Called by various Modules
-- (ReadWriteModule, GeneralModule, SpecificModule)
uses GroupWithoutBackP from IGESBasic,
IGESReaderData, ParamReader, IGESWriter, EntityIterator,
DirChecker, ShareTool, Check, CopyTool, IGESDumper, Messenger from Message
raises DomainError
is
Create returns ToolGroupWithoutBackP;
---Purpose : Returns a ToolGroupWithoutBackP, ready to work
ReadOwnParams (me; ent : GroupWithoutBackP;
IR : IGESReaderData; PR : in out ParamReader)
raises DomainError is static;
---Purpose : Reads own parameters from file. <PR> gives access to them,
-- <IR> detains parameter types and values
WriteOwnParams (me; ent : GroupWithoutBackP;
IW : in out IGESWriter) is static;
---Purpose : Writes own parameters to IGESWriter
OwnShared (me; ent : GroupWithoutBackP;
iter : in out EntityIterator) is static;
---Purpose : Lists the Entities shared by a GroupWithoutBackP <ent>, from
-- its specific (own) parameters
OwnCorrect (me; ent : GroupWithoutBackP) returns Boolean is static;
---Purpose : Sets automatic unambiguous Correction on a GroupWithoutBackP
-- (Null Elements are removed from list)
DirChecker (me; ent : GroupWithoutBackP) returns DirChecker is static;
---Purpose : Returns specific DirChecker
OwnCheck (me; ent : GroupWithoutBackP;
shares : ShareTool; ach : in out Check) is static;
---Purpose : Performs Specific Semantic Check
OwnCopy (me; entfrom : GroupWithoutBackP; entto : GroupWithoutBackP;
TC : in out CopyTool) is static;
---Purpose : Copies Specific Parameters
OwnDump (me; ent : GroupWithoutBackP;
dumper : IGESDumper; S : Messenger from Message; own : Integer)
is static;
---Purpose : Dump of Specific Parameters
end ToolGroupWithoutBackP;

View File

@@ -16,17 +16,27 @@
//--------------------------------------------------------------------
//--------------------------------------------------------------------
#include <IGESBasic_ToolGroupWithoutBackP.ixx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESBasic_GroupWithoutBackP.hxx>
#include <IGESBasic_ToolGroupWithoutBackP.hxx>
#include <IGESData_DirChecker.hxx>
#include <IGESData_Dump.hxx>
#include <IGESData_HArray1OfIGESEntity.hxx>
#include <IGESData_IGESDumper.hxx>
#include <IGESData_IGESEntity.hxx>
#include <IGESData_IGESReaderData.hxx>
#include <IGESData_IGESWriter.hxx>
#include <IGESData_ParamCursor.hxx>
#include <IGESData_ParamReader.hxx>
#include <Interface_Check.hxx>
#include <Interface_CopyTool.hxx>
#include <Interface_EntityIterator.hxx>
#include <Interface_Macros.hxx>
#include <Interface_ShareTool.hxx>
#include <Message_Messenger.hxx>
#include <Message_Msg.hxx>
#include <Standard_DomainError.hxx>
// MGE 03/08/98
#include <Message_Msg.hxx>
IGESBasic_ToolGroupWithoutBackP::IGESBasic_ToolGroupWithoutBackP () { }

Some files were not shown because too many files have changed in this diff Show More