CrystalSpace

Public API Reference

csFileTime Struct Reference
[Virtual File System (VFS)]

File time structure - used to query and set the last-modification time of a file. More...

#include <iutil/vfs.h>

List of all members.

Public Member Functions

 csFileTime (const struct tm &time)
 Construct a csFileTime item from a struct tm.
 csFileTime ()
 empty constructor.
 operator struct tm () const
 Create a struct tm from object.
void operator= (const struct tm &time)
 Assign a struct tm.

Public Attributes

int day
 Day, 1..31.
int hour
 Hour, 0..23.
int min
 Minute, 0..59.
int mon
 Month, 0..11.
int sec
 Second, 0..59.
int year
 Year, 1768, 1900, 2001, ...

Detailed Description

File time structure - used to query and set the last-modification time of a file.

Definition at line 47 of file vfs.h.


Constructor & Destructor Documentation

csFileTime::csFileTime (  )  [inline]

empty constructor.

Definition at line 63 of file vfs.h.

csFileTime::csFileTime ( const struct tm &  time  )  [inline]

Construct a csFileTime item from a struct tm.

Definition at line 66 of file vfs.h.


Member Function Documentation

csFileTime::operator struct tm (  )  const [inline]

Create a struct tm from object.

Definition at line 83 of file vfs.h.

void csFileTime::operator= ( const struct tm &  time  )  [inline]

Assign a struct tm.

Definition at line 72 of file vfs.h.


Member Data Documentation

Day, 1..31.

Definition at line 56 of file vfs.h.

Hour, 0..23.

Definition at line 54 of file vfs.h.

Minute, 0..59.

Definition at line 52 of file vfs.h.

Month, 0..11.

Definition at line 58 of file vfs.h.

Second, 0..59.

Definition at line 50 of file vfs.h.

Year, 1768, 1900, 2001, ...

Definition at line 60 of file vfs.h.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.6.1