PCDM
OCCT package PCDM: PCDM, PCDM_Document, PCDM_DOMHeaderParser, PCDM_DriverError, and 11 more bound classes.
PCDM
Constructors(1)
- constructor(): PCDM
PCDM_Document
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(1)
PCDM_DOMHeaderParser
Constructors(1)
Instance methods(5)
- SetStartElementName(aStartElementName: TCollection_AsciiString): voidParameters (1)
aStartElementName
- SetEndElementName(anEndElementName: TCollection_AsciiString): voidParameters (1)
anEndElementName
- startElement(): boolean
- endElement(): boolean
PCDM_DriverError
Constructors(2)
- constructor(theMessage: string): PCDM_DriverErrorParameters (1)
theMessage
- constructor(theMessage: string, theStackTrace: string): PCDM_DriverErrorParameters (2)
theMessagetheStackTrace
Instance methods(1)
- ExceptionType(): string
PCDM_Reader
Static methods(2)
- get_type_name(): string
Instance methods(1)
PCDM_ReaderStatus
Properties(23)
PCDM_ReadWriter
Static methods(6)
- Reader(aFileName: TCollection_ExtendedString): PCDM_ReadWriter
returns the convenient Reader for a File.
Parameters (1)aFileName
- WriteFileFormat(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
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.
Parameters (1)aFileName
- get_type_name(): string
Instance methods(5)
- WriteReferenceCounter(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
- WriteReferences(aData: Storage_Data, aDocument: CDM_Document, theReferencerFileName: TCollection_ExtendedString): voidParameters (3)
aDataaDocumenttheReferencerFileName
- WriteExtensions(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
- WriteVersion(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
PCDM_ReadWriter_1
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(5)
- WriteReferenceCounter(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
- WriteReferences(aData: Storage_Data, aDocument: CDM_Document, theReferencerFileName: TCollection_ExtendedString): voidParameters (3)
aDataaDocumenttheReferencerFileName
- WriteExtensions(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
- WriteVersion(aData: Storage_Data, aDocument: CDM_Document): voidParameters (2)
aDataaDocument
PCDM_Reference
Constructors(2)
- constructor(aReferenceIdentifier: number, aFileName: TCollection_ExtendedString, aDocumentVersion: number): PCDM_ReferenceParameters (3)
aReferenceIdentifieraFileNameaDocumentVersion
Instance methods(3)
- ReferenceIdentifier(): number
- DocumentVersion(): number
PCDM_ReferenceIterator
Static methods(2)
- get_type_name(): string
Instance methods(2)
- Init(aMetaData: CDM_MetaData): voidParameters (1)
aMetaData
PCDM_RetrievalDriver
Static methods(2)
- get_type_name(): string
Instance methods(2)
PCDM_StorageDriver
persistent implementation of storage.
The application must redefine one the two Make() methods. The first one, if the application wants to put only one document in the storage file.
The second method should be redefined to put additional document that could be used by the retrieval instead of the principal document, depending on the schema used during the retrieval. For example, a second document could be a standard CDMShape_Document. This means that a client application will already be able to extract a CDMShape_Document of the file, if the Shape Schema remains unchanged.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(11)
- Make(aDocument: CDM_Document): PCDM_Document
raises NotImplemented.
Parameters (1)aDocument
- Make(aDocument: CDM_Document, Documents: NCollection_Sequence_handle_PCDM_Document): void
By default, puts in the Sequence the document returns by the previous Make method.
Parameters (2)aDocumentDocuments—Mutated in place; read the updated value from this argument after the call.
- Write(aDocument: CDM_Document, aFileName: TCollection_ExtendedString, theRange: Message_ProgressRange): void
Warning! raises DriverError if an error occurs during inside the Make method. stores the content of the Document into a new file.
by default Write will use Make method to build a persistent document and the Schema method to write the persistent document.Parameters (3)aDocumentaFileNametheRange
- Write(theDocument: CDM_Document, theOStream: Standard_OStream, theRange: Message_ProgressRange): void
Warning! raises DriverError if an error occurs during inside the Make method. stores the content of the Document into a new file.
by default Write will use Make method to build a persistent document and the Schema method to write the persistent document.Parameters (3)theDocumenttheOStreamtheRange
- SetFormat(aformat: TCollection_ExtendedString): voidParameters (1)
aformat
- IsError(): boolean
- SetIsError(theIsError: boolean): voidParameters (1)
theIsError
- SetStoreStatus(theStoreStatus: PCDM_StoreStatus): voidParameters (1)
theStoreStatus
PCDM_StoreStatus
Properties(9)
PCDM_TypeOfFileDriver
Properties(4)
PCDM_Writer
Static methods(2)
- get_type_name(): string
Instance methods(2)
- Write(aDocument: CDM_Document, aFileName: TCollection_ExtendedString, theRange: Message_ProgressRange): voidParameters (3)
aDocumentaFileNametheRange