42 : sName(NULL), sExt(NULL), sRef(NULL)
45 iInit(sFName, iExtSepNum);
71 unsigned int iNewSize = strlen(sFName);
81 strcpy(
sName, sFName);
93 while (
sRef[0] !=
'\0') {
96 if (iCnt == iExtSepNum) {
104 iNewSize = strlen(
sRef);
105 if (
sExt == NULL || strlen(
sExt) < iNewSize) {
116 }
else if (iExtSepNum < 0) {
117 iExtSepNum = -iExtSepNum;
127 while (--
sRef > sLim) {
130 if (iCnt == iExtSepNum) {
138 iNewSize = strlen(
sRef);
139 if (
sExt == NULL || strlen(
sExt) < iNewSize) {
163 if (sEName == NULL) {
167 unsigned int uExtLen = strlen(sEName);
168 if (sEName[0] !=
'\0' && sEName[0] !=
EXT_SEP) {
187 if (sEName[0] !=
'\0') {
193 strcpy(sTmp, sEName);
211 if ((strstr(p,
":\\") != 0) || (strstr(p,
":/") != 0)) {
const char *const _sPutExt(const char *n)
#define SAFEDELETEARR(pnt)
FileName(const char *n=NULL, int i=0)
int is_abs_path(const char *const p)
const char *const sGet(void) const
#define ASSERT(expression)
int iInit(const char *n, int i=0)
#define SAFENEWARR(pnt, item, sz)