LisaacTM Platform

FILE_UNIX


File management
Inherit/Insert Summary
parent_entry_unix
parent_file
parent_entry
parent_object No developed.
 
Constructor Summary
create_time
create_date
 
Physical implementation.
is_open
size
cursor
set_cursor
open
Return FILE or DIRECTORY, NULL:error. Return FILE or DIRECTORY, NULL:error.
open_read_only
close
 
Slot Summary
physical_read size
return size read or 0 if end of input (-1 on error => exception ?)
physical_write size
return size read or 0 if end of input (-1 on error => exception ?)
access
access_time
access_date
update_time
update_date
path
name
string_tmp
string_tmp2
set_path
reduce_path
read_uinteger_8
read_integer_16
read_uinteger_16
read
WARNING: It's good for Mapping objects, else serializable is necessary.
read size
 
Path.
dirname
 
type.
is_directory
is_file
 
Alias Entry.
get_parent_path in
 
Update.
is_empty
Is collection empty ?
 
Write.
write from size
write size
write
 

Inherit/Insert Detail

parent_entry_unix

.../base/file_system/TARGET/unix/file_unix.li line #11

Section:
Inherit

Profile:
+ SelfSELFparent_entry_unix :Expanded  ENTRY_UNIX

parent_file

.../base/file_system/TARGET/unix/file_unix.li line #13

Section:
Inherit

Profile:
+ SelfSELFparent_file :Expanded  FILE

parent_entry

.../base/file_system/TARGET/unix/entry_unix.li line #15

Section:
Inherit

Profile:
+ SelfSELFparent_entry :Expanded  ENTRY

parent_object

.../base/file_system/entry.li line #11

Section:
Inherit

Profile:
- SelfSELFparent_object : OBJECT

Constructor Detail

create_time

.../base/file_system/TARGET/unix/entry_unix.li line #77

Section:
Public

Profile:
- SelfSELFcreate_time : TIME

create_date

.../base/file_system/TARGET/unix/entry_unix.li line #89

Section:
Public

Profile:
- SelfSELFcreate_date : DATE

Physical implementation.

is_open

.../base/file_system/TARGET/unix/file_unix.li line #25

Section:
Public

Profile:
- SelfSELFis_open : BOOLEAN

size

.../base/file_system/TARGET/unix/file_unix.li line #27

Section:
Public

Profile:
- SelfSELFsize : UINTEGER_32

cursor

.../base/file_system/TARGET/unix/file_unix.li line #37

Section:
Public

Profile:
- SelfSELFcursor : UINTEGER_32

set_cursor

.../base/file_system/TARGET/unix/file_unix.li line #43

Section:
Public

Profile:
- SelfSELFset_cursor   n : UINTEGER_32

open

.../base/file_system/TARGET/unix/file_unix.li line #54

Section:
Public

Profile:
- SelfSELFopen : BOOLEAN

Description:
Return FILE or DIRECTORY, NULL:error. Return FILE or DIRECTORY, NULL:error.

open_read_only

.../base/file_system/TARGET/unix/file_unix.li line #65

Section:
Public

Profile:
- SelfSELFopen_read_only : BOOLEAN

close

.../base/file_system/TARGET/unix/file_unix.li line #72

Section:
Public

Profile:
- SelfSELFclose 

Detail slot

physical_read size

.../base/file_system/TARGET/unix/file_unix.li line #85

Section:
FILE

Profile:
- SelfSELFphysical_read   buf : NATIVE_ARRAYUINTEGER_8)  size   s : INTEGERINTEGER

Description:
return size read or 0 if end of input (-1 on error => exception ?)

physical_write size

.../base/file_system/TARGET/unix/file_unix.li line #92

Section:
FILE

Profile:
- SelfSELFphysical_write   buf : NATIVE_ARRAYUINTEGER_8)  size   s : INTEGERINTEGER

Description:
return size read or 0 if end of input (-1 on error => exception ?)

access

.../base/file_system/TARGET/unix/entry_unix.li line #19

Section:
Public

Profile:
- SelfSELFaccess : UINTEGER_16

access_time

.../base/file_system/TARGET/unix/entry_unix.li line #29

Section:
Public

Profile:
- SelfSELFaccess_time : TIME

access_date

.../base/file_system/TARGET/unix/entry_unix.li line #41

Section:
Public

Profile:
- SelfSELFaccess_date : DATE

update_time

.../base/file_system/TARGET/unix/entry_unix.li line #53

Section:
Public

Profile:
- SelfSELFupdate_time : TIME

update_date

.../base/file_system/TARGET/unix/entry_unix.li line #65

Section:
Public

Profile:
- SelfSELFupdate_date : DATE

path

.../base/file_system/entry.li line #19

Section:
Public

Profile:
+ SelfSELFpath : STRING_CONSTANT

name

.../base/file_system/entry.li line #21

Section:
Public

Profile:
+ SelfSELFname : STRING_CONSTANT

string_tmp

.../base/file_system/entry.li line #79

Section:
ENTRY

Profile:
- SelfSELFstring_tmp : STRING

string_tmp2

.../base/file_system/entry.li line #81

Section:
ENTRY

Profile:
- SelfSELFstring_tmp2 : STRING

set_path

.../base/file_system/entry.li line #83

Section:
ENTRY

Profile:
- SelfSELFset_path   n : ABSTRACT_STRING

reduce_path

.../base/file_system/entry.li line #93

Section:
ENTRY

Profile:
- SelfSELFreduce_path   st : STRING

read_uinteger_8

.../base/file_system/file.li line #56

Section:
Public

Profile:
- SelfSELFread_uinteger_8 : UINTEGER_8

read_integer_16

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

Section:
Public

Profile:
- SelfSELFread_integer_16 : INTEGER_16

read_uinteger_16

.../base/file_system/file.li line #68

Section:
Public

Profile:
- SelfSELFread_uinteger_16 : UINTEGER_16

read

.../base/file_system/file.li line #74

Section:
Public

Profile:
- SelfSELFread   dest : OBJECTINTEGER

Description:
WARNING: It's good for Mapping objects, else serializable is necessary.

read size

.../base/file_system/file.li line #84

Section:
Public

Profile:
- SelfSELFread   dest : ARRAYED  size   nb_elt : INTEGERINTEGER

Path.

dirname

.../base/file_system/entry.li line #23

Section:
Public

Profile:
- SelfSELFdirname : STRING

type.

is_directory

.../base/file_system/entry.li line #50

Section:
Public

Profile:
- SelfSELFis_directory : BOOLEAN

is_file

.../base/file_system/entry.li line #59

Section:
Public

Profile:
- SelfSELFis_file : BOOLEAN

Alias Entry.

get_parent_path in

.../base/file_system/entry.li line #194

Section:
ENTRY

Profile:
- SelfSELFget_parent_path   p : ABSTRACT_STRING  in   tmp : STRING

Update.

is_empty

.../base/file_system/file.li line #43

Section:
Public

Profile:
- SelfSELFis_empty : BOOLEAN

Description:
Is collection empty ?

Write.

write from size

.../base/file_system/file.li line #108

Section:
Public

Profile:
- SelfSELFwrite   src : ARRAYED  from   start : INTEGER  size   nb_elt : INTEGERINTEGER

write size

.../base/file_system/file.li line #124

Section:
Public

Profile:
- SelfSELFwrite   src : ARRAYED  size   nb_elt : INTEGERINTEGER

write

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

Section:
Public

Profile:
- SelfSELFwrite   src : ARRAYEDINTEGER