ThingWorx C SDK
|
File/directory data structure. More...
#include <twFileManager.h>
Public Attributes | |
char * | name |
char * | realPath |
char * | virtualPath |
char * | repository |
DATETIME | lastModified |
char | readOnly |
uint64_t | size |
TW_FILE_HANDLE | handle |
char | isDir |
uint64_t | lastFileXferActivity |
char * | tid |
char | openForRead |
char | isInUse |
TW_MUTEX | inUseMutex |
File/directory data structure.
TW_FILE_HANDLE twFile::handle |
A handle to the file.
TW_MUTEX twFile::inUseMutex |
Lock for if file is open for use
char twFile::isDir |
Is directory flag (TRUE if the file is a directory, FALSE otherwise.
char twFile::isInUse |
#TRUE if the file is open for use, #FALSE otherwise.
uint64_t twFile::lastFileXferActivity |
The time (in milliseconds) of the last file transfer activity.
DATETIME twFile::lastModified |
The date/time of the last modification to the file.
char* twFile::name |
The name of the file.
char twFile::openForRead |
#TRUE if the file is open for reading, #FALSE otherwise.
char twFile::readOnly |
Read-only flag (TRUE if read-only, FALSE otherwise).
char* twFile::realPath |
The real path of the file.
char* twFile::repository |
The repository of the file.
uint64_t twFile::size |
The size of the file.
char* twFile::tid |
The unique TID associated with the file.
char* twFile::virtualPath |
The virtual path of the file.