a1f8b90e1df61afe37d9ca6782c3c22e4d334709
[occt.git] / src / AlienImage / AlienImage_AlienImageData.cdl
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
5 --
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
21 -- Modified:    DCB (20-OCT-98)
22 --              Define Name()/SetName() as deferred.
23
24 deferred class AlienImageData from AlienImage inherits AlienImage
25
26         ---Version: 0.0
27
28         ---Purpose: This class defines an Alien image.
29         -- Alien Image is X11 . xwd image or SGI .rgb image for examples
30
31         ---Keywords:
32         ---Warning:
33         ---References:
34
35 uses
36   AsciiString    from TCollection
37
38 is
39         Initialize ;
40
41         SetName( me : in out mutable;
42                  aName : in AsciiString from TCollection)
43         is virtual;
44         ---Level: Public
45         ---Purpose: Set Image name .
46
47         Name( me : in immutable ) returns AsciiString from TCollection
48         is virtual;
49         ---C++: return const &
50         ---Level: Public
51         ---Purpose: get Image name .
52
53 fields
54   myName:      AsciiString from TCollection is protected;
55
56 end AlienImageData;
57