LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::Stat Class Reference

Wrapper to extract stats from a file. More...

#include <file_request.h>

List of all members.

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.

Detailed Description

Wrapper to extract stats from a file.


Constructor & Destructor Documentation

lwpp::Stat::Stat ( const std::string  fName)

Construct the class with the full file name.

lwpp::Stat::~Stat ( )

Member Function Documentation

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.


The documentation for this class was generated from the following files: