Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWFileStat

Module:  Essential Tools Module   Group:  File System Classes


Does not inherit

Local Index

Members

Synopsis

#include <rw/stat.h>
RWFileStat st;

Description

The class RWFileStat provides file statistical information in a portable manner. RWFileStat is:

Persistence

None

Public Typedefs

Typedef dev_type
// Type for device number (integer)
typedef ino_type
// Type for inode number (integer)
Typedef mode_type
// Type for mode (32b unsigned integer)
typedef nlink_type
// Type for number of hard links (integer)
Typedef off_type
// Type for offset (integer)
Typedef stat_type
// Type of the underlying data structure
// (default is struct stat)

Public Constructor

explicit RWFileStat(const char* bool follow_links = true);

Public Member Functions

All inherited from the base class.

dev_type
dev() const;
ino_type
inode() const;
bool
isBlock() const;
bool    
isCharacter() const;
bool
isDirectory() const;
bool
isFifo() const;
bool
isFile() const;
bool
isSymlink() const;
mode_type
mode() const;
nlink_type
nlink() const;
off_type
size() const;
const stat_type*
stat() const;
time_t
atime() const;
time_t
ctime() const;
time_t
mtime() const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.