#include <fs/sys/fsFileDir.h>
#include <fs/sys/fsAssert.h>
#include <vector>
#include <string>
#include <windows.h>
Include dependency graph for fsFileDir.cpp:

Go to the source code of this file.
Defines | |
| #define | FS_VERIFY_RETURN(exp) if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; } |
| #define | FS_VERIFY_RETURN_VAL(exp, ret) if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); } |
Functions | |
| const char * | fs::sys::fdr::GetPathSpr () |
| Returns a platform dependent path separator (as a string). | |
| const char * | fs::sys::fdr::GetNewLn () |
| Returns a system dependent new-line code (as a string). | |
| const char * | fs::sys::fdr::GetAppDir () |
| Returns the app startup full directory path (with the separ. at the end). | |
| bool | fs::sys::fdr::IsDirExist (const char *pszFullDir) |
| Checks if the given full directory path exists. | |
| bool | fs::sys::fdr::MakeDir (const char *pszFullDir) |
| Creates a directory structure according to the given full dir. path. | |
| void | fs::sys::fdr::NicePath (char *pszOut, const char *pszDir, const char *pszFile=0) |
| Merges and decorates two given parts of a path. | |
Variables | |
| std::string | m_strRoot |
| std::vector< std::string > | m_Items |
| #define FS_VERIFY_RETURN | ( | exp | ) | if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; } |
Definition at line 44 of file fsFileDir.cpp.
| #define FS_VERIFY_RETURN_VAL | ( | exp, | |||
| ret | ) | if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); } |
Definition at line 48 of file fsFileDir.cpp.
| std::vector<std::string> m_Items |
Definition at line 260 of file fsFileDir.cpp.
| std::string m_strRoot |
Definition at line 259 of file fsFileDir.cpp.