0023024: Update headers of OCCT files
[occt.git] / src / IFSelect / IFSelect_SignMultiple.cdl
CommitLineData
b311480e 1-- Created on: 1998-01-28
2-- Created by: Christian CAILLET
3-- Copyright (c) 1998-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
7fd59977 21
22
23class SignMultiple from IFSelect inherits Signature from IFSelect
24
25 ---Purpose : Multiple Signature : ordered list of other Signatures
26 -- It concatenates on a same line the result of its sub-items
27 -- separated by sets of 3 blanks
28 -- It is possible to define tabulations between sub-items
29 -- Moreover, match rules are specific
30
31uses CString, Transient, AsciiString, InterfaceModel,
32 SequenceOfTransient, SequenceOfInteger
33
34is
35
36 Create (name : CString) returns mutable SignMultiple;
37 ---Purpose : Creates an empty SignMultiple with a Name
38 -- This name should take expected tabulations into account
39
40 Add (me : mutable; subsign : Signature;
41 width : Integer = 0; maxi : Boolean = Standard_False);
42 ---Purpose : Adds a Signature. Width, if given, gives the tabulation
43 -- If <maxi> is True, it is a forced tabulation (overlength is
44 -- replaced by a final dot)
45 -- If <maxi> is False, just 3 blanks follow an overlength
46
47 Value (me; ent : any Transient; model : InterfaceModel) returns CString;
48 ---Purpose : Concatenates the values of sub-signatures, with their
49 -- tabulations
50
51 Matches (me; ent : Transient; model : InterfaceModel;
52 text : AsciiString; exact : Boolean)
53 returns Boolean is redefined;
54 ---Purpose : Specialized Match Rule
55 -- If <exact> is False, simply checks if at least one sub-item
56 -- matches
57 -- If <exact> is True, standard match with Value
58 -- (i.e. tabulations must be respected)
59
60fields
61
62 thesubs : SequenceOfTransient;
63 thetabs : SequenceOfInteger;
64
65end SignMultiple;