Integration of OCCT 6.5.0 from SVN
[occt.git] / src / AlienImage / AlienImage_AlienUserImage.cdl
CommitLineData
7fd59977 1-- File: AlienImage_AlienUserImage.cdl
2-- Created: 23/03/93
3-- Author: BBL,JLF
4--
5-- Modified: DCB (20-OCT-98)
6-- Define ToImage()/FromName() as deferred.
7--
8---Copyright: Matravision 1993
9
10deferred class AlienUserImage from AlienImage inherits AlienImage
11
12 ---Version: 0.0
13
14 ---Purpose: This class defines an Alien user image.
15 -- Alien Image is X11 .xwd image or SGI .rgb image for examples
16
17 ---Keywords:
18 ---Warning:
19 ---References:
20
21uses
22 Image from Image,
23 File from OSD
24
25raises
26 TypeMismatch from Standard
27
28is
29 Initialize ;
30
31 Read ( me : in out mutable ; afile : in out File from OSD )
32 returns Boolean from Standard is deferred;
33 ---Level: Public
34 ---Purpose: Read content of a UserAlienImage object from a file .
35 -- Returns True if sucess .
36
37 Read ( me : in out mutable ; afile : in CString from Standard )
38 returns Boolean from Standard ;
39 ---Level: Public
40 ---Purpose: Read content of a UserAlienImage object from a file .
41 -- Returns True if file is a AlienImage file .
42
43 Write ( me : in immutable ; afile : in out File from OSD )
44 returns Boolean from Standard is deferred ;
45 ---Level: Public
46 ---Purpose: Write content of a UserAlienImage object to a file .
47
48 Write ( me : in immutable ; afile : in CString from Standard )
49 returns Boolean from Standard ;
50 ---Level: Public
51 ---Purpose: Write content of a UserAlienImage object to a file .
52
53 ToImage ( me : in immutable )
54 returns mutable Image from Image
55 raises TypeMismatch from Standard
56 is deferred;
57 ---Level: Public
58 ---Purpose : convert a AidaAlienData object to a Image object.
59
60 FromImage ( me : in out mutable ; anImage : in Image from Image )
61 raises TypeMismatch from Standard
62 is deferred;
63 ---Level: Public
64 ---Purpose : convert a Image object to a AidaAlienData object.
65
66end AlienUserImage;
67