46 FXStat():modeFlags(0),userNumber(0),groupNumber(0),linkCount(0),createTime(0),accessTime(0),modifyTime(0),fileVolume(0),fileIndex(0),fileSize(0){ }
49 FXuint
mode()
const {
return modeFlags; }
52 FXuint
user()
const {
return userNumber; }
55 FXuint
group()
const {
return groupNumber; }
58 FXuint
links()
const {
return linkCount; }
61 FXTime
created()
const {
return createTime; }
70 FXlong
volume()
const {
return fileVolume; }
73 FXlong
index()
const {
return fileIndex; }
76 FXlong
size()
const {
return fileSize; }
79 FXbool isHidden()
const;
82 FXbool isDirectory()
const;
85 FXbool isFile()
const;
88 FXbool isLink()
const;
91 FXbool isSetUid()
const;
94 FXbool isSetGid()
const;
97 FXbool isSetSticky()
const;
100 FXbool isDevice()
const;
103 FXbool isCharacter()
const;
106 FXbool isBlock()
const;
109 FXbool isSocket()
const;
112 FXbool isFifo()
const;
115 FXbool isReadable()
const;
118 FXbool isWritable()
const;
121 FXbool isExecutable()
const;
124 FXbool isOwnerReadWriteExecute()
const;
127 FXbool isOwnerReadable()
const;
130 FXbool isOwnerWritable()
const;
133 FXbool isOwnerExecutable()
const;
136 FXbool isGroupReadWriteExecute()
const;
139 FXbool isGroupReadable()
const;
142 FXbool isGroupWritable()
const;
145 FXbool isGroupExecutable()
const;
148 FXbool isOtherReadWriteExecute()
const;
151 FXbool isOtherReadable()
const;
154 FXbool isOtherWritable()
const;
157 FXbool isOtherExecutable()
const;
171 static FXuint mode(
const FXString& file);
174 static FXbool mode(
const FXString& file,FXuint perm);
177 static FXbool exists(
const FXString& file);
180 static FXlong size(
const FXString& file);
183 static FXlong volume(
const FXString& file);
186 static FXlong index(
const FXString& file);
189 static FXuint links(
const FXString& file);
196 static FXTime modified(
const FXString& file);
203 static FXbool modified(
const FXString& file,FXTime ns);
209 static FXTime accessed(
const FXString& file);
216 static FXbool accessed(
const FXString& file,FXTime ns);
224 static FXTime created(
const FXString& file);
231 static FXbool created(
const FXString& file,FXTime ns);
234 static FXbool isHidden(
const FXString& file);
237 static FXbool isFile(
const FXString& file);
240 static FXbool isLink(
const FXString& file);
243 static FXbool isDirectory(
const FXString& file);
246 static FXbool isReadable(
const FXString& file);
249 static FXbool isWritable(
const FXString& file);
252 static FXbool isExecutable(
const FXString& file);
255 static FXbool isOwnerReadWriteExecute(
const FXString& file);
258 static FXbool isOwnerReadable(
const FXString& file);
261 static FXbool isOwnerWritable(
const FXString& file);
264 static FXbool isOwnerExecutable(
const FXString& file);
267 static FXbool isGroupReadWriteExecute(
const FXString& file);
270 static FXbool isGroupReadable(
const FXString& file);
273 static FXbool isGroupWritable(
const FXString& file);
276 static FXbool isGroupExecutable(
const FXString& file);
279 static FXbool isOtherReadWriteExecute(
const FXString& file);
282 static FXbool isOtherReadable(
const FXString& file);
285 static FXbool isOtherWritable(
const FXString& file);
288 static FXbool isOtherExecutable(
const FXString& file);
291 static FXbool isSetUid(
const FXString& file);
294 static FXbool isSetGid(
const FXString& file);
297 static FXbool isSetSticky(
const FXString& file);
308 static FXbool getTotalDiskSpace(
const FXString& path,FXulong& space);
311 static FXbool getAvailableDiskSpace(
const FXString& path,FXulong& space);
FXuint links() const
Return number of links to file.
Definition: FXStat.h:58
Open for writing.
Definition: FXIO.h:43
Statistics about a file or directory.
Definition: FXStat.h:31
FXTime accessed() const
Return time when last accessed, in nanoseconds.
Definition: FXStat.h:64
FXlong size() const
Return file size in bytes.
Definition: FXStat.h:76
FXlong index() const
Return file index number.
Definition: FXStat.h:73
FXuint group() const
Return group number.
Definition: FXStat.h:55
FXTime created() const
Return time when file was created, in nanoseconds.
Definition: FXStat.h:61
FXuint mode() const
Return the mode flags for this file.
Definition: FXStat.h:49
Definition: FX4Splitter.h:28
FXuint user() const
Return user number.
Definition: FXStat.h:52
FXlong volume() const
Return file volume number.
Definition: FXStat.h:70
Low level file access.
Definition: FXFile.h:34
FXStat()
File size.
Definition: FXStat.h:46
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42
FXTime modified() const
Return time when last modified, in nanoseconds.
Definition: FXStat.h:67