Strings
A constrained string type. Limited type minimizes memory
leaks. Useful for storage in arrays, lists and hash tables.
Does not need controlled types, unlike Unbounded_Strings.
 |  | type String_Access |  |
 | Constrained string type. |  |
 |  | procedure To_String_Access |  |
 | Create string access. Free previous value if applicable. |  |
Param | Type | Description |
|
in out Result | String_Access |
|
|
 |  | function To_String_Access |  |
 | Create a new string access. |  |
|
 |  | procedure Free |  |
 | Deallocate storage for this string access, if allocated. |  |
Param | Type | Description |
in out This | String_Access |
|
|
 |  | function Is_Null |  |
 | Check if a string access is unallocated. |  |
|
 |  | function To_String |  |
 | Read a string value from a string access. |  |
|
 |  | function Hash |  |
 | Calculate a hash code from a String_Access. |  |
|
 |  | function Equal |  |
 | Compare two string values, not their pointers. |  |
|
 |  | function Statistics |  |
 | Get allocation statistics. |  |
|
String arrays
 |  | type String_Array |  |
 | Unconstrained array of strings. |  |
|