36 void ScanFilePath(
const char* url,
const char** pfilename,
const char** pext)
38 const char* urlStart = url;
39 const char *filename = 0;
40 const char *lastDot = 0;
46 if ((charVal ==
'/') || (charVal ==
'\\'))
51 else if (charVal ==
'.')
62 if (urlStart && (*urlStart !=
'.') && *urlStart)
63 *pfilename = urlStart;
65 *pfilename = filename;
89 if ((charVal ==
'/') && (charVal2 ==
'\\'))
124 if ((charVal ==
'/') || (charVal ==
'\\'))
134 if ((charVal ==
'/') || (charVal ==
'\\'))
137 else if ((charVal ==
'/') || (charVal ==
'\\'))
166 const char* filename = 0;
183 const char* filename = 0;
String GetFilename() const
String GetProtocol() const
bool HasAbsolutePath() const
const char * ToCStr() const
UInt32 DecodeNextChar(const char **putf8Buffer)
const char * ScanPathProtocol(const char *url)
String GetExtension() const
bool HasExtension() const
UPInt OVR_CDECL OVR_strlen(const char *str)
void AssignString(const InitStruct &src, UPInt size)
void ScanFilePath(const char *url, const char **pfilename, const char **pext)