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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>AARM95 - Bounded-Length String Handling</TITLE>
<META NAME="Author" CONTENT="JTC1/SC22/WG9/ARG, by Randall Brukardt, ARG Editor">
<META NAME="GENERATOR" CONTENT="Arm_Form.Exe, Ada Reference Manual generator">
<STYLE type="text/css">
DIV.paranum {position: absolute; font-family: Arial, Helvetica, sans-serif; left: 0.5 em; top: auto}
TT {font-family: "Courier New", monospace}
DT {display: compact}
DIV.Normal {font-family: "Times New Roman", Times, serif; margin-bottom: 0.6em}
DIV.Wide {font-family: "Times New Roman", Times, serif; margin-top: 0.6em; margin-bottom: 0.6em}
DIV.Annotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
DIV.WideAnnotations {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0.6em; margin-bottom: 0.6em}
DIV.Index {font-family: "Times New Roman", Times, serif}
DIV.SyntaxSummary {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
DIV.Notes {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.6em}
DIV.NotesHeader {font-family: "Times New Roman", Times, serif; margin-left: 2.0em}
DIV.SyntaxIndented {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-bottom: 0.4em}
DIV.Indented {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-bottom: 0.6em}
DIV.CodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-bottom: 0.6em}
DIV.SmallIndented {font-family: "Times New Roman", Times, serif; margin-left: 10.0em; margin-bottom: 0.6em}
DIV.SmallCodeIndented {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-bottom: 0.6em}
DIV.Examples {font-family: "Courier New", monospace; margin-left: 2.0em; margin-bottom: 0.6em}
DIV.SmallExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left: 7.5em; margin-bottom: 0.6em}
DIV.IndentedExamples {font-family: "Courier New", monospace; margin-left: 8.0em; margin-bottom: 0.6em}
DIV.SmallIndentedExamples {font-family: "Courier New", monospace; font-size: 80%; margin-left: 15.0em; margin-bottom: 0.6em}
UL.Bulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SmallBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SmallNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.IndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.CodeIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.CodeIndentedNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-right: 8.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.SyntaxIndentedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NotesBulleted {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
UL.NotesNestedBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
DL.Hanging {font-family: "Times New Roman", Times, serif; margin-top: 0em; margin-bottom: 0.6em}
DD.Hanging {margin-left: 6.0em}
DL.IndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.IndentedHanging {margin-left: 2.0em}
DL.HangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.HangingInBulleted {margin-left: 4.0em}
DL.SmallHanging {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.SmallHanging {margin-left: 7.5em}
DL.SmallIndentedHanging {font-family: "Times New Roman", Times, serif; margin-left: 8.0em; margin-top: 0em; margin-bottom: 0.6em}
DD.SmallIndentedHanging {margin-left: 2.0em}
DL.SmallHangingInBulleted {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.SmallHangingInBulleted {margin-left: 5.0em}
DL.Enumerated {font-family: "Times New Roman", Times, serif; margin-right: 0.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.Enumerated {margin-left: 2.0em}
DL.SmallEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 4.0em; margin-right: 4.0em; margin-top: 0em; margin-bottom: 0.5em}
DD.SmallEnumerated {margin-left: 2.5em}
DL.NestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 2.0em; margin-right: 2.0em; margin-top: 0em; margin-bottom: 0.5em}
DL.SmallNestedEnumerated {font-family: "Times New Roman", Times, serif; margin-left: 6.0em; margin-right: 6.0em; margin-top: 0em; margin-bottom: 0.5em}
</STYLE>
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFF0" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<P><A HREF="AA-TOC.html">Contents</A> <A HREF="AA-0-29.html">Index</A> <A HREF="AA-A-4-3.html">Previous</A> <A HREF="AA-A-4-5.html">Next</A></P>
<HR>
<H1> A.4.4 Bounded-Length String Handling</H1>
<DIV Class="Paranum"><FONT SIZE=-2>1</FONT></DIV>
<DIV Class="Normal"> The language-defined package Strings.Bounded provides
a generic package each of whose instances yields a private type Bounded_String
and a set of operations. An object of a particular Bounded_String type
represents a String whose low bound is 1 and whose length can vary conceptually
between 0 and a maximum size established at the generic instantiation.
The subprograms for fixed-length string handling are either overloaded
directly for Bounded_String, or are modified as needed to reflect the
variability in length. Additionally, since the Bounded_String type is
private, appropriate constructor and selector operations are provided.
</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>1.a</FONT></DIV>
<DIV Class="Annotations"><FONT SIZE=-1><B>Reason: </B>Strings.Bounded
declares an inner generic package, versus itself being directly a generic
child of Strings, in order to retain compatibility with a version of
the string-handling packages that is generic with respect to the character
and string types.</FONT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>1.b</FONT></DIV>
<DIV Class="Annotations"><FONT SIZE=-1><B>Reason: </B>The bound of a
bounded-length string is specified as a parameter to a generic, versus
as the value for a discriminant, because of the inappropriateness of
assignment and equality of discriminated types for the copying and comparison
of bounded strings.</FONT></DIV>
<H4 ALIGN=CENTER>Static Semantics</H4>
<DIV Class="Paranum"><FONT SIZE=-2>2</FONT></DIV>
<DIV Class="Normal" Style="margin-bottom: 0.4em"> The library package
Strings.Bounded has the following declaration: </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>3</FONT></DIV>
<DIV Class="Examples"><TT><B>with</B> Ada.Strings.Maps;<BR>
<A NAME="I5244"></A><A NAME="I5245"></A><A NAME="I5246"></A><B>package</B> Ada.Strings.Bounded <B>is</B><BR>
<B>pragma</B> Preelaborate(Bounded);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>4</FONT></DIV>
<DIV Class="Examples"><TT> <B>generic</B><BR>
Max : Positive; --<I> Maximum length of a Bounded_String</I><BR>
<B>package</B> <A NAME="I5247"></A>Generic_Bounded_Length <B>is</B></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>5</FONT></DIV>
<DIV Class="Examples"><TT> <A NAME="I5248"></A>Max_Length : <B>constant</B> Positive := Max;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>6</FONT></DIV>
<DIV Class="Examples"><TT> <B>type</B> <A NAME="I5249"></A><A NAME="I5250"></A>Bounded_String <B>is</B> <B>private</B>;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>7</FONT></DIV>
<DIV Class="Examples"><TT> <A NAME="I5251"></A>Null_Bounded_String : <B>constant</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>8</FONT></DIV>
<DIV Class="Examples"><TT> <B>subtype</B> <A NAME="I5252"></A>Length_Range <B>is</B> Natural <B>range</B> 0 .. Max_Length;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>9</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5253"></A><A NAME="I5254"></A>Length (Source : <B>in</B> Bounded_String) <B>return</B> Length_Range;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>10</FONT></DIV>
<DIV Class="Examples"><TT> --<I> Conversion, Concatenation, and Selection functions</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>11</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5255"></A><A NAME="I5256"></A>To_Bounded_String (Source : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>12</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5257"></A><A NAME="I5258"></A>To_String (Source : <B>in</B> Bounded_String) <B>return</B> String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>13</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5259"></A><A NAME="I5260"></A>Append (Left, Right : <B>in</B> Bounded_String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>14</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5261"></A><A NAME="I5262"></A>Append (Left : <B>in</B> Bounded_String;<BR>
Right : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>15</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5263"></A><A NAME="I5264"></A>Append (Left : <B>in</B> String;<BR>
Right : <B>in</B> Bounded_String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>16</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5265"></A><A NAME="I5266"></A>Append (Left : <B>in</B> Bounded_String;<BR>
Right : <B>in</B> Character;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>17</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5267"></A><A NAME="I5268"></A>Append (Left : <B>in</B> Character;<BR>
Right : <B>in</B> Bounded_String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>18</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5269"></A><A NAME="I5270"></A>Append (Source : <B>in out</B> Bounded_String;<BR>
New_Item : <B>in</B> Bounded_String;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>19</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5271"></A><A NAME="I5272"></A>Append (Source : <B>in out</B> Bounded_String;<BR>
New_Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>20</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5273"></A><A NAME="I5274"></A>Append (Source : <B>in out</B> Bounded_String;<BR>
New_Item : <B>in</B> Character;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>21</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "&" (Left, Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>22</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "&" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>23</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "&" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>24</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "&" (Left : <B>in</B> Bounded_String; Right : <B>in</B> Character)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>25</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "&" (Left : <B>in</B> Character; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>26</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5275"></A><A NAME="I5276"></A>Element (Source : <B>in</B> Bounded_String;<BR>
Index : <B>in</B> Positive)<BR>
<B>return</B> Character;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>27</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5277"></A><A NAME="I5278"></A>Replace_Element (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Index : <B>in</B> Positive;<BR>
By : <B>in</B> Character);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>28</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5279"></A><A NAME="I5280"></A>Slice (Source : <B>in</B> Bounded_String;<BR>
Low : <B>in</B> Positive;<BR>
High : <B>in</B> Natural)<BR>
<B>return</B> String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>29</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "=" (Left, Right : <B>in</B> Bounded_String) <B>return</B> Boolean;<BR>
<B>function</B> "=" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>30</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "=" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>31</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<" (Left, Right : <B>in</B> Bounded_String) <B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>32</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>33</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>34</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<=" (Left, Right : <B>in</B> Bounded_String) <B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>35</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<=" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>36</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "<=" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>37</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">" (Left, Right : <B>in</B> Bounded_String) <B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>38</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>39</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>40</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">=" (Left, Right : <B>in</B> Bounded_String) <B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>41</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">=" (Left : <B>in</B> Bounded_String; Right : <B>in</B> String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>42</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> ">=" (Left : <B>in</B> String; Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Boolean;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>43</FONT></DIV>
<DIV Class="Examples"><TT> --<I> Search functions</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>44</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5281"></A><A NAME="I5282"></A>Index (Source : <B>in</B> Bounded_String;<BR>
Pattern : <B>in</B> String;<BR>
Going : <B>in</B> Direction := Forward;<BR>
Mapping : <B>in</B> Maps.Character_Mapping<BR>
:= Maps.Identity)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>45</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5283"></A><A NAME="I5284"></A>Index (Source : <B>in</B> Bounded_String;<BR>
Pattern : <B>in</B> String;<BR>
Going : <B>in</B> Direction := Forward;<BR>
Mapping : <B>in</B> Maps.Character_Mapping_Function)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>46</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5285"></A><A NAME="I5286"></A>Index (Source : <B>in</B> Bounded_String;<BR>
Set : <B>in</B> Maps.Character_Set;<BR>
Test : <B>in</B> Membership := Inside;<BR>
Going : <B>in</B> Direction := Forward)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>47</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5287"></A><A NAME="I5288"></A>Index_Non_Blank (Source : <B>in</B> Bounded_String;<BR>
Going : <B>in</B> Direction := Forward)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>48</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5289"></A><A NAME="I5290"></A>Count (Source : <B>in</B> Bounded_String;<BR>
Pattern : <B>in</B> String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping<BR>
:= Maps.Identity)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>49</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5291"></A><A NAME="I5292"></A>Count (Source : <B>in</B> Bounded_String;<BR>
Pattern : <B>in</B> String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping_Function)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>50</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5293"></A><A NAME="I5294"></A>Count (Source : <B>in</B> Bounded_String;<BR>
Set : <B>in</B> Maps.Character_Set)<BR>
<B>return</B> Natural;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>51</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5295"></A><A NAME="I5296"></A>Find_Token (Source : <B>in</B> Bounded_String;<BR>
Set : <B>in</B> Maps.Character_Set;<BR>
Test : <B>in</B> Membership;<BR>
First : <B>out</B> Positive;<BR>
Last : <B>out</B> Natural);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>52</FONT></DIV>
<DIV Class="Examples"><TT> --<I> String translation subprograms</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>53</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5297"></A><A NAME="I5298"></A>Translate (Source : <B>in</B> Bounded_String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>54</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5299"></A><A NAME="I5300"></A>Translate (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>55</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5301"></A><A NAME="I5302"></A>Translate (Source : <B>in</B> Bounded_String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping_Function)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>56</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5303"></A><A NAME="I5304"></A>Translate (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Mapping : <B>in</B> Maps.Character_Mapping_Function);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>57</FONT></DIV>
<DIV Class="Examples"><TT> --<I> String transformation subprograms</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>58</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5305"></A><A NAME="I5306"></A>Replace_Slice (Source : <B>in</B> Bounded_String;<BR>
Low : <B>in</B> Positive;<BR>
High : <B>in</B> Natural;<BR>
By : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>59</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5307"></A><A NAME="I5308"></A>Replace_Slice (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Low : <B>in</B> Positive;<BR>
High : <B>in</B> Natural;<BR>
By : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>60</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5309"></A><A NAME="I5310"></A>Insert (Source : <B>in</B> Bounded_String;<BR>
Before : <B>in</B> Positive;<BR>
New_Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>61</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5311"></A><A NAME="I5312"></A>Insert (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Before : <B>in</B> Positive;<BR>
New_Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>62</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5313"></A><A NAME="I5314"></A>Overwrite (Source : <B>in</B> Bounded_String;<BR>
Position : <B>in</B> Positive;<BR>
New_Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>63</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5315"></A><A NAME="I5316"></A>Overwrite (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Position : <B>in</B> Positive;<BR>
New_Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>64</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5317"></A><A NAME="I5318"></A>Delete (Source : <B>in</B> Bounded_String;<BR>
From : <B>in</B> Positive;<BR>
Through : <B>in</B> Natural)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>65</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5319"></A><A NAME="I5320"></A>Delete (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
From : <B>in</B> Positive;<BR>
Through : <B>in</B> Natural);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>66</FONT></DIV>
<DIV Class="Examples"><TT>--<I>String selector subprograms</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>67</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5321"></A><A NAME="I5322"></A>Trim (Source : <B>in</B> Bounded_String;<BR>
Side : <B>in</B> Trim_End)<BR>
<B>return</B> Bounded_String;<BR>
<B>procedure</B> <A NAME="I5323"></A><A NAME="I5324"></A>Trim (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Side : <B>in</B> Trim_End);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>68</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5325"></A><A NAME="I5326"></A>Trim (Source : <B>in</B> Bounded_String;<BR>
Left : <B>in</B> Maps.Character_Set;<BR>
Right : <B>in</B> Maps.Character_Set)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>69</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5327"></A><A NAME="I5328"></A>Trim (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Left : <B>in</B> Maps.Character_Set;<BR>
Right : <B>in</B> Maps.Character_Set);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>70</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5329"></A><A NAME="I5330"></A>Head (Source : <B>in</B> Bounded_String;<BR>
Count : <B>in</B> Natural;<BR>
Pad : <B>in</B> Character := Space;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>71</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5331"></A><A NAME="I5332"></A>Head (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Count : <B>in</B> Natural;<BR>
Pad : <B>in</B> Character := Space;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>72</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5333"></A><A NAME="I5334"></A>Tail (Source : <B>in</B> Bounded_String;<BR>
Count : <B>in</B> Natural;<BR>
Pad : <B>in</B> Character := Space;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>73</FONT></DIV>
<DIV Class="Examples"><TT> <B>procedure</B> <A NAME="I5335"></A><A NAME="I5336"></A>Tail (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Count : <B>in</B> Natural;<BR>
Pad : <B>in</B> Character := Space;<BR>
Drop : <B>in</B> Truncation := Error);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>74</FONT></DIV>
<DIV Class="Examples"><TT>--<I>String constructor subprograms</I></TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>75</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "*" (Left : <B>in</B> Natural;<BR>
Right : <B>in</B> Character)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>76</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "*" (Left : <B>in</B> Natural;<BR>
Right : <B>in</B> String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>77</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> "*" (Left : <B>in</B> Natural;<BR>
Right : <B>in</B> Bounded_String)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>78</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5337"></A><A NAME="I5338"></A>Replicate (Count : <B>in</B> Natural;<BR>
Item : <B>in</B> Character;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>79</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5339"></A><A NAME="I5340"></A>Replicate (Count : <B>in</B> Natural;<BR>
Item : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>80</FONT></DIV>
<DIV Class="Examples"><TT> <B>function</B> <A NAME="I5341"></A><A NAME="I5342"></A>Replicate (Count : <B>in</B> Natural;<BR>
Item : <B>in</B> Bounded_String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>81</FONT></DIV>
<DIV Class="Examples"><TT> <B>private</B><BR>
... -- <I>not specified by the language</I><BR>
<B>end</B> Generic_Bounded_Length;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>82</FONT></DIV>
<DIV Class="Examples"><TT><B>end</B> Ada.Strings.Bounded;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>82.a.1/1</FONT></DIV>
<DIV Class="Annotations"><FONT SIZE=-1><B>Implementation Note: </B>{<I><A HREF="defect2.html#8652/0097">8652/0097</A></I>}
<U>Bounded_String cannot be implemented as a (directly) controlled type,
as Ada.Strings.Bounded.Generic_Bounded_Length can be instantiated at
any nesting depth. Bounded_String could have a component of a controlled
type, as long as that type is declared in some other (non-generic) package
(including directly in Ada.Strings.Bounded).</U> </FONT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>83</FONT></DIV>
<DIV Class="Normal"> Null_Bounded_String represents the null string.
If an object of type Bounded_String is not otherwise initialized, it
will be initialized to the same value as Null_Bounded_String. </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>84</FONT></DIV>
<DIV Class="Examples"><TT><B>function</B> Length (Source : <B>in</B> Bounded_String) <B>return</B> Length_Range;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>85</FONT></DIV>
<DIV Class="CodeIndented" Style="margin-bottom: 0.9em">The Length function
returns the length of the string represented by Source.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>86</FONT></DIV>
<DIV Class="Examples"><TT><B>function</B> To_Bounded_String (Source : <B>in</B> String;<BR>
Drop : <B>in</B> Truncation := Error)<BR>
<B>return</B> Bounded_String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>87</FONT></DIV>
<DIV Class="CodeIndented" Style="margin-bottom: 0.4em">If Source'Length
<= Max_Length then this function returns a Bounded_String that represents
Source. Otherwise the effect depends on the value of Drop: </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>88</FONT></DIV>
<UL Class="CodeIndentedBulleted"><LI TYPE=DISC>If Drop=Left, then the result is a Bounded_String that
represents the string comprising the rightmost Max_Length characters
of Source.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>89</FONT></DIV>
<UL Class="CodeIndentedBulleted"><LI TYPE=DISC>If Drop=Right, then the result is a Bounded_String that
represents the string comprising the leftmost Max_Length characters of
Source.</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>90</FONT></DIV>
<UL Class="CodeIndentedBulleted" Style="margin-bottom: 0.7em"><LI TYPE=DISC>If Drop=Error, then Strings.Length_Error is propagated.
</LI></UL>
<DIV Class="Paranum"><FONT SIZE=-2>91</FONT></DIV>
<DIV Class="Examples"><TT><B>function</B> To_String (Source : <B>in</B> Bounded_String) <B>return</B> String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>92</FONT></DIV>
<DIV Class="CodeIndented" Style="margin-bottom: 0.9em">To_String returns
the String value with lower bound 1 represented by Source. If B is a
Bounded_String, then B = To_Bounded_String(To_String(B)). </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>93</FONT></DIV>
<DIV Class="Normal"> Each of the Append functions returns a Bounded_String
obtained by concatenating the string or character given or represented
by one of the parameters, with the string or character given or represented
by the other parameter, and applying To_Bounded_String to the concatenation
result string, with Drop as provided to the Append function.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>94</FONT></DIV>
<DIV Class="Normal"> Each of the procedures Append(Source, New_Item,
Drop) has the same effect as the corresponding assignment Source := Append(Source,
New_Item, Drop).</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>95</FONT></DIV>
<DIV Class="Normal"> Each of the "&" functions has the
same effect as the corresponding Append function, with Error as the Drop
parameter. </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>96</FONT></DIV>
<DIV Class="Examples"><TT><B>function</B> Element (Source : <B>in</B> Bounded_String;<BR>
Index : <B>in</B> Positive)<BR>
<B>return</B> Character;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>97</FONT></DIV>
<DIV Class="CodeIndented" Style="margin-bottom: 0.9em">Returns the character
at position Index in the string represented by Source; propagates Index_Error
if Index > Length(Source).</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>98</FONT></DIV>
<DIV Class="Examples"><TT><B>procedure</B> Replace_Element (Source : <B>in</B> <B>out</B> Bounded_String;<BR>
Index : <B>in</B> Positive;<BR>
By : <B>in</B> Character);</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>99</FONT></DIV>
<DIV Class="CodeIndented" Style="margin-bottom: 0.9em">Updates Source
such that the character at position Index in the string represented by
Source is By; propagates Index_Error if Index > Length(Source).</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>100</FONT></DIV>
<DIV Class="Examples"><TT><B>function</B> Slice (Source : <B>in</B> Bounded_String;<BR>
Low : <B>in</B> Positive;<BR>
High : <B>in</B> Natural)<BR>
<B>return</B> String;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>101/1</FONT></DIV>
<DIV Class="CodeIndented">{<I><A HREF="defect1.html#8652/0049">8652/0049</A></I>}
Returns the slice at positions Low through High in the string represented
by Source; propagates Index_Error if Low > Length(Source)+1<U> or
High > Length(Source)</U>. </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>102</FONT></DIV>
<DIV Class="Normal" Style="margin-bottom: 0.9em"> Each of the functions
"=", "<", ">","<=",
and ">=" returns the same result as the corresponding String
operation applied to the String values given or represented by the two
parameters.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>103</FONT></DIV>
<DIV Class="Normal"> Each of the search subprograms (Index, Index_Non_Blank,
Count, Find_Token) has the same effect as the corresponding subprogram
in Strings.Fixed applied to the string represented by the Bounded_String
parameter.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>104</FONT></DIV>
<DIV Class="Normal"> Each of the Translate subprograms, when applied
to a Bounded_String, has an analogous effect to the corresponding subprogram
in Strings.Fixed. For the Translate function, the translation is applied
to the string represented by the Bounded_String parameter, and the result
is converted (via To_Bounded_String) to a Bounded_String. For the Translate
procedure, the string represented by the Bounded_String parameter after
the translation is given by the Translate function for fixed-length strings
applied to the string represented by the original value of the parameter.</DIV>
<DIV Class="Paranum"><FONT SIZE=-2>105/1</FONT></DIV>
<DIV Class="Normal"> {<I><A HREF="defect1.html#8652/0049">8652/0049</A></I>}
Each of the transformation subprograms (Replace_Slice, Insert, Overwrite,
Delete), selector subprograms (Trim, Head, Tail), and constructor functions
("*") has an effect based on its corresponding subprogram in
Strings.Fixed, and Replicate is based on Fixed."*". <U>In the
case of a function</U><S>For each of these subprograms</S>, the corresponding
fixed-length string subprogram is applied to the string represented by
the Bounded_String parameter. To_Bounded_String is applied the result
string, with Drop (or Error in the case of Generic_Bounded_Length."*")
determining the effect when the string length exceeds Max_Length. <U>In
the case of a procedure, the corresponding function in Strings.Bounded.Generic_Bounded_Length
is applied, with the result assigned into the Source parameter.</U> </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>105.a</FONT></DIV>
<DIV Class="Annotations"><FONT SIZE=-1><B>Ramification: </B>The "/="
operations between Bounded_String and String, and between String and
Bounded_String, are automatically defined based on the corrsponding "="
operations. </FONT></DIV>
<H4 ALIGN=CENTER>Implementation Advice</H4>
<DIV Class="Paranum"><FONT SIZE=-2>106</FONT></DIV>
<DIV Class="Normal"> Bounded string objects should not be implemented
by implicit pointers and dynamic allocation. </DIV>
<DIV Class="Paranum"><FONT SIZE=-2>106.a</FONT></DIV>
<DIV Class="Annotations" Style="margin-bottom: 0.4em"><FONT SIZE=-1><B>Implementation
Note: </B>The following is a possible implementation of the private part
of the package: </FONT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>106.b</FONT></DIV>
<DIV Class="SmallExamples"><TT><B>type</B> Bounded_String_Internals (Length : Length_Range := 0) <B>is</B><BR>
<B>record</B><BR>
Data : String(1..Length);<BR>
<B>end</B> <B>record</B>;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>106.c</FONT></DIV>
<DIV Class="SmallExamples"><TT><B>type</B> Bounded_String <B>is</B><BR>
<B>record</B><BR>
Data : Bounded_String_Internals; --<I> Unconstrained</I><BR>
<B>end</B> <B>record</B>;</TT></DIV>
<DIV Class="Paranum"><FONT SIZE=-2>106.d</FONT></DIV>
<DIV Class="SmallExamples"><TT>Null_Bounded_String : <B>constant</B> Bounded_String :=<BR>
(Data => (Length => 0,<BR>
Data => (1..0 => ' ')));</TT></DIV>
<HR>
<P><A HREF="AA-TOC.html">Contents</A> <A HREF="AA-0-29.html">Index</A> <A HREF="AA-A-4-3.html">Previous</A> <A HREF="AA-A-4-5.html">Next</A> <A HREF="AA-TTL.html">Legal</A></P>
</BODY>
</HTML>
|