1 -- Created on: 1995-01-17
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
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.
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.
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.
22 class MarkMap from Xw inherits Transient
26 ---Purpose: This class defines a MarkMap object.
35 MarkMapEntry from Aspect,
36 MarkerStyle from Aspect
40 MarkMapDefinitionError from Aspect,
46 returns mutable MarkMap from Xw
50 Create ( Connexion : CString from Standard )
51 returns mutable MarkMap from Xw
53 ---Purpose: Creates a MarkMap with unallocated MarkMapEntry.
54 -- Warning: Raises if MarkMap creation failed according
55 -- to the supported hardware
56 raises MarkMapDefinitionError from Aspect ;
58 SetEntry ( me : mutable ;
59 anEntry : MarkMapEntry from Aspect )
61 ---Purpose: Modifies an entry already defined or Add the Entry
62 -- in the marker map <me> if it don't exist.
63 -- Warning: Raises if MarkMap size is exceeded,
64 -- or MarkMap is not defined properly,
65 -- or MarkMapEntry Index is out of range according
66 -- to the supported hardware
67 raises BadAccess from Aspect is virtual;
69 SetEntries ( me : mutable ;
70 aMarkmap : MarkMap from Aspect )
72 ---Purpose: Modifies all entries from a new Markmap
73 -- Warning: Raises if MarkMap size is exceeded,
74 -- or MarkMap is not defined properly,
75 -- or One of new MarkMapEntry Index is out of range according
76 -- to the supported hardware
77 raises BadAccess from Aspect is virtual;
79 Destroy ( me : mutable ) is virtual;
81 ---Purpose: Destroies the Markmap
84 ----------------------------
85 -- Category: Inquire methods
86 ----------------------------
89 returns Integer from Standard
91 ---Purpose: Returns the Number of Free Marks in the Typemap
92 -- depending of the HardWare
93 -- Warning: Raises if MarkMap is not defined properly
94 raises BadAccess from Aspect is static;
96 ExtendedMarkMap ( me )
97 returns Address from Standard
100 ---Purpose: Returns extended data markermap structure pointer.
101 ---Category: Inquire methods
106 MyExtendedDisplay : Address from Standard ;
107 MyExtendedMarkMap : Address from Standard ;