Section contents
cfile.oxh
<TBS>
this& = NewEntry&:
Creates a directory entry object and returns a handle which allows the object to be manipulated.
this& |
An value which represents the created directory entry |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewEntry&: DeleteEntry:(this&)
DeleteEntry:(BYREF this&)
Destroys the directory entry object.
BYREF this& |
A handle to a directory entry object |
LOCAL this& this& = NewEntry&: DeleteEntry:(this&)
attributes& = EntryAtt&:(this&)
Gets the attributes.
this& |
A handle to a directory entry object |
attributes& |
The file attributes |
bool% = EntryIsArchive%:(this&)
Gets whether the entry this&
is for an
archive file.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if an archive file
entry, otherwise returns KFalse% (0) |
bool% = EntryIsDir%:(this&)
Gets whether the entry this&
is for a
directory.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if a directory
entry, otherwise returns KFalse% (0) |
bool% = EntryIsHidden%:(this&)
Gets whether the entry this&
is for a hidden
entry.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if a hidden entry,
otherwise returns KFalse% (0) |
bool% = EntryIsHidden%:(this&)
Gets whether the entry this&
is for a
readonly entry.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if a readonly entry,
otherwise returns KFalse% (0) |
bool% = EntryIsSystem%:(this&)
Gets whether the entry this&
is for a system
entry.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if a system entry,
otherwise returns KFalse% (0) |
bool% = EntryIsTypeValid%:(this&)
Gets whether the entry this&
has a valid UID.
this& |
A handle to a directory entry object |
bool% |
Returns KTrue% (-1) if UID exists and is
valid, otherwise returns KFalse% (0) |
bool% = EntryIsUidPresent%:(this&,uid&)
Gets whether the entry this&
has a UID which
matches uid&
.
this& |
A handle to a directory entry object |
uid& |
A UID to find |
bool% |
Returns KTrue% (-1) if the specified UID
is found, otherwise returns KFalse% (0) |
uid& = EntryMostDerivedUid&:(this&)
Gets most derived (specific) UID.
this& |
A handle to a directory entry object |
uid& |
Returns the most derived UID |
time& = EntryModified&:(this&)
Gets the time that the entry was last modified.
this& |
A handle to a directory entry object |
time& |
Returns a handle to a time object |
name$ = EntryName$:(this&)
Gets the name of the entry this&
.
this& |
A handle to a directory entry object |
name$ |
The name of the entry |
If the name$
string cannot be created then an
error is generated which should be trapped by an ONERR
handler.
size& = EntrySize&:(this&)
Gets the size of the entry this&
.
this& |
A handle to a directory entry object |
size& |
The size of the entry |
uidtype& = EntryType&:(this&)
Gets the UID type of the entry this&
.
this& |
A handle to a directory entry object |
uidtyp& |
The UID type of the entry |
uid& = EntryUid&:(this&,index%)
Get the UID whose index is index%
of the entry this&
.
this& |
A handle to a directory entry object |
index% |
The index of the uid to return. Must be between 0 and 2 |
uid& |
The UID type of the entry |