#include <KeosFile.h>
Public Member Functions | |
| CFile (const String &strName="unknown") | |
| Constructor using a String. | |
| CFile (const char *strName) | |
| Constructor using a const char*. | |
| bool | Exists () const |
| Indicate if the file exists or not. | |
| const String & | Fullname () const |
| Return the name of the file with its path. | |
| String | Filename () const |
| Return the name of the file without its path. | |
| String | ShortFilename () const |
| Return the name of the file without path nor extension. | |
| String | Extension () const |
| Return the file extension. | |
Definition at line 36 of file KeosFile.h.
| Keos::CFile::CFile | ( | const String & | strName = "unknown" |
) |
Constructor using a String.
| strName | Complete path of th file. |
Definition at line 31 of file KeosFile.cpp.
| Keos::CFile::CFile | ( | const char * | strName | ) |
Constructor using a const char*.
| strName | Complete path of th file. |
Definition at line 38 of file KeosFile.cpp.
| bool Keos::CFile::Exists | ( | ) | const |
Indicate if the file exists or not.
Definition at line 45 of file KeosFile.cpp.
| const String & Keos::CFile::Fullname | ( | ) | const |
Return the name of the file with its path.
Definition at line 52 of file KeosFile.cpp.
Referenced by Keos::CMediaManager::FindMedia(), Keos::CMediaManager::LoadMediaFromFile(), and Keos::CMediaManager::SaveMediaToFile().
| String Keos::CFile::Filename | ( | ) | const |
Return the name of the file without its path.
Definition at line 58 of file KeosFile.cpp.
Referenced by ShortFilename().
| String Keos::CFile::ShortFilename | ( | ) | const |
Return the name of the file without path nor extension.
Definition at line 69 of file KeosFile.cpp.
References Filename().
| String Keos::CFile::Extension | ( | ) | const |
1.5.1-p1