CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
File Member List

This is the complete list of members for File, including all inherited members.

access(const String &path, FileAccess mode)Filestatic
alias(const State *state)Objectprotectedstatic
as() constObject
chown(const String &path, uid_t ownerId, gid_t groupId)Filestatic
clean(const String &path)Filestatic
close()File
create(const String &path, FileMode mode=FileMode::Default)Filestatic
createTemp(FileMode mode=FileMode::Default)Filestatic
createUnique(const String &path, FileMode mode=FileMode::Default, char placeHolder='#')Filestatic
currentOffset() constFile
dataSync()File
defaultTransferUnit() constStream
drain(const Bytes &auxBuffer=Bytes{})Stream
duplicate() constIoStream
duplicateTo(IoStream &other)IoStream
echo(bool on)IoStream
error()IoStreamstatic
establish(const String &path, FileMode fileMode=FileMode::Default, FileMode dirMode=FileMode::DirDefault)Filestatic
exists(const String &path)Filestatic
fd() constIoStream
File()=defaultFile
File(const String &path, FileOpen flags=FileOpen::ReadOnly, FileMode mode=FileMode::Default)Fileexplicit
initOnce()Objectprotected
initOncePerThread()Objectprotected
input()IoStreamstatic
ioctl(int request, void *arg)IoStream
IoStream()=defaultIoStream
IoStream(int fd)IoStreamexplicit
IoStream(State *newState) (defined in IoStream)IoStreamexplicitprotected
is() constObject
isDiscarding() constStream
isInteractive() constIoStream
isNull() constObject
isSeekable() constFile
isWeak() constObject
link(const String &oldPath, const String &newPath)Filestatic
load(const String &path)Filestatic
locate(const String &fileName, const List< String > &dirs, FileAccess accessFlags=FileAccess::Exists)Filestatic
map()File
map(off_t i0, off_t i1)File
Object()=defaultObject
Object(State *newState)Objectexplicitprotected
Object(State *state, Alias) (defined in Object)Objectexplicitprotected
Object(State *state, Weak) (defined in Object)Objectexplicitprotected
operator bool() constObjectexplicit
operator<=>(const Object &other) constObject
operator=(std::nullptr_t) (defined in Object)Objectprotected
operator==(const Object &other) constObject
output()IoStreamstatic
pair(Out< IoStream > a, Out< IoStream > b)IoStreamstatic
path() constFile
read(Out< Bytes > buffer, long maxFill=-1)Stream
readAll()File
readlink(const String &path)Filestatic
readSpan(Out< Bytes > buffer)Stream
readSpan(long count)Stream
rename(const String &oldPath, const String &newPath)Filestatic
save(const String &path, const String &text)Filestatic
scatterLimit() constIoStream
seek(off_t distance, Seek whence=Seek::Begin)File
setScatterLimit(long newLimit)IoStream
setTimes(const String &path, double lastAccess, double lastModified, bool followSymlink=true)Filestatic
shutdown(IoShutdown mode=IoShutdown::Full)IoStream
skip(long long count)Stream
Stream()=defaultStream
Stream(State *newState) (defined in Stream)Streamexplicitprotected
symlink(const String &oldPath, const String &newPath)Filestatic
sync()File
transferTo(const Stream &sink, long long count, const Bytes &buffer)Stream
transferTo(const Stream &sink, long long count=-1)Stream
truncate(off_t length)File
tryOpen(const String &path, Out< File > file, FileOpen flags=FileOpen::ReadOnly, FileMode mode=FileMode::Default)File
unlink(const String &path)Filestatic
useCount() constObject
wait(IoEvent event, int timeout=-1)Stream
waitEstablished(int timeout=-1)Stream
weak() const (defined in Object)Objectprotected
weak(const State *state) (defined in Object)Objectprotectedstatic
write(const Bytes &buffer, long fill=-1)Stream
write(const List< Bytes > &buffers)Stream
write(const List< String > &parts)Stream
write(const struct iovec *iov, int iovcnt)Stream
write(const char *s)Stream