uses
HeaderData from Storage,
Position from Storage,
+ Data from Storage,
AsciiString from TCollection,
ExtendedString from TCollection,
Document from PCDM,
theApplication: Application from CDM) is redefined virtual;
---Purpose: retrieves the content of the file into a new Document.
+ Read(me:mutable; theIStream: in out IStream from Standard;
+ theStorageData: Data from Storage;
+ theNewDocument: Document from CDM;
+ theApplication: Application from CDM) is redefined virtual;
+ ---Purpose: retrieves the content of the stream into a new Document.
+
AttributeDrivers (me : mutable; theMsgDriver: MessageDriver from CDM)
returns ADriverTable from BinMDF
is virtual;
is virtual protected;
---Purpose: Read the tree from the stream <theIS> to <theLabel>
- ReadInfoSection(me: mutable; theFile : AsciiString from TCollection;
- theData : in out HeaderData from Storage)
- returns Position from Storage is protected;
- ---Purpose: Read the info section of theFile into theData,
- -- return a file position corresponding to the info
- -- section end
-
ReadSection (me: mutable;
theSection : in out DocumentSection from BinLDrivers;
theDoc : Document from CDM;
#include <BinObjMgt_Persistent.hxx>
#include <FSD_BinaryFile.hxx>
#include <FSD_FileHeader.hxx>
+#include <OSD_OpenFile.hxx>
#include <PCDM_ReadWriter.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_Stream.hxx>
#include <Storage_Schema.hxx>
+#include <Storage_HeaderData.hxx>
#include <TDF_Data.hxx>
#include <TDocStd_Document.hxx>
#include <TDocStd_Owner.hxx>
is redefined virtual;
---Purpose: Write <theDocument> to the binary file <theFileName>
+ Write(me: mutable; aDocument: Document from CDM;
+ theOStream: in out OStream from Standard)
+ is redefined virtual;
+ ---Purpose: Write <theDocument> to theOStream
+
AttributeDrivers (me : mutable; theMsgDriver: MessageDriver from CDM)
returns ADriverTable from BinMDF
is virtual;
-- attributes to store
WriteInfoSection(me: mutable; theDocument : Document from CDM;
- theFile : AsciiString from TCollection)
+ theOS : in out OStream from Standard)
is private;
---Purpose: Write info secton using FSD_BinaryFile driver
myTypesMap : IndexedMapOfTransient from TColStd;
mySections : VectorOfDocumentSection from BinLDrivers;
+ myFileName : ExtendedString from TCollection;
end DocumentStorageDriver;
Reader(me: mutable; aFileName: ExtendedString from TCollection)
returns Reader from PCDM
raises NoSuchObject from Standard;
-
+
+ Read(me: mutable; theIStream: in out IStream from Standard)
+ returns Document from CDM;
+
FindReaderFromFormat(me: mutable; aFormat: ExtendedString from TCollection)
returns Boolean from Standard;
---Purpose: this map will allows to get a directory object from a name.
private pointer DocumentPointer to Document from CDM;
- private class Reference;
+ class Reference;
private class ListOfReferences instantiates List from TCollection(Reference from CDM);
deferred class Application;
---Category: private methods;
--
Reference(me; aReferenceIdentifier: Integer from Standard)
- returns Reference from CDM
- is private;
+ returns Reference from CDM;
ComputePresentation(me: mutable)
is private;
RemoveFromReference(me: mutable; aReferenceIdentifier: Integer from Standard)
is private;
- SetModifications(me: mutable; Modifications: Integer from Standard)
- is private;
+ SetModifications(me: mutable; Modifications: Integer from Standard);
ReferenceCounter(me) returns Integer from Standard;
- SetReferenceCounter(me: mutable; aReferenceCounter: Integer from Standard)
- is private;
+ SetReferenceCounter(me: mutable; aReferenceCounter: Integer from Standard);
---Category: obsolete methods
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
-private class Reference from CDM inherits Transient from Standard
+class Reference from CDM inherits Transient from Standard
uses Document from CDM, DocumentPointer from CDM, Application from CDM, MetaData from CDM
SequenceOfExtendedString from TColStd,
ExtendedString from TCollection,
FileHeader from FSD,
- BStream from FSD
+ BStream from FSD,
+ Data from Storage,
+ OStream from Standard,
+ HeaderData from Storage
raises StreamTypeMismatchError from Storage,
StreamFormatError from Storage,
objectType : ExtendedString from TCollection;
userInfo : SequenceOfAsciiString from TColStd)
raises StreamWriteError;
+
+ WriteInfo(myclass; theOStream: in out OStream from Standard;
+ nbObj : Integer from Standard;
+ dbVersion : AsciiString from TCollection;
+ date : AsciiString from TCollection;
+ schemaName : AsciiString from TCollection;
+ schemaVersion : AsciiString from TCollection;
+ appName : ExtendedString from TCollection;
+ appVersion : AsciiString from TCollection;
+ objectType : ExtendedString from TCollection;
+ userInfo : SequenceOfAsciiString from TColStd;
+ theOnlyCount: Boolean = Standard_False)
+ returns Integer raises StreamWriteError;
EndWriteInfoSection(me : in out) returns Error from Storage;
+
+ EndWriteInfoSection(me : in out; theOStream: in out OStream from Standard)
+ returns Error from Storage;
-- read
--
userInfo : in out SequenceOfAsciiString from TColStd)
raises StreamTypeMismatchError,StreamExtCharParityError;
+ ReadCompleteInfo(me: in out; theIStream: in out IStream from Standard;
+ theData: out Data from Storage) is redefined virtual;
+
EndReadInfoSection(me : in out) returns Error from Storage;
-- COMMENTS SECTION
--
BeginWriteCommentSection(me : in out) returns Error from Storage;
+ BeginWriteCommentSection(me : in out; theOStream: in out OStream from Standard)
+ returns Error from Storage;
+
WriteComment(me : in out; userComments : SequenceOfExtendedString from TColStd)
raises StreamWriteError;
+
+ WriteComment(myclass; theOStream: in out OStream from Standard;
+ userComments : SequenceOfExtendedString from TColStd;
+ theOnlyCount: Boolean = Standard_False)
+ returns Integer raises StreamWriteError;
EndWriteCommentSection(me : in out) returns Error from Storage;
+
+ EndWriteCommentSection(me : in out; theOStream: in out OStream from Standard)
+ returns Error from Storage;
-- read
--
ReadComment(me : in out; userComments : in out SequenceOfExtendedString from TColStd)
raises StreamTypeMismatchError,StreamExtCharParityError;
+
+ ReadComment(myclass; theIStream: in out IStream from Standard;
+ userComments : in out SequenceOfExtendedString from TColStd)
+ raises StreamTypeMismatchError,StreamExtCharParityError;
EndReadCommentSection(me : in out) returns Error from Storage;
TypeSectionSize(me : in out) returns Integer from Standard
raises StreamTypeMismatchError;
+
+ TypeSectionSize(myclass; theIStream: in out IStream from Standard) returns Integer from Standard
+ raises StreamTypeMismatchError;
ReadTypeInformations(me : in out; typeNum : in out Integer from Standard; typeName : in out AsciiString from TCollection)
raises StreamTypeMismatchError;
+
+ ReadTypeInformations(myclass; theIStream: in out IStream from Standard;
+ typeNum : in out Integer from Standard;
+ typeName : in out AsciiString from TCollection)
+ raises StreamTypeMismatchError;
EndReadTypeSection(me : in out) returns Error from Storage;
RootSectionSize(me : in out) returns Integer from Standard
raises StreamTypeMismatchError;
+
+ RootSectionSize(myclass; theIStream: in out IStream from Standard) returns Integer from Standard
+ raises StreamTypeMismatchError;
ReadRoot(me : in out; rootName : in out AsciiString from TCollection; aRef : in out Integer from Standard; aType : in out AsciiString from TCollection)
raises StreamTypeMismatchError;
+
+ ReadRoot(myclass; theIStream: in out IStream from Standard;
+ rootName : in out AsciiString from TCollection;
+ aRef : in out Integer from Standard;
+ aType : in out AsciiString from TCollection)
+ raises StreamTypeMismatchError;
EndReadRootSection(me : in out) returns Error from Storage;
RefSectionSize(me : in out) returns Integer from Standard
raises StreamTypeMismatchError;
+
+ RefSectionSize(myclass; theIStream: in out IStream from Standard) returns Integer from Standard
+ raises StreamTypeMismatchError;
ReadReferenceType(me : in out; reference : in out Integer from Standard; typeNum : in out Integer from Standard)
raises StreamTypeMismatchError;
+
+ ReadReferenceType(myclass; theIStream: in out IStream from Standard;
+ reference : in out Integer from Standard;
+ typeNum : in out Integer from Standard)
+ raises StreamTypeMismatchError;
EndReadRefSection(me : in out) returns Error from Storage;
---C++: alias operator <<
---C++: return &
+ PutInteger(myclass; theOStream: in out OStream from Standard;
+ aValue : Integer from Standard;
+ theOnlyCount: Boolean = Standard_False) returns Integer
+ raises StreamWriteError;
+
PutInteger(me : in out; aValue : Integer from Standard) returns like me
raises StreamWriteError;
---C++: alias operator <<
raises StreamTypeMismatchError;
---C++: return &
+ GetReference(myclass; theIStream: in out IStream from Standard;
+ aValue : in out Integer from Standard)
+ raises StreamTypeMismatchError;
+
GetCharacter(me : in out; aValue : in out Character from Standard) returns like me
raises StreamTypeMismatchError;
---C++: alias operator >>
raises StreamTypeMismatchError;
---C++: alias operator >>
---C++: return &
+
+ GetInteger(myclass; theIStream: in out IStream from Standard;
+ aValue : in out Integer from Standard)
+ raises StreamTypeMismatchError;
GetBoolean(me : in out; aValue : in out Boolean from Standard) returns like me
raises StreamTypeMismatchError;
Destroy(me : in out);
---C++: alias ~
+ ReadHeader(myclass; theIStream: in out IStream from Standard;
+ theFileHeader: in out FileHeader from FSD );
+
+ ReadHeaderData(myclass; theIStream: in out IStream from Standard;
+ theHeaderData: HeaderData from Storage );
+
+ ReadString(myclass; theIStream: in out IStream from Standard;
+ theBuffer: out AsciiString from TCollection);
+
+ ReadExtendedString(myclass; theIStream: in out IStream from Standard;
+ theBuffer: out ExtendedString from TCollection);
+
+ WriteHeader(myclass; theOStream: in out OStream from Standard;
+ theFileHeader: FileHeader from FSD;
+ theOnlyCount: Boolean = Standard_False ) returns Integer;
+
WriteHeader(me : in out) is private;
ReadHeader(me : in out) is private;
MagicNumber(myclass)
- returns CString from Standard is private;
+ returns CString from Standard;
---C++: return const
ReadChar(me : in out; buffer : in out AsciiString from TCollection; rsize : Size from Standard) is protected;
WriteString(me : in out; buffer : AsciiString from TCollection) is protected;
---Purpose: write string at the current position.
+ WriteString(myclass; theOStream: in out OStream from Standard;
+ theString : AsciiString from TCollection;
+ theOnlyCount: Boolean = Standard_False) returns Integer is protected;
+ ---Purpose: write string at the current position.
+
ReadExtendedString(me : in out; buffer : in out ExtendedString from TCollection) is protected;
---Purpose: read string from the current position.
WriteExtendedString(me : in out; buffer : ExtendedString from TCollection) is protected;
---Purpose: write string at the current position.
+
+ WriteExtendedString(myclass; theOStream: in out OStream from Standard;
+ theString : ExtendedString from TCollection;
+ theOnlyCount: Boolean = Standard_False) returns Integer is protected;
+ ---Purpose: write string at the current position.
fields
#include <FSD_BinaryFile.ixx>
#include <OSD.hxx>
#include <OSD_OpenFile.hxx>
+#include <Storage_HArrayOfCallBack.hxx>
+#include <Storage_HSeqOfRoot.hxx>
+#include <Storage_HPArray.hxx>
+#include <Storage_InternalData.hxx>
+#include <Storage_HeaderData.hxx>
+#include <Storage_InternalData.hxx>
+#include <Storage_Root.hxx>
+#include <Storage_RootData.hxx>
+#include <Storage_TypeData.hxx>
const Standard_CString MAGICNUMBER = "BINFILE";
SequenceOfAsciiString from TColStd,
SequenceOfExtendedString from TColStd,
ExtendedString from TCollection,
- FStream from FSD
+ FStream from FSD,
+ Data from Storage
raises StreamTypeMismatchError from Storage,
StreamFormatError from Storage,
userInfo : in out SequenceOfAsciiString from TColStd)
raises StreamTypeMismatchError,StreamExtCharParityError;
+ ReadCompleteInfo(me: in out; theIStream: in out IStream from Standard;
+ theData: out Data from Storage) is redefined virtual;
+
EndReadInfoSection(me : in out) returns Error from Storage;
-- COMMENTS SECTION
FindTag(me : in out; aTag : CString from Standard) returns Error from Storage is protected;
MagicNumber(myclass)
- returns CString from Standard is private;
+ returns CString from Standard;
---C++: return const
RaiseError(me: in out ; theFailure: Type from Standard) is private;
SequenceOfAsciiString from TColStd,
SequenceOfExtendedString from TColStd,
ExtendedString from TCollection,
- FStream from FSD
+ FStream from FSD,
+ Data from Storage
raises StreamTypeMismatchError from Storage,
StreamFormatError from Storage,
userInfo : in out SequenceOfAsciiString from TColStd)
raises StreamTypeMismatchError,StreamExtCharParityError;
+ ReadCompleteInfo(me: in out; theIStream: in out IStream from Standard;
+ theData: out Data from Storage) is redefined virtual;
+
EndReadInfoSection(me : in out) returns Error from Storage;
-- COMMENTS SECTION
FindTag(me : in out; aTag : CString from Standard) returns Error from Storage is protected;
MagicNumber(myclass)
- returns CString from Standard is private;
+ returns CString from Standard;
---C++: return const
fields
FileDriverType(aFileName: AsciiString from TCollection; aBaseDriver: out BaseDriverPointer from PCDM)
returns TypeOfFileDriver from PCDM
is private;
+
+ FileDriverType(theIStream: in out IStream from Standard; aBaseDriver: out BaseDriverPointer from PCDM)
+ returns TypeOfFileDriver from PCDM
+ is private;
+
end PCDM;
---Purpose: tries to get a format in the file. returns an empty
-- string if the file could not be read or does not have
-- a FileFormat information.
+
+ FileFormat(myclass; theIStream: in out IStream from Standard; theData: out Data from Storage)
+ returns ExtendedString from TCollection;
+
end ReadWriter from PCDM;
Document from CDM,
ExtendedString from TCollection,
Application from CDM,
- ReaderStatus from PCDM
-
+ ReaderStatus from PCDM,
+ IStream from Standard,
+ Data from Storage
+
raises DriverError from PCDM
raises DriverError from PCDM
is deferred;
---Purpose: retrieves the content of the file into a new Document.
+
+ Read(me: mutable; theIStream: in out IStream from Standard;
+ theStorageData: Data from Storage;
+ aNewDocument: Document from CDM;
+ anApplication: Application from CDM)
+ raises DriverError from PCDM
+ is deferred;
+ ---Purpose: retrieves the content of the stream into a new Document.
GetStatus(me) returns ReaderStatus from PCDM;
---C++: inline
SequenceOfReference from PCDM,
Schema from Storage,
MessageDriver from CDM,
- Application from CDM
+ Application from CDM,
+ IStream from Standard,
+ Data from Storage
raises NoSuchObject from Standard, DriverError from PCDM
-- transient document.
--
+ Read(me: mutable; theIStream: in out IStream from Standard;
+ theStorageData: Data from Storage;
+ aNewDocument: Document from CDM;
+ anApplication: Application from CDM)
+ raises DriverError from PCDM
+ is redefined virtual;
+
Make(me : mutable; aPCDM: Document from PCDM; aNewDocument: Document from CDM)
raises DriverError from PCDM
is deferred;
Schema from Storage,
SequenceOfExtendedString from TColStd,
SequenceOfDocument from PCDM,
- StoreStatus from PCDM
+ StoreStatus from PCDM,
+ OStream from Standard
raises NoSuchObject from Standard,DriverError from PCDM
is
-- document and the Schema method to write the persistent document.
--
+ Write(me: mutable; aDocument: Document from CDM; theOStream: in out OStream from Standard)
+ raises DriverError
+ is redefined virtual;
+
SetFormat (me : mutable; aformat : ExtendedString from TCollection);
GetFormat (me)
raises DriverError
is deferred;
+ Write(me: mutable; aDocument: Document from CDM; theOStream: in out OStream from Standard)
+ raises DriverError
+ is deferred;
+
end Writer from PCDM;
Standard_EXPORT virtual const Handle_Standard_Type& DynamicType() const;
Standard_EXPORT Standard_Boolean IsKind(const Handle_Standard_Type&)const;
Standard_EXPORT Standard_Boolean IsInstance(const Handle_Standard_Type&)const;
+ Standard_Integer& TypeNum() { return _typenum; }
};
#include <Handle_Standard_Persistent.hxx>
class HSeqOfRoot instantiates HSequence from TCollection(Root from Storage,SeqOfRoot);
+ class InternalData;
+
-- PRIVATE
- private class InternalData;
private class stCONSTclCOM;
private class TypedCallBack;
class ArrayOfSchema instantiates Array1 from TCollection(Schema from Storage);
class HArrayOfSchema instantiates HArray1 from TCollection(Schema from Storage,ArrayOfSchema from Storage);
- private class PArray instantiates Array1 from TCollection(Persistent from Standard);
- private class HPArray instantiates HArray1 from TCollection(Persistent from Standard, PArray from Storage);
+ class PArray instantiates Array1 from TCollection(Persistent from Standard);
+ class HPArray instantiates HArray1 from TCollection(Persistent from Standard, PArray from Storage);
-- METHODS
Error from Storage,
ExtendedString from TCollection,
SequenceOfAsciiString from TColStd,
- SequenceOfExtendedString from TColStd
+ SequenceOfExtendedString from TColStd,
+ IStream from Standard,
+ Data from Storage
raises StreamTypeMismatchError from Storage,
StreamFormatError from Storage,
OpenMode(me) returns OpenMode from Storage;
---C++: inline
+ ReadMagicNumber(myclass; theIStream: in out IStream from Standard)
+ returns AsciiString from TCollection;
+
IsEnd(me : in out) returns Boolean from Standard is deferred;
---Purpose: returns True if we are at end of the stream
raises StreamTypeMismatchError,StreamExtCharParityError
is deferred;
+ ReadCompleteInfo(me: in out; theIStream: in out IStream from Standard;
+ theData: out Data from Storage)
+ is deferred;
+
EndReadInfoSection(me : in out) returns Error from Storage
is deferred;
---Purpose:
-- Gives the list of types of objects used in this set of data in a sequence.
+ HeaderData(me) returns HeaderData from Storage;
+ RootData(me) returns RootData from Storage;
+ TypeData(me) returns TypeData from Storage;
+ InternalData(me) returns InternalData from Storage;
+ Clear(me);
+
-- PRIVATE
- HeaderData(me) returns HeaderData from Storage is private;
- RootData(me) returns RootData from Storage is private;
- TypeData(me) returns TypeData from Storage is private;
- InternalData(me) returns InternalData from Storage is private;
- Clear(me) is private;
SetErrorStatus(me : mutable; anError : Error from Storage) is private;
SetErrorStatusExtension(me : mutable; anErrorExt : AsciiString from TCollection) is private;
ClearErrorStatus(me : mutable);
+ SetNumberOfObjects(me : mutable; anObjectNumber : Integer from Standard);
+ SetStorageVersion(me : mutable; aVersion : AsciiString from TCollection);
+ SetCreationDate(me : mutable; aDate : AsciiString from TCollection);
+ SetSchemaVersion(me : mutable; aVersion : AsciiString from TCollection);
+ SetSchemaName(me : mutable; aName : AsciiString from TCollection);
-- PRIVATE
- SetNumberOfObjects(me : mutable; anObjectNumber : Integer from Standard) is private;
- SetStorageVersion(me : mutable; aVersion : AsciiString from TCollection) is private;
- SetCreationDate(me : mutable; aDate : AsciiString from TCollection) is private;
- SetSchemaVersion(me : mutable; aVersion : AsciiString from TCollection) is private;
- SetSchemaName(me : mutable; aName : AsciiString from TCollection) is private;
SetErrorStatus(me : mutable; anError : Error from Storage) is private;
SetErrorStatusExtension(me : mutable; anErrorExt : AsciiString from TCollection) is private;
-- Alternatively, this file may be used under the terms of Open CASCADE
-- commercial license or contractual agreement.
-private class InternalData from Storage
+class InternalData from Storage
inherits TShared from MMgt
MapOfCallBack from Storage
is
Create returns InternalData from Storage;
+
+ ReadArray(me: mutable) returns HPArray from Storage;
+ ---C++: return &
Clear(me : mutable);
myTypeBinding.Clear();
}
+Handle(Storage_HPArray)& Storage_InternalData::ReadArray()
+{
+ return myReadArray;
+}
Type(me) returns AsciiString from TCollection;
---Purpose: Returns the name of this root type.
- SetReference(me : mutable; aRef : Integer from Standard) is private;
- Reference(me) returns Integer from Standard is private;
- SetType(me : mutable; aType : AsciiString from TCollection) is private;
+ SetReference(me : mutable; aRef : Integer from Standard);
+ Reference(me) returns Integer from Standard;
+ SetType(me : mutable; aType : AsciiString from TCollection);
fields
-- PRIVATE
UpdateRoot(me : mutable; aName : AsciiString from TCollection; aPers : Persistent from Standard)
- raises NoSuchObject
- is private;
+ raises NoSuchObject;
SetErrorStatus(me : mutable; anError : Error from Storage) is private;
SetErrorStatusExtension(me : mutable; anErrorExt : AsciiString from TCollection) is private;
-- PRIVATE
- AddType(me : mutable; aName : AsciiString from TCollection; aTypeNum : Integer from Standard) is private;
+ AddType(me : mutable; aName : AsciiString from TCollection; aTypeNum : Integer from Standard);
---Purpose: add a type to the list
Type(me; aTypeNum : Integer from Standard) returns AsciiString from TCollection
- raises NoSuchObject is private;
+ raises NoSuchObject;
---Purpose: returns the name of the type with number <aTypeNum>
Type(me; aTypeName : AsciiString from TCollection) returns Integer from Standard
- raises NoSuchObject is private;
+ raises NoSuchObject;
---Purpose: returns the name of the type with number <aTypeNum>
SetErrorStatus(me : mutable; anError : Error from Storage) is private;
ExtendedString from TCollection,
SequenceOfExtendedString from TColStd,
ReaderStatus from PCDM,
- StoreStatus from PCDM
+ StoreStatus from PCDM,
+ IStream from Standard,
+ OStream from Standard
raises NoSuchObject from Standard
-- to depend on the value returned by IsInSession.
returns ReaderStatus from PCDM;
+ Open (me : mutable; theIStream: in out IStream from Standard;
+ aDoc : out Document from TDocStd)
+ ---Purpose: Retrieves aDoc from standard SEEKABLE stream theIStream.
+ returns ReaderStatus from PCDM;
+
SaveAs (me : mutable; aDoc : Document from TDocStd;
path : ExtendedString from TCollection)
---Purpose: Save the active document in the file <name> in the
-- path <path> ; o verwrites the file if it already exists.
returns StoreStatus from PCDM;
+
+ SaveAs (me : mutable; aDoc : Document from TDocStd;
+ theOStream : in out OStream from Standard)
+ ---Purpose: Save theDoc to standard SEEKABLE stream theOStream.
+ returns StoreStatus from PCDM;
Save (me : mutable; aDoc : Document from TDocStd)
-- path <path> . overwrite the file if it
-- already exist.
returns StoreStatus from PCDM;
+
+ SaveAs (me : mutable; aDoc : Document from TDocStd;
+ theOStream : in out OStream from Standard;
+ theStatusMessage: out ExtendedString from TCollection)
+ ---Purpose: Save theDoc to standard SEEKABLE stream theOStream.
+ returns StoreStatus from PCDM;
Save (me : mutable; aDoc : Document from TDocStd;
theStatusMessage: out ExtendedString from TCollection)
#include <CDF_Session.hxx>
#include <CDF_DirectoryIterator.hxx>
#include <CDF_Directory.hxx>
+#include <PCDM_StorageDriver.hxx>
+#include <Plugin.hxx>
#include <Standard_ErrorHandler.hxx>
#include <Standard_NotImplemented.hxx>
uses
Standard,
+ Storage,
TDF,
TDocStd,
TCollection,
ADriverTable from XmlMDF,
RRelocationTable from XmlObjMgt,
Element from XmlObjMgt,
- MessageDriver from CDM
+ MessageDriver from CDM,
+ IStream from Standard,
+ Data from Storage
is
Create returns DocumentRetrievalDriver from XmlLDrivers;
theApplication: Application from CDM) is redefined virtual;
--
+ Read(me:mutable; theIStream: in out IStream from Standard;
+ theData: Data from Storage;
+ theNewDocument: Document from CDM;
+ theApplication: Application from CDM) is redefined virtual;
+
ReadFromDomDocument (me : mutable; theDomElement: Element from XmlObjMgt;
theNewDocument: Document from CDM;
theApplication: Application from CDM)
#include <TCollection_AsciiString.hxx>
#include <UTL.hxx>
#include <OSD_Path.hxx>
+#include <OSD_OpenFile.hxx>
#ifdef WNT
# include <tchar.h>
Element from XmlObjMgt,
SRelocationTable from XmlObjMgt,
ADriverTable from XmlMDF,
- MessageDriver from CDM
+ MessageDriver from CDM,
+ OStream from Standard
is
Create (theCopyright: ExtendedString from TCollection)
is redefined virtual;
-- Write <aDocument> to the xml file <theFileName>
+ Write (me: mutable;theDocument: Document from CDM;
+ theOStream: in out OStream from Standard)
+ is redefined virtual;
+
WriteToDomDocument(me:mutable; theDocument: Document from CDM;
- thePDoc : out Element from XmlObjMgt;
- theFileName: ExtendedString from TCollection)
+ thePDoc : out Element from XmlObjMgt)
returns Boolean from Standard
is virtual protected;
mySeqOfNS : SequenceOfNamespaceDef from XmlLDrivers;
myCopyright : ExtendedString from TCollection;
myRelocTable: SRelocationTable from XmlObjMgt is protected;
+ myFileName : ExtendedString from TCollection;
end DocumentStorageDriver;