#include "oorexxapi.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
#include <errno.h>
#include "SysFileSystem.hpp"
Go to the source code of this file.
Functions | |
RexxMethod0 (CSTRING, file_separator) | |
RexxMethod0 (CSTRING, file_path_separator) | |
RexxMethod0 (logical_t, file_case_sensitive) | |
RexxMethod1 (logical_t, file_can_read, CSTRING, name) | |
RexxMethod1 (logical_t, file_can_write, CSTRING, name) | |
RexxMethod0 (RexxArrayObject, file_list_roots) | |
RexxMethod1 (RexxStringObject, file_qualify, CSTRING, name) | |
RexxMethod1 (logical_t, file_exists, CSTRING, name) | |
RexxMethod1 (logical_t, file_delete_file, CSTRING, name) | |
RexxMethod1 (logical_t, file_delete_directory, CSTRING, name) | |
RexxMethod1 (logical_t, file_isDirectory, CSTRING, name) | |
RexxMethod1 (logical_t, file_isFile, CSTRING, name) | |
RexxMethod1 (logical_t, file_isHidden, CSTRING, name) | |
RexxMethod1 (int64_t, file_get_last_modified, CSTRING, name) | |
RexxMethod2 (logical_t, file_set_last_modified, CSTRING, name, int64_t, time) | |
RexxMethod1 (logical_t, file_set_read_only, CSTRING, name) | |
RexxMethod1 (uint64_t, file_length, CSTRING, name) | |
RexxMethod1 (RexxObjectPtr, file_list, CSTRING, name) | |
RexxMethod1 (logical_t, file_make_dir, CSTRING, name) | |
RexxMethod2 (logical_t, file_rename, CSTRING, fromName, CSTRING, toName) | |
RexxMethod0 | ( | CSTRING | , |
file_path_separator | |||
) |
Return the separator used for file search paths
Definition at line 63 of file FileNative.cpp.
References SysFileSystem::getPathSeparator().
RexxMethod0 | ( | CSTRING | , |
file_separator | |||
) |
Return the file name separator used by the file system.
Definition at line 55 of file FileNative.cpp.
References SysFileSystem::getSeparator().
RexxMethod0 | ( | logical_t | , |
file_case_sensitive | |||
) |
Return the file system case sensitivity section
Definition at line 72 of file FileNative.cpp.
References SysFileSystem::isCaseSensitive().
RexxMethod0 | ( | RexxArrayObject | , |
file_list_roots | |||
) |
Return the list of file system root elements.
Definition at line 99 of file FileNative.cpp.
References SysFileSystem::getRoots(), and SysFileSystem::MaximumPathLength.
Return the last modified date as a Ticks time value.
Definition at line 187 of file FileNative.cpp.
References SysFileSystem::getLastModifiedDate().
Return the file system case sensitivity section
Definition at line 81 of file FileNative.cpp.
References SysFileSystem::exists(), and SysFileSystem::isWriteOnly().
Return the file system case sensitivity section
Definition at line 90 of file FileNative.cpp.
References SysFileSystem::exists(), and SysFileSystem::isReadOnly().
Delete a directory
Definition at line 151 of file FileNative.cpp.
References SysFileSystem::deleteDirectory().
Delete a file
Definition at line 142 of file FileNative.cpp.
References SysFileSystem::deleteFile().
Test if the file exists
Definition at line 133 of file FileNative.cpp.
References SysFileSystem::exists().
Tests if the file is a directory
Definition at line 160 of file FileNative.cpp.
References SysFileSystem::isDirectory().
Tests if the file is a file
Definition at line 169 of file FileNative.cpp.
References SysFileSystem::isFile().
Tests if the file hidden
Definition at line 178 of file FileNative.cpp.
References SysFileSystem::isHidden().
Make a directory instance
Definition at line 252 of file FileNative.cpp.
References SysFileSystem::makeDirectory().
Set the read-only flag for the target file
Definition at line 205 of file FileNative.cpp.
References SysFileSystem::setFileReadOnly().
RexxMethod1 | ( | RexxObjectPtr | , |
file_list | , | ||
CSTRING | , | ||
name | |||
) |
Get a list of the file children for a directory.
Definition at line 223 of file FileNative.cpp.
References SysFileIterator::hasNext(), SysFileSystem::isDirectory(), SysFileSystem::MaximumPathLength, and SysFileIterator::next().
RexxMethod1 | ( | RexxStringObject | , |
file_qualify | , | ||
CSTRING | , | ||
name | |||
) |
Create a fully-qualified path name for a file.
Definition at line 120 of file FileNative.cpp.
References SysFileSystem::MaximumFileNameLength, and SysFileSystem::qualifyStreamName().
Return the last modified date as a Ticks time value.
Definition at line 214 of file FileNative.cpp.
References SysFileSystem::getFileLength().
Return the last modified date as a Ticks time value.
Definition at line 196 of file FileNative.cpp.
References SysFileSystem::setLastModifiedDate().