Poco

class FileImpl

Library: Foundation
Package: Filesystem
Header: Poco/File_WIN32U.h

Inheritance

Known Derived Classes: File, TemporaryFile

Member Summary

Member Functions: canExecuteImpl, canReadImpl, canWriteImpl, convertPath, copyToImpl, createDirectoryImpl, createFileImpl, createdImpl, existsImpl, freeSpaceImpl, getExecutablePathImpl, getLastModifiedImpl, getPathImpl, getSizeImpl, handleLastErrorImpl, isDeviceImpl, isDirectoryImpl, isFileImpl, isHiddenImpl, isLinkImpl, linkToImpl, removeImpl, renameToImpl, setExecutableImpl, setLastModifiedImpl, setPathImpl, setSizeImpl, setWriteableImpl, swapImpl, totalSpaceImpl, usableSpaceImpl

Types Aliases

FileSizeImpl protected

using FileSizeImpl = UInt64;

Enumerations

Options protected

OPT_FAIL_ON_OVERWRITE_IMPL = 0x01

Constructors

FileImpl protected

FileImpl();

FileImpl protected

FileImpl(
    const std::string & path
);

Destructor

~FileImpl protected virtual

virtual ~FileImpl();

Member Functions

canExecuteImpl protected

bool canExecuteImpl(
    const std::string & absolutePath
) const;

canReadImpl protected

bool canReadImpl() const;

canWriteImpl protected

bool canWriteImpl() const;

convertPath protected static

static void convertPath(
    const std::string & utf8Path,
    std::wstring & utf16Path
);

copyToImpl protected

void copyToImpl(
    const std::string & path,
    int options = 0
) const;

createDirectoryImpl protected

bool createDirectoryImpl();

createFileImpl protected

bool createFileImpl();

createdImpl protected

Timestamp createdImpl() const;

existsImpl protected

bool existsImpl() const;

freeSpaceImpl protected

FileSizeImpl freeSpaceImpl() const;

getExecutablePathImpl protected

std::string getExecutablePathImpl() const;

getLastModifiedImpl protected

Timestamp getLastModifiedImpl() const;

getPathImpl protected inline

const std::string & getPathImpl() const;

getSizeImpl protected

FileSizeImpl getSizeImpl() const;

handleLastErrorImpl protected static

static void handleLastErrorImpl(
    const std::string & path
);

isDeviceImpl protected

bool isDeviceImpl() const;

isDirectoryImpl protected

bool isDirectoryImpl() const;

isFileImpl protected

bool isFileImpl() const;

isHiddenImpl protected

bool isHiddenImpl() const;

isLinkImpl protected

bool isLinkImpl() const;

linkToImpl protected

void linkToImpl(
    const std::string & path,
    int type
) const;

removeImpl protected

void removeImpl();

renameToImpl protected

void renameToImpl(
    const std::string & path,
    int options = 0
);

setExecutableImpl protected

void setExecutableImpl(
    bool flag = true
);

setLastModifiedImpl protected

void setLastModifiedImpl(
    const Timestamp & ts
);

setPathImpl protected

void setPathImpl(
    const std::string & path
);

setSizeImpl protected

void setSizeImpl(
    FileSizeImpl size
);

setWriteableImpl protected

void setWriteableImpl(
    bool flag = true
);

swapImpl protected

void swapImpl(
    FileImpl & file
);

totalSpaceImpl protected

FileSizeImpl totalSpaceImpl() const;

usableSpaceImpl protected

FileSizeImpl usableSpaceImpl() const;