Filename Class Reference
[Core]
Public Member Functions | |
| Filename () | |
| Filename (const char *filename) | |
| Filename (const StringId &filename) | |
| Filename (const Filename &filename) | |
| ~Filename () | |
| const Filename & | operator= (const Filename &filename) |
| bool | operator== (const Filename &filename) const |
| bool | operator!= (const Filename &filename) const |
| const char * | GetString () const |
| StringId | GetStringId () const |
Detailed Description
- Todo:
- Option to silently correct a filename (no assert for incorrect ones)
Definition at line 20 of file Filename.h.
Constructor & Destructor Documentation
| Filename::Filename | ( | ) |
Default constructor.
Definition at line 10 of file Filename.cpp.
| Filename::Filename | ( | const char * | filename | ) |
Constructor.
Definition at line 19 of file Filename.cpp.
| Filename::Filename | ( | const StringId & | filename | ) |
Constructor.
Definition at line 31 of file Filename.cpp.
| Filename::Filename | ( | const Filename & | filename | ) |
Copy Constructor.
Definition at line 43 of file Filename.cpp.
| Filename::~Filename | ( | ) |
Destructor.
Definition at line 56 of file Filename.cpp.
Member Function Documentation
Assignment operator.
Definition at line 68 of file Filename.cpp.
| bool Filename::operator== | ( | const Filename & | filename | ) | const |
Comparison operation (equality).
Definition at line 88 of file Filename.cpp.
| bool Filename::operator!= | ( | const Filename & | filename | ) | const |
Comparison operation (inequality).
Definition at line 105 of file Filename.cpp.
| const char * Filename::GetString | ( | ) | const |
Used to retrieve the original, c-style string (const char*) for this Filename.
- Returns:
- The zero-terminated string for this filename
Definition at line 113 of file Filename.cpp.
| StringId Filename::GetStringId | ( | ) | const |
Definition at line 126 of file Filename.cpp.
Reproduction/republishing of any material on this site without permission is strictly prohibited.
