On this page
- Availability and ownership
- Import and instantiate
- Contract and lifecycle reading
- API 001
- API 002
- API 003
- API 004
- API 005
- API 006
- API 007
- API 008
- API 009
- API 010
- API 011
- API 012
- API 013
- API 014
- API 015
- API 016
- API 017
- API 018
- API 019
- API 020
- API 021
- API 022
- API 023
- API 024
- API 025
- API 026
- API 027
- API 028
- API 029
- API 030
- API 031
- API 032
- API 033
- API 034
- API 035
- API 036
- API 037
- API 038
- API 039
- API 040
- API 041
- API 042
- API 043
- API 044
- API 045
- API 046
- API 047
- API 048
- API 049
- API 050
- API 051
- API 052
- API 053
- API 054
- API 055
- API 056
- API 057
- API 058
- API 059
- API 060
- API 061
- API 062
- API 063
- API 064
- API 065
- API 066
- API 067
- API 068
- API 069
- API 070
- API 071
- API 072
- API 073
- API 074
- API 075
- API 076
- API 077
- API 078
- API 079
Ada.Strings.Wide_Unbounded
Strings of Wide_Character of any length (RM A.4.7).
Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.
Availability and ownership
A value holds a Verada.Strings.Texts.Text, shared by copies; each operation is stated by its model, To_Wide_String, and Ada.Strings.Wide_Fixed's operation on it. Only memory limits the length. Its bodies are proved (test/programs/prove/library-ada-strings-wide_unbounded).
A client proof uses these contracts without proving the body again (see library assurance). Global => null excludes package-global effects, not changes made through an in out argument.
Import and instantiate
with Ada.Strings.Wide_Unbounded;import Ada.Strings.Wide_Unbounded;
A Vibe module imports this unit's names with from Ada.Strings.Wide_Unbounded import Name; see library use across syntaxes. In Varc, keep each name's declared spelling and write & on arguments the call changes.
Contract and lifecycle reading
A Pre condition is the caller's obligation; a Post is what a normal return guarantees. What a postcondition does not state, a client cannot assume. Ghost functions are for contracts and ghost code. The family guide describes copying, lifetime, order and cost.
API 001
Unbounded_Wide_String (declaration) — Verada predefined library: Ada.Strings.Wide_Unbounded (Ada RM A.4.5, A.4.7): strings of any length, copied as other values are. A value holds a Verada.Strings.Texts.Text, whose characters a copy shares and the last holder frees. Each operation is stated by its model, To_Wide_String, and Ada.Strings.Wide_Fixed's operation on it, so that a proof of one carries over. Only memory limits the length (Verada.Storage): an operation that would make a longer string raises Storage_Error, as an allocation the heap cannot make does. Where the RM raises Index_Error or Pattern_Error, a precondition requires what avoids it. (Generated from tools/library/unbounded.vads.in by tools/library/strings-widths.vb.)
Declared interface:
type Unbounded_Wide_String is private
with Default_Initial_Condition => Length (Unbounded_Wide_String) = 0;API 002
Length (declaration) — Verada predefined library: Ada.Strings.Wide_Unbounded (Ada RM A.4.5, A.4.7): strings of any length, copied as other values are. A value holds a Verada.Strings.Texts.Text, whose characters a copy shares and the last holder frees. Each operation is stated by its model, To_Wide_String, and Ada.Strings.Wide_Fixed's operation on it, so that a proof of one carries over. Only memory limits the length (Verada.Storage): an operation that would make a longer string raises Storage_Error, as an allocation the heap cannot make does. Where the RM raises Index_Error or Pattern_Error, a precondition requires what avoids it. (Generated from tools/library/unbounded.vads.in by tools/library/strings-widths.vb.)
Declared interface:
function Length (Source : Unbounded_Wide_String) return Natural
with Global => null,
Post => Length'Result < Verada.Storage.Length_Bound;API 003
Code (declaration) — (Verada, for contracts) the position of the character at Index.
Declared interface:
function Code (Source : Unbounded_Wide_String; Index : Positive) return Natural
with Ghost, Global => null,
Pre => Index <= Length (Source);API 004
To_Wide_String (declaration) — The model of a value: its characters, from 1.
Declared interface:
function To_Wide_String (Source : Unbounded_Wide_String) return Wide_String
with Global => null,
Post => To_Wide_String'Result'Length = Length (Source) and then To_Wide_String'Result'First = 1 and then To_Wide_String'Result'Last = Length (Source)
and then (for all I in To_Wide_String'Result'Range => Wide_Character'Pos (To_Wide_String'Result (I)) = Code (Source, I));API 005
Null_Unbounded_Wide_String (declaration) — The model of a value: its characters, from 1.
Declared interface:
Null_Unbounded_Wide_String : constant Unbounded_Wide_String;API 006
To_Unbounded_Wide_String (declaration) — The model of a value: its characters, from 1.
Declared interface:
function To_Unbounded_Wide_String (Source : Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (To_Unbounded_Wide_String'Result) = Source;API 007
To_Unbounded_Wide_String (declaration) — A string of Length spaces.
Declared interface:
function To_Unbounded_Wide_String (Length : Natural) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (To_Unbounded_Wide_String'Result) = Wide_Fixed."*" (Length, Wide_Space);API 008
Wide_String_Access (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
type Wide_String_Access is access Wide_String;API 009
Free (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Free (X : in out Wide_String_Access)
with Global => null,
Post => X = null;API 010
Set_Unbounded_Wide_String (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Set_Unbounded_Wide_String (Target : out Unbounded_Wide_String; Source : Wide_String)
with Global => null,
Post => To_Wide_String (Target) = Source;API 011
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Append (Left, Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Append'Result) = To_Wide_String (Left) & To_Wide_String (Right);API 012
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Append (Left : Unbounded_Wide_String; Right : Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Append'Result) = To_Wide_String (Left) & Right;API 013
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Append (Left : Wide_String; Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Append'Result) = Wide_Fixed.Joined (Left, To_Wide_String (Right), "");API 014
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Append (Left : Unbounded_Wide_String; Right : Wide_Character) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Append'Result) = To_Wide_String (Left) & Right;API 015
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Append (Left : Wide_Character; Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Append'Result) = Left & To_Wide_String (Right);API 016
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Append (Source : in out Unbounded_Wide_String; New_Item : Unbounded_Wide_String)
with Global => null,
Post => To_Wide_String (Source) = To_Wide_String (Source)'Old & To_Wide_String (New_Item);API 017
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Append (Source : in out Unbounded_Wide_String; New_Item : Wide_String)
with Global => null,
Post => To_Wide_String (Source) = To_Wide_String (Source)'Old & New_Item;API 018
Append (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Append (Source : in out Unbounded_Wide_String; New_Item : Wide_Character)
with Global => null,
Post => To_Wide_String (Source) = To_Wide_String (Source)'Old & New_Item;API 019
"&" (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function "&" (Left, Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("&"'Result) = To_Wide_String (Left) & To_Wide_String (Right);API 020
"&" (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function "&" (Left : Unbounded_Wide_String; Right : Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("&"'Result) = To_Wide_String (Left) & Right;API 021
"&" (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function "&" (Left : Wide_String; Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("&"'Result) = Wide_Fixed.Joined (Left, To_Wide_String (Right), "");API 022
"&" (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function "&" (Left : Unbounded_Wide_String; Right : Wide_Character) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("&"'Result) = To_Wide_String (Left) & Right;API 023
"&" (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function "&" (Left : Wide_Character; Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("&"'Result) = Left & To_Wide_String (Right);API 024
Element (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
function Element (Source : Unbounded_Wide_String; Index : Positive) return Wide_Character
with Global => null,
Pre => Index <= Length (Source),
Post => Element'Result = To_Wide_String (Source) (Index);API 025
Replace_Element (declaration) — An access to a string, which Free deallocates (pool-specific, as Verada frees only what an allocator made)
Declared interface:
procedure Replace_Element (Source : in out Unbounded_Wide_String; Index : Positive; By : Wide_Character)
with Global => null,
Pre => Index <= Length (Source),
Post => To_Wide_String (Source) = Wide_Fixed.Overwrite (To_Wide_String (Source)'Old, Index, (1 => By));API 026
Slice (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural) return Wide_String
with Global => null,
Pre => Low <= Length (Source) + 1 and then High <= Length (Source),
Post => Slice'Result = To_Wide_String (Source) (Low .. High);API 027
Unbounded_Slice (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Unbounded_Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural) return Unbounded_Wide_String
with Global => null,
Pre => Low <= Length (Source) + 1 and then High <= Length (Source),
Post => To_Wide_String (Unbounded_Slice'Result) = To_Wide_String (Source) (Low .. High);API 028
Unbounded_Slice (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Unbounded_Slice (Source : Unbounded_Wide_String; Target : out Unbounded_Wide_String; Low : Positive; High : Natural)
with Global => null,
Pre => Low <= Length (Source) + 1 and then High <= Length (Source),
Post => To_Wide_String (Target) = To_Wide_String (Source) (Low .. High);API 029
"=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "=" (Left, Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "="'Result = (To_Wide_String (Left) = To_Wide_String (Right));API 030
"=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean
with Global => null,
Post => "="'Result = (To_Wide_String (Left) = Right);API 031
"=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "="'Result = (Left = To_Wide_String (Right));API 032
"<" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<" (Left, Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "<"'Result = (To_Wide_String (Left) < To_Wide_String (Right));API 033
"<" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean
with Global => null,
Post => "<"'Result = (To_Wide_String (Left) < Right);API 034
"<" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "<"'Result = (Left < To_Wide_String (Right));API 035
"<=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<=" (Left, Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "<="'Result = (To_Wide_String (Left) <= To_Wide_String (Right));API 036
"<=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean
with Global => null,
Post => "<="'Result = (To_Wide_String (Left) <= Right);API 037
"<=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "<=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => "<="'Result = (Left <= To_Wide_String (Right));API 038
">" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">" (Left, Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => ">"'Result = (To_Wide_String (Left) > To_Wide_String (Right));API 039
">" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean
with Global => null,
Post => ">"'Result = (To_Wide_String (Left) > Right);API 040
">" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => ">"'Result = (Left > To_Wide_String (Right));API 041
">=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">=" (Left, Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => ">="'Result = (To_Wide_String (Left) >= To_Wide_String (Right));API 042
">=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">=" (Left : Unbounded_Wide_String; Right : Wide_String) return Boolean
with Global => null,
Post => ">="'Result = (To_Wide_String (Left) >= Right);API 043
">=" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function ">=" (Left : Wide_String; Right : Unbounded_Wide_String) return Boolean
with Global => null,
Post => ">="'Result = (Left >= To_Wide_String (Right));API 044
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; From : Positive; Going : Direction := Forward;
Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural
with Global => null,
Pre => Pattern'Length > 0 and then From <= Length (Source),
Post => Index'Result = Wide_Fixed.Index (To_Wide_String (Source), Pattern, From, Going, Mapping);API 045
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; From : Positive; Going : Direction := Forward;
Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural
with Global => null,
Pre => Pattern'Length > 0 and then Mapping /= null and then From <= Length (Source),
Post => Index'Result = 0 or else Index'Result <= Length (Source) - Pattern'Length + 1;API 046
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; Going : Direction := Forward;
Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural
with Global => null,
Pre => Pattern'Length > 0,
Post => Index'Result = Wide_Fixed.Index (To_Wide_String (Source), Pattern, Going, Mapping);API 047
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Pattern : Wide_String; Going : Direction := Forward;
Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural
with Global => null,
Pre => Pattern'Length > 0 and then Mapping /= null,
Post => Index'Result = 0 or else Index'Result <= Length (Source) - Pattern'Length + 1;API 048
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; From : Positive; Test : Membership := Inside;
Going : Direction := Forward) return Natural
with Global => null,
Pre => From <= Length (Source),
Post => Index'Result = Wide_Fixed.Index (To_Wide_String (Source), Set, From, Test, Going);API 049
Index (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; Test : Membership := Inside; Going : Direction := Forward) return Natural
with Global => null,
Post => Index'Result = Wide_Fixed.Index (To_Wide_String (Source), Set, Test, Going);API 050
Index_Non_Blank (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index_Non_Blank (Source : Unbounded_Wide_String; From : Positive; Going : Direction := Forward) return Natural
with Global => null,
Pre => From <= Length (Source),
Post => Index_Non_Blank'Result = Wide_Fixed.Index_Non_Blank (To_Wide_String (Source), From, Going);API 051
Index_Non_Blank (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Index_Non_Blank (Source : Unbounded_Wide_String; Going : Direction := Forward) return Natural
with Global => null,
Post => Index_Non_Blank'Result = Wide_Fixed.Index_Non_Blank (To_Wide_String (Source), Going);API 052
Count (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Count (Source : Unbounded_Wide_String; Pattern : Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping := Wide_Maps.Identity) return Natural
with Global => null,
Pre => Pattern'Length > 0,
Post => Count'Result = Wide_Fixed.Count (To_Wide_String (Source), Pattern, Mapping);API 053
Count (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Count (Source : Unbounded_Wide_String; Pattern : Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Natural
with Global => null,
Pre => Pattern'Length > 0 and then Mapping /= null,
Post => Count'Result <= Length (Source);API 054
Count (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Count (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set) return Natural
with Global => null,
Post => Count'Result = Wide_Fixed.Count (To_Wide_String (Source), Set);API 055
Find_Token (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Find_Token (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; From : Positive; Test : Membership;
First : out Positive; Last : out Natural)
with Global => null,
Pre => From <= Length (Source),
Post => (if Last = 0
then First = From
and then (for all I in From .. Length (Source) => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) /= (Test = Inside))
else First in From .. Last and then Last <= Length (Source)
and then (for all I in From .. First - 1 => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) /= (Test = Inside))
and then (for all I in First .. Last => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) = (Test = Inside))
and then (Last = Length (Source) or else Wide_Maps.Is_In (To_Wide_String (Source) (Last + 1), Set) /= (Test = Inside)));API 056
Find_Token (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Find_Token (Source : Unbounded_Wide_String; Set : Wide_Maps.Wide_Character_Set; Test : Membership;
First : out Positive; Last : out Natural)
with Global => null,
Post => (if Last = 0
then First = 1
and then (for all I in 1 .. Length (Source) => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) /= (Test = Inside))
else First <= Last and then Last <= Length (Source)
and then (for all I in 1 .. First - 1 => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) /= (Test = Inside))
and then (for all I in First .. Last => Wide_Maps.Is_In (To_Wide_String (Source) (I), Set) = (Test = Inside))
and then (Last = Length (Source) or else Wide_Maps.Is_In (To_Wide_String (Source) (Last + 1), Set) /= (Test = Inside)));API 057
Translate (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Translate (Source : Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Translate'Result) = Wide_Fixed.Translate (To_Wide_String (Source), Mapping);API 058
Translate (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Translate (Source : in out Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping)
with Global => null,
Post => To_Wide_String (Source) = Wide_Fixed.Translate (To_Wide_String (Source)'Old, Mapping);API 059
Translate (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Translate (Source : Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function) return Unbounded_Wide_String
with Global => null,
Pre => Mapping /= null,
Post => Length (Translate'Result) = Length (Source);API 060
Translate (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Translate (Source : in out Unbounded_Wide_String; Mapping : Wide_Maps.Wide_Character_Mapping_Function)
with Global => null,
Pre => Mapping /= null,
Post => Length (Source) = Length (Source)'Old;API 061
Replace_Slice (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Replace_Slice (Source : Unbounded_Wide_String; Low : Positive; High : Natural; By : Wide_String) return Unbounded_Wide_String
with Global => null,
Pre => Low <= Length (Source) + 1,
Post => To_Wide_String (Replace_Slice'Result) = Wide_Fixed.Replace_Slice (To_Wide_String (Source), Low, High, By);API 062
Replace_Slice (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Replace_Slice (Source : in out Unbounded_Wide_String; Low : Positive; High : Natural; By : Wide_String)
with Global => null,
Pre => Low <= Length (Source) + 1,
Post => To_Wide_String (Source) = Wide_Fixed.Replace_Slice (To_Wide_String (Source)'Old, Low, High, By);API 063
Insert (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Insert (Source : Unbounded_Wide_String; Before : Positive; New_Item : Wide_String) return Unbounded_Wide_String
with Global => null,
Pre => Before <= Length (Source) + 1,
Post => To_Wide_String (Insert'Result) = Wide_Fixed.Insert (To_Wide_String (Source), Before, New_Item);API 064
Insert (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Insert (Source : in out Unbounded_Wide_String; Before : Positive; New_Item : Wide_String)
with Global => null,
Pre => Before <= Length (Source) + 1,
Post => To_Wide_String (Source) = Wide_Fixed.Insert (To_Wide_String (Source)'Old, Before, New_Item);API 065
Overwrite (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Overwrite (Source : Unbounded_Wide_String; Position : Positive; New_Item : Wide_String) return Unbounded_Wide_String
with Global => null,
Pre => Position <= Length (Source) + 1,
Post => To_Wide_String (Overwrite'Result) = Wide_Fixed.Overwrite (To_Wide_String (Source), Position, New_Item);API 066
Overwrite (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Overwrite (Source : in out Unbounded_Wide_String; Position : Positive; New_Item : Wide_String)
with Global => null,
Pre => Position <= Length (Source) + 1,
Post => To_Wide_String (Source) = Wide_Fixed.Overwrite (To_Wide_String (Source)'Old, Position, New_Item);API 067
Delete (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Delete (Source : Unbounded_Wide_String; From : Positive; Through : Natural) return Unbounded_Wide_String
with Global => null,
Pre => Through < From or else From <= Length (Source) + 1,
Post => To_Wide_String (Delete'Result) = Wide_Fixed.Delete (To_Wide_String (Source), From, Through);API 068
Delete (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Delete (Source : in out Unbounded_Wide_String; From : Positive; Through : Natural)
with Global => null,
Pre => Through < From or else From <= Length (Source) + 1,
Post => To_Wide_String (Source) = Wide_Fixed.Delete (To_Wide_String (Source)'Old, From, Through);API 069
Trim (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Trim (Source : Unbounded_Wide_String; Side : Trim_End) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Trim'Result) = Wide_Fixed.Trim (To_Wide_String (Source), Side);API 070
Trim (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Trim (Source : in out Unbounded_Wide_String; Side : Trim_End)
with Global => null,
Post => To_Wide_String (Source) = Wide_Fixed.Trim (To_Wide_String (Source)'Old, Side);API 071
Trim (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Trim (Source : Unbounded_Wide_String; Left, Right : Wide_Maps.Wide_Character_Set) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Trim'Result) = Wide_Fixed.Trim (To_Wide_String (Source), Left, Right);API 072
Trim (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Trim (Source : in out Unbounded_Wide_String; Left, Right : Wide_Maps.Wide_Character_Set)
with Global => null,
Post => To_Wide_String (Source) = Wide_Fixed.Trim (To_Wide_String (Source)'Old, Left, Right);API 073
Head (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Head (Source : Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Head'Result) = Wide_Fixed.Head (To_Wide_String (Source), Count, Pad);API 074
Head (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Head (Source : in out Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space)
with Global => null,
Post => To_Wide_String (Source) = Wide_Fixed.Head (To_Wide_String (Source)'Old, Count, Pad);API 075
Tail (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function Tail (Source : Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String (Tail'Result) = Wide_Fixed.Tail (To_Wide_String (Source), Count, Pad);API 076
Tail (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
procedure Tail (Source : in out Unbounded_Wide_String; Count : Natural; Pad : Wide_Character := Wide_Space)
with Global => null,
Post => To_Wide_String (Source) = Wide_Fixed.Tail (To_Wide_String (Source)'Old, Count, Pad);API 077
"*" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "*" (Left : Natural; Right : Wide_Character) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("*"'Result) = Wide_Fixed."*" (Left, Right);API 078
"*" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "*" (Left : Natural; Right : Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("*"'Result) = Wide_Fixed."*" (Left, Right);API 079
"*" (declaration) — The characters at Low .. High, with those bounds.
Declared interface:
function "*" (Left : Natural; Right : Unbounded_Wide_String) return Unbounded_Wide_String
with Global => null,
Post => To_Wide_String ("*"'Result) = Wide_Fixed."*" (Left, To_Wide_String (Right));