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.

Appendix C 393<br />

--Conversion, Concatenation, and Selection functions<br />

function To_Bounded_Str<strong>in</strong>g (Source : <strong>in</strong> Str<strong>in</strong>g;<br />

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

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

function To_Str<strong>in</strong>g (Source : <strong>in</strong> Bounded_Str<strong>in</strong>g) return Str<strong>in</strong>g;<br />

function Append (Left, Right : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

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

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

function Append (Left : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

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

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

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

function Append (Left : <strong>in</strong> Str<strong>in</strong>g;<br />

Right : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

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

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

function Append (Left : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

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

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

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

function Append (Left : <strong>in</strong> Character;<br />

Right : <strong>in</strong> Bounded_Str<strong>in</strong>g;<br />

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

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

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

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

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

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

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

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

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

New_Item : <strong>in</strong> Character;<br />

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

function "&" (Left, Right : <strong>in</strong> Bounded_Str<strong>in</strong>g)<br />

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

function "&" (Left : <strong>in</strong> Bounded_Str<strong>in</strong>g; Right : <strong>in</strong> Str<strong>in</strong>g)<br />

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

function "&" (Left : <strong>in</strong> Str<strong>in</strong>g; Right : <strong>in</strong> Bounded_Str<strong>in</strong>g)<br />

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

function "&" (Left : <strong>in</strong> Bounded_Str<strong>in</strong>g; Right : <strong>in</strong> Character)<br />

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

function "&" (Left : <strong>in</strong> Character; Right : <strong>in</strong> Bounded_Str<strong>in</strong>g)<br />

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

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

Index : <strong>in</strong> Positive)<br />

return Character;<br />

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

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

By : <strong>in</strong> Character);<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!