1 ------------------------------------------------------------------------------
3 -- GNAT RUN-TIME COMPONENTS --
5 -- ADA.DIRECTORIES.HIERARCHICAL_FILE_NAMES --
9 -- This specification is derived from the Ada Reference Manual for use with --
10 -- GNAT. In accordance with the copyright of that document, you can freely --
11 -- copy and modify this specification, provided that if you redistribute a --
12 -- modified version, any changes that you have made are clearly indicated. --
14 ------------------------------------------------------------------------------
16 package Ada
.Directories
.Hierarchical_File_Names
is
17 pragma Unimplemented_Unit
;
19 function Is_Simple_Name
(Name
: String) return Boolean;
21 function Is_Root_Directory_Name
(Name
: String) return Boolean;
23 function Is_Parent_Directory_Name
(Name
: String) return Boolean;
25 function Is_Current_Directory_Name
(Name
: String) return Boolean;
27 function Is_Full_Name
(Name
: String) return Boolean;
29 function Is_Relative_Name
(Name
: String) return Boolean;
31 function Simple_Name
(Name
: String) return String
32 renames Ada
.Directories
.Simple_Name
;
34 function Containing_Directory
(Name
: String) return String
35 renames Ada
.Directories
.Containing_Directory
;
37 function Initial_Directory
(Name
: String) return String;
39 function Relative_Name
(Name
: String) return String;
42 (Directory
: String := "";
43 Relative_Name
: String;
44 Extension
: String := "") return String;
46 end Ada
.Directories
.Hierarchical_File_Names
;