18.10.2014 Views

Object-oriented Software in Ada 95

Object-oriented Software in Ada 95

Object-oriented Software in Ada 95

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

396 Appendix C<br />

function Overwrite (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

Position : <strong>in</strong> Positive;<br />

New_Item : <strong>in</strong> Str<strong>in</strong>g;<br />

Drop : <strong>in</strong> Truncation := Error)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Overwrite (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

Position : <strong>in</strong> Positive;<br />

New_Item : <strong>in</strong> Str<strong>in</strong>g;<br />

Drop : <strong>in</strong> Truncation := Error);<br />

function Delete (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

From : <strong>in</strong> Positive;<br />

Through : <strong>in</strong> Natural)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Delete (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

From : <strong>in</strong> Positive;<br />

Through : <strong>in</strong> Natural);<br />

--Str<strong>in</strong>g selector subprograms<br />

function Trim (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

Side : <strong>in</strong> Trim_End)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Trim (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

Side : <strong>in</strong> Trim_End);<br />

function Trim (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

Left : <strong>in</strong> Maps.Character_Set;<br />

Right : <strong>in</strong> Maps.Character_Set)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Trim (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

Left : <strong>in</strong> Maps.Character_Set;<br />

Right : <strong>in</strong> Maps.Character_Set);<br />

function Head (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

Count : <strong>in</strong> Natural;<br />

Pad : <strong>in</strong> Character := Space;<br />

Drop : <strong>in</strong> Truncation := Error)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Head (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

Count : <strong>in</strong> Natural;<br />

Pad : <strong>in</strong> Character := Space;<br />

Drop : <strong>in</strong> Truncation := Error);<br />

function Tail (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

Count : <strong>in</strong> Natural;<br />

Pad : <strong>in</strong> Character := Space;<br />

Drop : <strong>in</strong> Truncation := Error)<br />

return Bounded_Str<strong>in</strong>g;<br />

procedure Tail (Source : <strong>in</strong> out Bounded_Str<strong>in</strong>g;<br />

Count : <strong>in</strong> Natural;<br />

Pad : <strong>in</strong> Character := Space;<br />

Drop : <strong>in</strong> Truncation := Error);<br />

--Str<strong>in</strong>g constructor subprograms<br />

function "*" (Left : <strong>in</strong> Natural;<br />

Right : <strong>in</strong> Character)<br />

return Bounded_Str<strong>in</strong>g;<br />

function "*" (Left : <strong>in</strong> Natural;<br />

Right : <strong>in</strong> Str<strong>in</strong>g)<br />

return Bounded_Str<strong>in</strong>g;<br />

function "*" (Left : <strong>in</strong> Natural;<br />

© M A Smith - May not be reproduced without permission

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!