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

10.3 RWFileStat

RWFileStat is an abstraction of the state of a file system object and provides that information in a portable manner. Note that RWFileStat type is not assignable, copy constructible, or equality comparable:

10.3.1 Construction

Construct an RWFileState object by passing the name of a valid file:

For links, the RWFileStat object will stat the link object itself and not the target of the symbolic link. If you want to stat the target use:

10.3.2 Example

A function which prints the type of the file system object stat'ed:



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.