0023024: Update headers of OCCT files
[occt.git] / src / AlienImage / AlienImage_AlienUserImage.cdl
CommitLineData
b311480e 1-- Created on: 1993-03-23
2-- Created by: BBL,JLF
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
7fd59977 5--
b311480e 6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21-- Modified: DCB (20-OCT-98)
22-- Define ToImage()/FromName() as deferred.
7fd59977 23
24deferred class AlienUserImage from AlienImage inherits AlienImage
25
26 ---Version: 0.0
27
28 ---Purpose: This class defines an Alien user image.
29 -- Alien Image is X11 .xwd image or SGI .rgb image for examples
30
31 ---Keywords:
32 ---Warning:
33 ---References:
34
35uses
36 Image from Image,
37 File from OSD
38
39raises
40 TypeMismatch from Standard
41
42is
43 Initialize ;
44
45 Read ( me : in out mutable ; afile : in out File from OSD )
46 returns Boolean from Standard is deferred;
47 ---Level: Public
48 ---Purpose: Read content of a UserAlienImage object from a file .
49 -- Returns True if sucess .
50
51 Read ( me : in out mutable ; afile : in CString from Standard )
52 returns Boolean from Standard ;
53 ---Level: Public
54 ---Purpose: Read content of a UserAlienImage object from a file .
55 -- Returns True if file is a AlienImage file .
56
57 Write ( me : in immutable ; afile : in out File from OSD )
58 returns Boolean from Standard is deferred ;
59 ---Level: Public
60 ---Purpose: Write content of a UserAlienImage object to a file .
61
62 Write ( me : in immutable ; afile : in CString from Standard )
63 returns Boolean from Standard ;
64 ---Level: Public
65 ---Purpose: Write content of a UserAlienImage object to a file .
66
67 ToImage ( me : in immutable )
68 returns mutable Image from Image
69 raises TypeMismatch from Standard
70 is deferred;
71 ---Level: Public
72 ---Purpose : convert a AidaAlienData object to a Image object.
73
74 FromImage ( me : in out mutable ; anImage : in Image from Image )
75 raises TypeMismatch from Standard
76 is deferred;
77 ---Level: Public
78 ---Purpose : convert a Image object to a AidaAlienData object.
79
80end AlienUserImage;
81