#include <stdio.h>
#include "abkassert.h"
#include "abkstring.h"
#include "pathDelims.h"
Include dependency graph for abkassert.cxx:
Go to the source code of this file.
Functions | |
void | abkassert_stop_here () |
void | abkguess_stop_here () |
void | abkfatal_stop_here () |
void | abkwarn_stop_here () |
const char * | SgnPartOfFileName (const char *fileName) |
char * | BaseFileName (char *fileName) |
|
Definition at line 59 of file abkassert.cxx.
00059 {} |
|
Definition at line 61 of file abkassert.cxx.
00061 {} |
|
Definition at line 60 of file abkassert.cxx.
00060 {} |
|
Definition at line 62 of file abkassert.cxx.
00062 {} |
|
Definition at line 79 of file abkassert.cxx. References pathDelim.
00080 { 00081 char *leftDelim=strrchr(fileName,pathDelim); 00082 if (leftDelim) leftDelim++; 00083 else leftDelim=fileName; 00084 char *rightDelim=strrchr(leftDelim,'.'); 00085 if (rightDelim) *rightDelim='\0'; 00086 return leftDelim; 00087 } |
|
Definition at line 64 of file abkassert.cxx. References pathDelim.
00065 { 00066 const char *sp=fileName; 00067 const char *leftDelim=strchr(fileName,pathDelim); 00068 const char *rightDelim=strrchr(fileName,pathDelim); 00069 while(leftDelim!=rightDelim) 00070 { 00071 sp=++leftDelim; 00072 leftDelim=strchr(sp,pathDelim); 00073 } 00074 return sp; 00075 // static_cast<void>(pathDelimWindows); 00076 // static_cast<void>(pathDelimUnix); 00077 } |