mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
107 lines
3.9 KiB
Plaintext
Executable File
107 lines
3.9 KiB
Plaintext
Executable File
-- Created on: 1997-08-07
|
|
-- Created by: Jean-Louis Frenkel
|
|
-- Copyright (c) 1997-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2012 OPEN CASCADE SAS
|
|
--
|
|
-- The content of this file is subject to the Open CASCADE Technology Public
|
|
-- License Version 6.5 (the "License"). You may not use the content of this file
|
|
-- except in compliance with the License. Please obtain a copy of the License
|
|
-- at http://www.opencascade.org and read it completely before using this file.
|
|
--
|
|
-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
|
-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
|
--
|
|
-- The Original Code and all software distributed under the License is
|
|
-- distributed on an "AS IS" basis, without warranty of any kind, and the
|
|
-- Initial Developer hereby disclaims all such warranties, including without
|
|
-- limitation, any warranties of merchantability, fitness for a particular
|
|
-- purpose or non-infringement. Please see the License for the specific terms
|
|
-- and conditions governing the rights and limitations under the License.
|
|
|
|
|
|
|
|
deferred class RetrievalDriver from PCDM
|
|
inherits Reader from PCDM
|
|
|
|
|
|
uses
|
|
Document from PCDM,
|
|
Document from CDM,
|
|
ExtendedString from TCollection,
|
|
SequenceOfExtendedString from TColStd,
|
|
AsciiString from TCollection,
|
|
SequenceOfReference from PCDM,
|
|
Schema from Storage,
|
|
MessageDriver from CDM,
|
|
Application from CDM
|
|
|
|
raises NoSuchObject from Standard, DriverError from PCDM
|
|
|
|
|
|
is
|
|
|
|
Read(me: mutable; aFileName: ExtendedString from TCollection;
|
|
aNewDocument: mutable Document from CDM;
|
|
anApplication: Application from CDM)
|
|
raises DriverError from PCDM
|
|
---Purpose: Warning - raises DriverError if an error occurs during inside the
|
|
-- Make method.
|
|
is redefined virtual;
|
|
---Purpose: retrieves the content of the file into a new Document.
|
|
--
|
|
-- by default Read will use the Schema method to read the file
|
|
-- into a persistent document. and the Make method to build a
|
|
-- transient document.
|
|
--
|
|
|
|
Make(me : mutable; aPCDM: Document from PCDM; aNewDocument: mutable Document from CDM)
|
|
raises DriverError from PCDM
|
|
is deferred;
|
|
|
|
SchemaName(me) returns ExtendedString from TCollection
|
|
is deferred;
|
|
|
|
|
|
LoadExtensions(me: mutable; aSchema: Schema from Storage; Extensions: SequenceOfExtendedString from TColStd; theMsgDriver: MessageDriver from CDM)
|
|
is virtual;
|
|
|
|
---Category: private methods.
|
|
|
|
References(myclass; aFileName: ExtendedString from TCollection; theReferences: out SequenceOfReference from PCDM; theMsgDriver: MessageDriver from CDM)
|
|
is private;
|
|
|
|
Extensions(myclass; aFileName: ExtendedString from TCollection; theExtensions: in out SequenceOfExtendedString from TColStd; theMsgDriver: MessageDriver from CDM)
|
|
is private;
|
|
|
|
UserInfo(myclass; aFileName: ExtendedString from TCollection; Start, End: AsciiString from TCollection; theUserInfo:in out SequenceOfExtendedString from TColStd; theMsgDriver: MessageDriver from CDM)
|
|
is private;
|
|
|
|
RaiseIfUnknownTypes(myclass; aSchema: Schema from Storage; aFileName: ExtendedString from TCollection);
|
|
|
|
DocumentVersion(myclass; aFileName: ExtendedString from TCollection; theMsgDriver: MessageDriver from CDM)
|
|
returns Integer from Standard;
|
|
|
|
ReferenceCounter(myclass; aFileName: ExtendedString from TCollection; theMsgDriver: MessageDriver from CDM)
|
|
returns Integer from Standard;
|
|
|
|
SetFormat (me : mutable; aformat : ExtendedString from TCollection);
|
|
|
|
GetFormat (me)
|
|
returns ExtendedString from TCollection;
|
|
|
|
--friends Init from class ReferenceIterator from PCDM(me: mutable;aMetaData: MetaData from CDM)
|
|
|
|
|
|
fields
|
|
|
|
myFormat : ExtendedString from TCollection;
|
|
|
|
|
|
friends
|
|
|
|
Init from class ReferenceIterator from PCDM(me: mutable;aMetaData: MetaData from CDM)
|
|
|
|
|
|
end RetrievalDriver from PCDM;
|
|
|