mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
41
src/PDF/PDF.cdl
Executable file
41
src/PDF/PDF.cdl
Executable file
@@ -0,0 +1,41 @@
|
||||
-- File: PDF.cdl
|
||||
-- -------
|
||||
-- Author: DAUTRY Philippe
|
||||
-- <fid@fox.paris1.matra-dtv.fr>
|
||||
---Copyright: MATRA DATAVISION 1997
|
||||
|
||||
---Version: 0.0
|
||||
---History: Version Date Purpose
|
||||
-- 0.0 Mar 13 1997 Creation
|
||||
|
||||
|
||||
package PDF
|
||||
|
||||
---Purpose: This pakage is the persistent equivalent of
|
||||
-- TDF. It describes persistent classes used to store
|
||||
-- a TDF structure into a Database.
|
||||
|
||||
|
||||
uses
|
||||
|
||||
Standard,
|
||||
PCollection,
|
||||
PColStd
|
||||
|
||||
is
|
||||
|
||||
class Data;
|
||||
|
||||
|
||||
deferred class Attribute;
|
||||
|
||||
class TagSource;
|
||||
|
||||
class Reference;
|
||||
|
||||
-- Instantiations ---------------------------------------------------
|
||||
|
||||
class HAttributeArray1 from PDF instantiates HArray1 from PCollection
|
||||
(Attribute from PDF);
|
||||
|
||||
end PDF;
|
21
src/PDF/PDF_Attribute.cdl
Executable file
21
src/PDF/PDF_Attribute.cdl
Executable file
@@ -0,0 +1,21 @@
|
||||
-- File: PDF_Attribute.cdl
|
||||
-- -----------------
|
||||
-- Author: DAUTRY Philippe
|
||||
-- <fid@fox.paris1.matra-dtv.fr>
|
||||
---Copyright: MATRA DATAVISION 1997
|
||||
|
||||
---Version: 0.0
|
||||
---History: Version Date Purpose
|
||||
-- 0.0 Mar 13 1997 Creation
|
||||
|
||||
|
||||
deferred class Attribute from PDF
|
||||
inherits Persistent from Standard
|
||||
|
||||
---Purpose: This class is the persistent equivalent of
|
||||
-- Attribute from TDF.
|
||||
|
||||
is
|
||||
|
||||
end Attribute;
|
||||
|
13
src/PDF/PDF_Attribute.cxx
Executable file
13
src/PDF/PDF_Attribute.cxx
Executable file
@@ -0,0 +1,13 @@
|
||||
// File: PDF_Attribute.cxx
|
||||
// -----------------
|
||||
// Author: DAUTRY Philippe
|
||||
// <fid@fox.paris1.matra-dtv.fr>
|
||||
// Copyright: Matra Datavision 1997
|
||||
|
||||
// Version: 0.0
|
||||
// History: Version Date Purpose
|
||||
// 0.0 Mar 13 1997 Creation
|
||||
|
||||
|
||||
|
||||
#include <PDF_Attribute.ixx>
|
64
src/PDF/PDF_Data.cdl
Executable file
64
src/PDF/PDF_Data.cdl
Executable file
@@ -0,0 +1,64 @@
|
||||
-- File: PDF_Data.cdl
|
||||
-- ------------
|
||||
-- Author: DAUTRY Philippe
|
||||
-- <fid@fox.paris1.matra-dtv.fr>
|
||||
---Copyright: MATRA DATAVISION 1997
|
||||
|
||||
---Version: 0.0
|
||||
---History: Version Date Purpose
|
||||
-- 0.0 Mar 13 1997 Creation
|
||||
|
||||
|
||||
class Data from PDF
|
||||
inherits Persistent from Standard
|
||||
|
||||
---Purpose: Persistent equivalent of Data from TDF.
|
||||
|
||||
uses
|
||||
|
||||
HArray1OfInteger from PColStd,
|
||||
HAttributeArray1 from PDF
|
||||
|
||||
-- raises
|
||||
|
||||
is
|
||||
|
||||
Create
|
||||
returns mutable Data from PDF;
|
||||
|
||||
Create(aVersionNumber : Integer from Standard)
|
||||
returns mutable Data from PDF;
|
||||
|
||||
VersionNumber(me)
|
||||
returns Integer from Standard;
|
||||
---Purpose: Returns the value of the field <myVersion>.
|
||||
---C++: inline
|
||||
|
||||
|
||||
Labels(me : mutable;
|
||||
theLabels : HArray1OfInteger from PColStd);
|
||||
---Purpose: Sets the field <myLabels> with <theLabels>.
|
||||
---C++: inline
|
||||
|
||||
Labels(me)
|
||||
returns HArray1OfInteger from PColStd;
|
||||
---Purpose: Returns the value of the field <myLabels>.
|
||||
---C++: inline
|
||||
|
||||
Attributes(me : mutable;
|
||||
theAttributes : HAttributeArray1 from PDF);
|
||||
---Purpose: Sets the field <myAttributes> with <theAttributes>.
|
||||
---C++: inline
|
||||
|
||||
Attributes(me)
|
||||
returns HAttributeArray1 from PDF;
|
||||
---Purpose: Returns the value of the field <myAttributes>.
|
||||
---C++: inline
|
||||
|
||||
fields
|
||||
|
||||
myVersion : Integer from Standard;
|
||||
myLabels : HArray1OfInteger from PColStd;
|
||||
myAttributes : HAttributeArray1 from PDF;
|
||||
|
||||
end Data;
|
33
src/PDF/PDF_Data.cxx
Executable file
33
src/PDF/PDF_Data.cxx
Executable file
@@ -0,0 +1,33 @@
|
||||
// File: PDF_Data.cxx
|
||||
// ------------
|
||||
// Author: DAUTRY Philippe
|
||||
// <fid@fox.paris1.matra-dtv.fr>
|
||||
// Copyright: Matra Datavision 1997
|
||||
|
||||
// Version: 0.0
|
||||
// History: Version Date Purpose
|
||||
// 0.0 Mar 13 1997 Creation
|
||||
|
||||
|
||||
|
||||
#include <PDF_Data.ixx>
|
||||
|
||||
|
||||
//=======================================================================
|
||||
//function : PDF_Data
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
PDF_Data::PDF_Data() :
|
||||
myVersion(0)
|
||||
{}
|
||||
|
||||
//=======================================================================
|
||||
//function : PDF_Data
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
PDF_Data::PDF_Data(const Standard_Integer aVersionNumber) :
|
||||
myVersion(aVersionNumber)
|
||||
{}
|
||||
|
26
src/PDF/PDF_Data.lxx
Executable file
26
src/PDF/PDF_Data.lxx
Executable file
@@ -0,0 +1,26 @@
|
||||
// File: PDF_Data.lxx
|
||||
// ------------
|
||||
// Author: DAUTRY Philippe
|
||||
// <fid@fox.paris1.matra-dtv.fr>
|
||||
// Copyright: Matra Datavision 1997
|
||||
|
||||
// Version: 0.0
|
||||
// History: Version Date Purpose
|
||||
// 0.0 Mar 13 1997 Creation
|
||||
|
||||
inline Standard_Integer PDF_Data::VersionNumber() const
|
||||
{ return myVersion; }
|
||||
|
||||
inline void PDF_Data::Labels
|
||||
(const Handle(PColStd_HArray1OfInteger)& theLabels)
|
||||
{ myLabels = theLabels; }
|
||||
|
||||
inline Handle(PColStd_HArray1OfInteger) PDF_Data::Labels() const
|
||||
{ return myLabels; }
|
||||
|
||||
inline void PDF_Data::Attributes
|
||||
(const Handle(PDF_HAttributeArray1)& theAttributes)
|
||||
{ myAttributes = theAttributes; }
|
||||
|
||||
inline Handle(PDF_HAttributeArray1) PDF_Data::Attributes() const
|
||||
{ return myAttributes; }
|
31
src/PDF/PDF_Reference.cdl
Executable file
31
src/PDF/PDF_Reference.cdl
Executable file
@@ -0,0 +1,31 @@
|
||||
-- File: PDF_Reference.cdl
|
||||
-- Created: Wed Mar 1 14:33:04 2000
|
||||
-- Author: Denis PASCAL
|
||||
-- <dp@dingox.paris1.matra-dtv.fr>
|
||||
---Copyright: Matra Datavision 2000
|
||||
|
||||
|
||||
class Reference from PDF inherits Attribute from PDF
|
||||
|
||||
uses HAsciiString from PCollection
|
||||
|
||||
is
|
||||
|
||||
Create returns mutable Reference from PDF;
|
||||
|
||||
|
||||
Create (V : HAsciiString from PCollection)
|
||||
returns mutable Reference from PDF;
|
||||
|
||||
|
||||
ReferencedLabel (me) returns HAsciiString from PCollection;
|
||||
|
||||
|
||||
ReferencedLabel (me : mutable; V : HAsciiString from PCollection);
|
||||
|
||||
|
||||
fields
|
||||
|
||||
myValue : HAsciiString from PCollection;
|
||||
|
||||
end Reference;
|
20
src/PDF/PDF_Reference.cxx
Executable file
20
src/PDF/PDF_Reference.cxx
Executable file
@@ -0,0 +1,20 @@
|
||||
// File: PDF_Reference.cxx
|
||||
// Created: Wed Mar 1 14:33:57 2000
|
||||
// Author: Denis PASCAL
|
||||
// <dp@dingox.paris1.matra-dtv.fr>
|
||||
|
||||
|
||||
#include <PDF_Reference.ixx>
|
||||
|
||||
|
||||
PDF_Reference::PDF_Reference() { }
|
||||
|
||||
PDF_Reference::PDF_Reference(const Handle(PCollection_HAsciiString)& V)
|
||||
: myValue (V) {}
|
||||
|
||||
Handle(PCollection_HAsciiString) PDF_Reference::ReferencedLabel() const
|
||||
{ return myValue; }
|
||||
|
||||
void PDF_Reference::ReferencedLabel(const Handle(PCollection_HAsciiString)& V)
|
||||
{ myValue = V; }
|
||||
|
35
src/PDF/PDF_TagSource.cdl
Executable file
35
src/PDF/PDF_TagSource.cdl
Executable file
@@ -0,0 +1,35 @@
|
||||
-- File: PDF_TagSource.cdl
|
||||
-- Created: Mon Aug 4 15:32:05 1997
|
||||
-- Author: VAUTHIER Jean-Claude
|
||||
---Copyright: Matra Datavision 1997
|
||||
|
||||
|
||||
|
||||
class TagSource from PDF inherits Attribute from PDF
|
||||
|
||||
---Purpose:
|
||||
|
||||
uses Integer from Standard
|
||||
|
||||
is
|
||||
|
||||
|
||||
Create returns mutable TagSource from PDF;
|
||||
|
||||
|
||||
Create (V : Integer from Standard)
|
||||
returns mutable TagSource from PDF;
|
||||
|
||||
|
||||
Get (me) returns Integer from Standard;
|
||||
|
||||
|
||||
Set (me : mutable; V : Integer from Standard);
|
||||
|
||||
|
||||
fields
|
||||
|
||||
myValue : Integer from Standard;
|
||||
|
||||
end TagSource;
|
||||
|
13
src/PDF/PDF_TagSource.cxx
Executable file
13
src/PDF/PDF_TagSource.cxx
Executable file
@@ -0,0 +1,13 @@
|
||||
#include <PDF_TagSource.ixx>
|
||||
|
||||
PDF_TagSource::PDF_TagSource() { }
|
||||
|
||||
PDF_TagSource::PDF_TagSource(const Standard_Integer V)
|
||||
: myValue (V) {}
|
||||
|
||||
Standard_Integer PDF_TagSource::Get() const
|
||||
{ return myValue; }
|
||||
|
||||
void PDF_TagSource::Set(const Standard_Integer V)
|
||||
{ myValue = V; }
|
||||
|
Reference in New Issue
Block a user