libcommonc++  0.7
File Member List

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

_init(FileHandle handle, bool seekable, bool readable, bool writable)Streamprotected
_nameFileprotected
close(IOMode mode=IOReadWrite)Streamvirtual
copy(const String &oldFile, const String &newFile)Filestatic
createLink(const String &oldPath, const String &newPath, bool hardLink=false)Filestatic
eolFilestatic
exists() constFile
exists(const String &path)Filestatic
File(const String &path)File
getAttributes(const String &path, FileAttributes &attrs)Filestatic
getDiskBlockSize(const String &path)Filestatic
getDiskFreeSpace(const String &path)Filestatic
getFileSystemRoots(StringVec &roots, bool localOnly=true)Filestatic
getPath() constFileinline
getPermissions(Permissions &perm)File
getPermissions(const String &path, Permissions &perm)Filestatic
getSize()File
getSize(const String &path)Filestatic
getTimeout() constStreaminline
isDirectory() constFile
isDirectory(const String &path)Filestatic
isFile() constFile
isFile(const String &path)Filestatic
isFullDuplex() constStreaminline
isHalfDuplex() constStreaminline
isOpen() constStreaminline
isPipe() constFile
isPipe(const String &path)Filestatic
isReadable() constStreaminline
isSeekable() constStreaminline
isSymLink() constFile
isSymLink(const String &path)Filestatic
isValidSeparator(char c)Filestatic
isValidSeparator(char16_t c)Filestatic
isWritable() constStreaminline
lockRange(uint64_t start, uint64_t length, LockType type, bool wait=true)File
makeDirectory(const String &path, bool createAll=false, const Permissions &perm=Permissions::defaultDirPerms)Filestatic
MAX_IOBLOCK_COUNTStreamstatic
move(const String &oldFile, const String &newFile)Filestatic
open(IOMode mode=IOReadWrite, FileOpenMode openMode=FileOpenElseCreate, const Permissions &perm=Permissions::USER_READ_WRITE)File
read(ByteBuffer &buffer)Streamvirtual
read(CharBuffer &buffer)Streamvirtual
read(Buffer< T > &buffer, size_t &partial)Streaminline
read(byte_t *buffer, size_t buflen)Streamvirtual
read(byte_t *buffer, size_t buflen, int64_t offset, AsyncIOTask &task)Stream
read(ByteBuffer &buffer, int64_t offset, AsyncIOTask &task)Stream
read(MemoryBlock *vec, uint_t count)Streamvirtual
readFully(ByteBuffer &buffer, size_t count=0)Streamvirtual
readFully(CharBuffer &buffer, size_t count=0)Streamvirtual
readFully(Buffer< T > &buffer, size_t &partial)Streaminline
readFully(byte_t *buffer, size_t buflen)Streamvirtual
readSymLink(String &path)Filestatic
readToString(const String &path)Filestatic
remove()File
remove(const String &path)Filestatic
removeDirectory(const String &path)Filestatic
removeDirectoryTree(const String &path)Filestatic
removeTrailingSeparators(const String &path)Filestatic
rename(const String &oldName, const String &newName)Filestatic
resolveSymLink(String &path)Filestatic
roundSizeToBlockSize(const int64_t &fileSize, size_t blockSize)Filestatic
seek(int64_t offset, SeekMode mode=SeekAbsolute)Streamvirtual
separatorFilestatic
separatorStringFilestatic
setCreationMask(const Permissions &perm)Filestatic
setPermissions(const Permissions &perm)File
setPermissions(const String &path, const Permissions &perm)Filestatic
setTimeout(timespan_ms_t timeout)Streamvirtual
Stream()Streamprotected
Stream(FileHandle handle, bool seekable=true, bool readable=true, bool writable=true)Streamprotected
tell()Streamvirtual
touch()File
touch(const String &path)Filestatic
truncate(uint64_t size=0)File
unlockRange(uint64_t start, uint64_t length)File
validSeparatorsFilestatic
write(const byte_t *buffer, size_t buflen, int64_t offset, AsyncIOTask &task)Stream
write(ByteBuffer &buffer, int64_t offset, AsyncIOTask &task)Stream
write(ByteBuffer &buffer)Streamvirtual
write(CharBuffer &buffer)Streamvirtual
write(Buffer< T > &buffer, size_t &partial)Streaminline
write(const byte_t *buffer, size_t buflen)Streamvirtual
write(const MemoryBlock *vec, uint_t count)Streamvirtual
writeFully(ByteBuffer &buffer)Streamvirtual
writeFully(CharBuffer &buffer)Streamvirtual
writeFully(Buffer< T > &buffer, size_t &partial)Streaminline
writeFully(const byte_t *buffer, size_t buflen)Streamvirtual
~File()Filevirtual
~Stream()Streamvirtual