|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
Wrapper to extract stats from a file. More...
#include <file_request.h>
Public Member Functions | |
| Stat (const std::string fName) | |
| Construct the class with the full file name. | |
| ~Stat () | |
| bool | exists () const |
| Check if the file exists. | |
| time_t | getCreateTimeStamp () const |
| Return the creation timestamp of the file. | |
| size_t | getFileSize () const |
| Return the size of the file. | |
| time_t | getModifyTimeStamp () const |
| Return the timestamp of the last modification of the file. | |
| bool | isDirectory () const |
| Check if the file is a directory. | |
Wrapper to extract stats from a file.
| lwpp::Stat::Stat | ( | const std::string | fName | ) |
Construct the class with the full file name.
| lwpp::Stat::~Stat | ( | ) |
| bool lwpp::Stat::exists | ( | void | ) | const |
Check if the file exists.
| time_t lwpp::Stat::getCreateTimeStamp | ( | ) | const |
Return the creation timestamp of the file.
| size_t lwpp::Stat::getFileSize | ( | ) | const |
Return the size of the file.
| time_t lwpp::Stat::getModifyTimeStamp | ( | ) | const |
Return the timestamp of the last modification of the file.
| bool lwpp::Stat::isDirectory | ( | ) | const |
Check if the file is a directory.