LisaacTM Platform

DIRECTORY


Basic Directory management
Inherit/Insert Summary
parent_entry No developed.
 
Constructor Summary
create_file
 
Slot Summary
list
alias
 
Manager.
remove_me
remove
Remove file or directory (WARNING: delete recursive)
move to
get_entry
 
Indexing.
open
Return FILE or DIRECTORY, NULL:error.
is_open
lower
Minimum index.
upper
 
Maximum index.
valid_index
True when index is valid (ie. inside actual bounds of the collection).
 
Counting.
count
Number of available indices.
is_empty
Is collection empty ?
 
Accessing.
item
Item at the corresponding index i.
first
The very first item.
last
The last item.
parent
 
Writing:
make_directory
make_file
 
Display.
print
 
Physical implementation.
physical_get_entry
physical_make_directory
physical_make_file
physical_remove
physical_move to
 

Inherit/Insert Detail

parent_entry

.../base/file_system/directory.li line #12

Section:
Inherit

Profile:
- SelfSELFparent_entry : ENTRY

Constructor Detail

create_file

.../base/file_system/directory.li line #236

Section:
Public

Profile:
- SelfSELFcreate_file   p : ABSTRACT_STRINGFILE

Detail slot

list

.../base/file_system/directory.li line #16

Section:
DIRECTORY

Profile:
+ SelfSELFlist : LINKED_LISTENTRY)

alias

.../base/file_system/directory.li line #18

Section:
DIRECTORY

Profile:
- SelfSELFalias : HASHED_DICTIONARYENTRYABSTRACT_STRING)

Manager.

remove_me

.../base/file_system/directory.li line #27

Section:
Public

Profile:
- SelfSELFremove_me 

remove

.../base/file_system/directory.li line #29

Section:
Public

Profile:
- SelfSELFremove   p : ABSTRACT_STRINGBOOLEAN

Description:
Remove file or directory (WARNING: delete recursive)

move to

.../base/file_system/directory.li line #62

Section:
Public

Profile:
- SelfSELFmove   old_path : ABSTRACT_STRING  to   new_path : ABSTRACT_STRINGBOOLEAN

get_entry

.../base/file_system/directory.li line #85

Section:
Public

Profile:
- SelfSELFget_entry   p : ABSTRACT_STRINGENTRY

Indexing.

open

.../base/file_system/directory.li line #119

Section:
Public

Profile:
- SelfSELFopen : BOOLEAN

Description:
Return FILE or DIRECTORY, NULL:error.

is_open

.../base/file_system/directory.li line #127

Section:
Public

Profile:
- SelfSELFis_open : BOOLEAN

lower

.../base/file_system/directory.li line #129

Section:
Public

Profile:
- SelfSELFlower : INTEGER

Description:
Minimum index.

upper

.../base/file_system/directory.li line #132

Section:
Public

Profile:
- SelfSELFupper : INTEGER

Maximum index.

valid_index

.../base/file_system/directory.li line #142

Section:
Public

Profile:
- SelfSELFvalid_index   index : INTEGERBOOLEAN

Description:
True when index is valid (ie. inside actual bounds of the collection).

Counting.

count

.../base/file_system/directory.li line #160

Section:
Public

Profile:
- SelfSELFcount : INTEGER

Description:
Number of available indices.

is_empty

.../base/file_system/directory.li line #163

Section:
Public

Profile:
- SelfSELFis_empty : BOOLEAN

Description:
Is collection empty ?

Accessing.

item

.../base/file_system/directory.li line #170

Section:
Public

Profile:
- SelfSELFitem   i : INTEGERENTRY

Description:
Item at the corresponding index i.

first

.../base/file_system/directory.li line #180

Section:
Public

Profile:
- SelfSELFfirst : ENTRY

Description:
The very first item.

last

.../base/file_system/directory.li line #191

Section:
Public

Profile:
- SelfSELFlast : ENTRY

Description:
The last item.

parent

.../base/file_system/directory.li line #201

Section:
Public

Profile:
- SelfSELFparent : ENTRY

Writing:

make_directory

.../base/file_system/directory.li line #210

Section:
Public

Profile:
- SelfSELFmake_directory   p : ABSTRACT_STRINGDIRECTORY

make_file

.../base/file_system/directory.li line #223

Section:
Public

Profile:
- SelfSELFmake_file   p : ABSTRACT_STRINGFILE

Display.

print

.../base/file_system/directory.li line #245

Section:
Public

Profile:
- SelfSELFprint 

Physical implementation.

physical_get_entry

.../base/file_system/directory.li line #268

Section:
DIRECTORY

Profile:
- SelfSELFphysical_get_entry   new_path : ABSTRACT_STRINGENTRY

physical_make_directory

.../base/file_system/directory.li line #277

Section:
DIRECTORY

Profile:
- SelfSELFphysical_make_directory   new_path : ABSTRACT_STRINGBOOLEAN

physical_make_file

.../base/file_system/directory.li line #283

Section:
DIRECTORY

Profile:
- SelfSELFphysical_make_file   new_path : ABSTRACT_STRINGBOOLEAN

physical_remove

.../base/file_system/directory.li line #289

Section:
DIRECTORY

Profile:
- SelfSELFphysical_remove   p : ABSTRACT_STRINGBOOLEAN

physical_move to

.../base/file_system/directory.li line #295

Section:
DIRECTORY

Profile:
- SelfSELFphysical_move   old_path : ABSTRACT_STRING  to   new_path : ABSTRACT_STRINGBOOLEAN