Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

abkassert.cxx File Reference

#include <stdio.h>
#include "abkassert.h"
#include "abkstring.h"
#include "pathDelims.h"

Include dependency graph for abkassert.cxx:

Include dependency graph

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)


Function Documentation

void abkassert_stop_here  ) 
 

Definition at line 59 of file abkassert.cxx.

00059 {}

void abkfatal_stop_here  ) 
 

Definition at line 61 of file abkassert.cxx.

00061 {}

void abkguess_stop_here  ) 
 

Definition at line 60 of file abkassert.cxx.

00060 {}

void abkwarn_stop_here  ) 
 

Definition at line 62 of file abkassert.cxx.

00062 {}

char* BaseFileName char *  fileName  ) 
 

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 }

const char* SgnPartOfFileName const char *  fileName  ) 
 

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 }


Generated on Mon Apr 25 01:09:27 2005 for Parquete by doxygen 1.3.2