aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a05608.html
blob: 2e27a70bccfc6bebf15f18aa606b9c7a1875cb9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: constraint_type.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex">  <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>constraint_type.h</h1><a href="a04185.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 
00007 <span class="comment">/* Copyright, 2000 Nevrax Ltd.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * This file is part of NEVRAX NEL.</span>
00010 <span class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</span>
00011 <span class="comment"> * it under the terms of the GNU General Public License as published by</span>
00012 <span class="comment"> * the Free Software Foundation; either version 2, or (at your option)</span>
00013 <span class="comment"> * any later version.</span>
00014 <span class="comment"></span>
00015 <span class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</span>
00016 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00017 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span>
00018 <span class="comment"> * General Public License for more details.</span>
00019 <span class="comment"></span>
00020 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
00021 <span class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</span>
00022 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</span>
00023 <span class="comment"> * MA 02111-1307, USA.</span>
00024 <span class="comment"> */</span>
00025 <span class="preprocessor">#ifndef NL_CONSTRAINT_TYPE_H</span>
00026 <span class="preprocessor"></span><span class="preprocessor">#define NL_CONSTRAINT_TYPE_H</span>
00027 <span class="preprocessor"></span>
00028 <span class="keyword">namespace </span>NLAISCRIPT
00029 {       
00030 
<a name="l00039"></a><a class="code" href="a02406.html">00039</a>         <span class="keyword">class </span><a class="code" href="a02406.html">CConstraintChkMethodeType</a>: <span class="keyword">public</span> <a class="code" href="a02407.html">IConstraint</a>
00040         {
00041         <span class="keyword">private</span>:
<a name="l00043"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTyper1">00043</a>                 <a class="code" href="a02650.html">NLAIC::CIdentType</a>       *_Ident;
<a name="l00045"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTyper0">00045</a>                 <a class="code" href="a02407.html">IConstraint</a> *_Constraint;
00047 
<a name="l00048"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1816_2">00048</a>                 <span class="keywordtype">bool</span>                    _Satisfied;
<a name="l00049"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1816_1">00049</a>                 <span class="keywordtype">int</span>                             _Lin;
<a name="l00050"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1816_0">00050</a>                 <span class="keywordtype">int</span>                             _Col;
<a name="l00051"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1816_3">00051</a>                 <span class="keywordtype">char</span>                    *_TxtInfo;
<a name="l00053"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTyper2">00053</a>                 <span class="keywordtype">bool</span>                    <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTyper2">_RunIsDone</a>;
00054 
00055         <span class="keyword">public</span>:
00056                 <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypea1">CConstraintChkMethodeType</a>(<a class="code" href="a02407.html">IConstraint</a> *constraint, <span class="keywordtype">int</span> lin, <span class="keywordtype">int</span> col);
00057         
00059 
<a name="l00060"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_12">00060</a>                 <span class="keywordtype">bool</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_12">satisfied</a>()
00061                 {                       
00062                         <span class="keywordflow">return</span> _Satisfied;
00063                 }
00064 
<a name="l00065"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_6">00065</a>                 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_6">getInfo</a>() 
00066                 {
00067                         <span class="keywordflow">return</span> _TxtInfo;
00068                 }
00069 
00070                 <span class="keywordtype">void</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_11">run</a>(<a class="code" href="a02390.html">CCompilateur</a> &amp;);
00071                 <span class="keywordtype">void</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_11">run</a>(<a class="code" href="a02407.html">IConstraint</a> *);
00072                 <span class="keywordtype">void</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_0">addIndex</a>(<span class="keywordtype">int</span> i,<a class="code" href="a02372.html">CCodeBrancheRun</a> *c);
00073                 
<a name="l00074"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_7">00074</a>                 <span class="keywordtype">int</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_7">getLine</a>()<span class="keyword"> const</span>
00075 <span class="keyword">                </span>{
00076                         <span class="keywordflow">return</span> _Lin;
00077                 }
<a name="l00078"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_3">00078</a>                 <span class="keywordtype">int</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_3">getColone</a>()<span class="keyword"> const</span>
00079 <span class="keyword">                </span>{
00080                         <span class="keywordflow">return</span> _Col;
00081                 }
00082 
<a name="l00083"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_2">00083</a>                 <span class="keywordtype">bool</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_2">dependOn</a>(<span class="keyword">const</span> <a class="code" href="a02407.html">IConstraint</a> *c)<span class="keyword"> const</span>
00084 <span class="keyword">                </span>{
00085                         <span class="keywordflow">return</span> c == _Constraint || _Constraint-&gt;<a class="code" href="a02407.html#NLAISCRIPT_1_1IOpTypea3">dependOn</a>(c);
00086                 }
00087 
00088                 <span class="keywordtype">void</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_5">getError</a>(<span class="keywordtype">char</span> *) <span class="keyword">const</span>;
00089 
00090                 <span class="keyword">const</span> <a class="code" href="a02407.html">IConstraint</a> *<a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_1">clone</a>() <span class="keyword">const</span>;               
00091 
<a name="l00092"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_4">00092</a>                 <span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> *<a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_4">getConstraintTypeOf</a>()
00093                 {
00094                         <span class="keywordflow">return</span> _Ident;
00095                 }
00096 
00097                 <span class="keywordtype">bool</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_9">operator == </a>(<span class="keyword">const</span> <a class="code" href="a02407.html">IConstraint</a> &amp;) <span class="keyword">const</span>;
00098 
<a name="l00099"></a><a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_8">00099</a>                 ConstraintTypeEnum <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypez1818_8">getTypeOfClass</a>()<span class="keyword"> const</span>
00100 <span class="keyword">                </span>{
00101                         <span class="keywordflow">return</span> constraintChkMethodeType;
00102                 }
00104                 
00105                 <span class="keyword">virtual</span> <a class="code" href="a02406.html#NLAISCRIPT_1_1CConstraintChkMethodeTypea9">~CConstraintChkMethodeType</a>();
00106         };
00107 }
00108 
00109 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:23:48 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>