next up previous contents index
Weiter: A.2.3 Das Paket Hinauf: A.2.2 Das Paket Zurück: Das Paket Ada.Strings.Constants

Das Paket Ada.Strings.Wide_Maps


package Ada.Strings.Wide_Maps is

pragma Preelaborate(Wide_Maps);


-RepresentationforasetofWide_Charactervalues:

type Wide_Character_Set is private;


Null_Set : constant Wide_Character_Set;


type Wide_Character_Range is
record
Low : Wide_Character;
High : Wide_Character;
end record;
-RepresentsWide_CharacterrangeLow..High

type Wide_Character_Ranges is array (Positive range <> of Character_Range;

function To_Set (Ranges : in Character_Ranges) return Character_Set;

function To_Set (Span : in Character_Range) return Character_Set;

function To_Ranges (Set : in Character_Set) return Character_Ranges;


function "=" (Left, Right : Wide_Character_Set) return Boolean;

function "not" (Right : Wide_Character_Set) return Wide_Character_Set;
function "and" (Left, Right : Wide_Character_Set) return Wide_Character_Set;
function "or" (Left, Right : Wide_Character_Set) return Wide_Character_Set;
function "xor" (Left, Right : Wide_Character_Set) return Wide_Character_Set;

function "-" (Left, Right : Wide_Character_Set) return Wide_Character_Set;


function Is_In (Element : in Wide_Character;
Set : in Wide_Character_Set)
return Boolean;

function Is_Subset (Elements : in Wide_Character_Set;
Set : in Wide_Character_Set)
return Boolean;

function "<=" (Left : in Wide_Character_Set;
Right : in Wide_Character_Set)
return Boolean renames Is_Subset;

-AlternativerepresentationforasetofWide_Charactervalues:
subtype Wide_Character_Sequence is Wide_String;

function To_Set (Sequence : in Wide_Character_Sequence)
return Wide_Character_Set;

function To_Set (Singleton : in Wide_Character) return Wide_Character_Set;

function To_Sequence (Set : in Wide_Character_Set)
return Wide_Character_Sequence;

-RepresentationforaWide_CharactertoWide_Charactermapping:

type Wide_Character_Mapping is private;

function Value (Map : in Character_Mapping;
Element : in Character)
return Character;


Identity : constant Wide_Character_Mapping;

function To_Mapping (From, To : in Wide_Character_Sequence)
return Wide_Character_Mapping;


function To_Domain (Map : in Wide_Character_Mapping)
return Wide_Character_Sequence;

function To_Range (Map : in Wide_Character_Mapping)
return Wide_Character_Sequence;


type Wide_Character_Mapping_Function is
access function (From : in Wide_Character) return Wide_Character;

private
... -notspecifiedbythelanguage
end Ada.Strings.Wide_Maps;

Korrespondierend zu allen Unterpaketen von Ada.Strings gibt es auch Unterpakete für wide_strings.



Johann Blieberger
Wed Feb 11 09:58:52 MET 1998