IXE::io::File Class Reference
List of all members.
Public Member Functions |
|
| File (char const *pathname) |
|
| File (std::string &pathname) |
|
bool | create () |
| bool | exists () |
| bool | canRead () |
| bool | canWrite () |
|
bool | isEmpty () |
| bool | isDirectory () |
| bool | isFile () |
|
bool | isHidden () |
|
bool | isIndexable () |
|
bool | isLink () |
| off64_t | length () |
|
bool | remove () |
| std::string | mimeType () |
| time_t | lastAccessed () |
|
bool | lastAccessed (time_t) |
| time_t | lastModified () |
|
bool | lastModified (time_t) |
| time_t | fileCreated () |
|
bool | makedir (int mode=0755) |
|
bool | makedirs (int mode=0755) |
| | Create full directory hierarchy down to pathname.
|
|
bool | rename (char const *dest) |
| char const * | name () |
Protected Attributes |
|
char const * | pathname |
Member Function Documentation
| bool IXE::io::File::canRead |
( |
|
) |
|
- Returns:
- true if read permissions are granted on file
| bool IXE::io::File::canWrite |
( |
|
) |
|
- Returns:
- true if write permissions are granted on file
| bool IXE::io::File::exists |
( |
|
) |
|
- Returns:
- true if file esists
| time_t IXE::io::File::fileCreated |
( |
|
) |
|
- Returns:
- creation time in seconds since 1970-01-01T00:00:00:000
| bool IXE::io::File::isDirectory |
( |
|
) |
|
- Returns:
- true if file is directory
| bool IXE::io::File::isFile |
( |
|
) |
|
- Returns:
- true if file is normal file
| time_t IXE::io::File::lastAccessed |
( |
|
) |
|
- Returns:
- time of last access in seconds since 1970-01-01T00:00:00:000
| time_t IXE::io::File::lastModified |
( |
|
) |
|
- Returns:
- time of last modification in seconds since 1970-01-01T00:00:00:000
| off64_t IXE::io::File::length |
( |
|
) |
|
- Returns:
- byte length of file.
| std::string IXE::io::File::mimeType |
( |
|
) |
|
- Returns:
- the associated MIM type
| char const* IXE::io::File::name |
( |
|
) |
[inline] |
The documentation for this class was generated from the following files:
- search/ixe/io/File.h
- search/ixe/io/File.cpp