These function is used to extract the path, filename and/or extension out of a fully-qualified path name.
Pass in NULL for components which you do not require.
Note that SplitFilename will also support being passed a GUID string representing an asset. Example: "{B5B12976-3C00-475A-A619-CE0C76BD8483}" If the IAssetManager can find an asset corresponding to this string, SplitFilename will use the filename of this asset.
| [in] | full_path | Full pathname, cannot be NULL. | 
| [out] | directory | Extracted path name, with directory. Pass NULL if you do not need it. | 
| [in] | dbuflen | Applies only to the char* (wchar_t*) versions of SplitFilename(): size of the directorystring buffer, in char (wchar_t) units, not bytes. | 
| [out] | filename | Extracted filename, without extension. Pass NULL if you do not need it. | 
| [in] | fbuflen | Applies only to the char* (wchar_t*) versions of SplitFilename(): size of the filenamestring buffer, in char (wchar_t) units, not bytes. | 
| [out] | extension | Extracted extension. Pass NULL if you do not need it. | 
| [in] | ebuflen | Applies only to the char* (wchar_t*) versions of SplitFilename(): size of the extensionstring buffer, in char (wchar_t) units, not bytes. | 
| Functions | |
| CoreExport void | SplitFilename (const CStr &full_path, CStr *directory, CStr *filename, CStr *extension) | 
| SplitFilename (CStr* version)  More... | |
| CoreExport void | SplitFilename (LPCSTR full_path, LPSTR directory, size_t dbuflen, LPSTR filename, size_t fbuflen, LPSTR extension, size_t ebuflen) | 
| SplitFilename (char* version)  More... | |
| CoreExport void | SplitFilename (const WStr &full_path, WStr *directory, WStr *filename, WStr *extension) | 
| SplitFilename (WStr* version)  More... | |
| CoreExport void | SplitFilename (LPCWSTR full_path, LPWSTR directory, size_t dbuflen, LPWSTR filename, size_t fbuflen, LPWSTR extension, size_t ebuflen) | 
| SplitFilename (wchar_t* version)  More... | |
| CoreExport void SplitFilename | ( | const CStr & | full_path, | 
| CStr * | directory, | ||
| CStr * | filename, | ||
| CStr * | extension | ||
| ) | 
SplitFilename (CStr* version)
| CoreExport void SplitFilename | ( | LPCSTR | full_path, | 
| LPSTR | directory, | ||
| size_t | dbuflen, | ||
| LPSTR | filename, | ||
| size_t | fbuflen, | ||
| LPSTR | extension, | ||
| size_t | ebuflen | ||
| ) | 
SplitFilename (char* version)
| CoreExport void SplitFilename | ( | const WStr & | full_path, | 
| WStr * | directory, | ||
| WStr * | filename, | ||
| WStr * | extension | ||
| ) | 
SplitFilename (WStr* version)
| CoreExport void SplitFilename | ( | LPCWSTR | full_path, | 
| LPWSTR | directory, | ||
| size_t | dbuflen, | ||
| LPWSTR | filename, | ||
| size_t | fbuflen, | ||
| LPWSTR | extension, | ||
| size_t | ebuflen | ||
| ) | 
SplitFilename (wchar_t* version)