mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-06 21:07:36 +08:00
111 lines
3.7 KiB
Plaintext
Executable File
111 lines
3.7 KiB
Plaintext
Executable File
-- File: CDM_MetaData.cdl
|
|
-- Created: Wed Oct 22 14:54:38 1997
|
|
-- Author: Jean-Louis Frenkel
|
|
-- <rmi@frilox.paris1.matra-dtv.fr>
|
|
---Copyright: Matra Datavision 1997
|
|
|
|
class MetaData from CDM inherits Transient from Standard
|
|
|
|
uses ExtendedString from TCollection,Document from CDM,MetaDataLookUpTable from CDM, DocumentPointer from CDM,
|
|
Application from CDM
|
|
raises NoSuchObject from Standard
|
|
|
|
is
|
|
|
|
Create(aFolder,aName, aPath: ExtendedString from TCollection;
|
|
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
|
|
returns MetaData from CDM is private;
|
|
|
|
Create(aFolder,aName, aPath, aVersion: ExtendedString from TCollection;
|
|
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
|
|
returns MetaData from CDM is private;
|
|
|
|
|
|
|
|
LookUp(myclass; aFolder,aName, aPath: ExtendedString from TCollection;
|
|
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
|
|
returns MetaData from CDM;
|
|
|
|
LookUp(myclass; aFolder,aName, aPath, aVersion: ExtendedString from TCollection; aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
|
|
returns MetaData from CDM;
|
|
|
|
|
|
|
|
|
|
IsRetrieved(me) returns Boolean from Standard;
|
|
|
|
Document(me) returns Document from CDM;
|
|
|
|
Folder(me) returns ExtendedString from TCollection;
|
|
---Purpose: returns the folder in which the meta-data has to be created
|
|
-- or has to be found.
|
|
--
|
|
Name(me) returns ExtendedString from TCollection;
|
|
---Purpose: returns the name under which the meta-data has to be created
|
|
-- or has to be found.
|
|
--
|
|
|
|
Version(me) returns ExtendedString from TCollection
|
|
---Purpose: returns the version under which the meta-data has to be found.
|
|
-- Warning: raises NoSuchObject from Standard if no Version has been defined
|
|
|
|
raises NoSuchObject from Standard;
|
|
|
|
HasVersion(me) returns Boolean from Standard;
|
|
---Purpose: indicates that the version has to be taken into account when
|
|
-- searching the corresponding meta-data.
|
|
|
|
FileName(me) returns ExtendedString from TCollection;
|
|
---Category: programming facility
|
|
--
|
|
Print(me; anOStream: in out OStream from Standard)
|
|
returns OStream from Standard;
|
|
---C++: return &
|
|
---C++: alias "Standard_OStream& operator << (Standard_OStream& anOStream);"
|
|
--
|
|
|
|
Path(me) returns ExtendedString from TCollection;
|
|
|
|
|
|
---Category: methods to modify the metadata.
|
|
--
|
|
SetDocument(me: mutable; aDocument: Document from CDM)
|
|
is private;
|
|
|
|
UnsetDocument(me: mutable);
|
|
|
|
LookUpTable(myclass) returns MetaDataLookUpTable from CDM
|
|
is private;
|
|
---C++: return const&
|
|
--
|
|
DocumentVersion(me: mutable; anApplication: Application from CDM) returns Integer from Standard
|
|
is private;
|
|
|
|
IsReadOnly(me) returns Boolean from Standard;
|
|
|
|
SetIsReadOnly(me: mutable);
|
|
|
|
UnsetIsReadOnly(me: mutable);
|
|
|
|
fields
|
|
myIsRetrieved: Boolean from Standard;
|
|
myDocument: DocumentPointer from CDM;
|
|
myFolder: ExtendedString from TCollection;
|
|
myName: ExtendedString from TCollection;
|
|
|
|
myVersion: ExtendedString from TCollection;
|
|
myHasVersion: Boolean from Standard;
|
|
|
|
myFileName: ExtendedString from TCollection;
|
|
myPath: ExtendedString from TCollection;
|
|
|
|
|
|
myDocumentVersion: Integer from Standard;
|
|
|
|
myIsReadOnly: Boolean from Standard;
|
|
|
|
friends SetMetaData from class Document from CDM(me: mutable; aMetaData: MetaData from CDM),
|
|
class Reference from CDM,
|
|
SetDocumentVersion from class Application from CDM(me; aDocument: Document from CDM; aMetaData: MetaData from CDM)
|
|
end MetaData from CDM;
|