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

pathDelims.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define pathDelim   pathDelimUnix
#define _abk_cpd   convertPathDelimsToUnix

Functions

char * convertPathDelimsToWindows (char *)
char * convertPathDelimsToUnix (char *)

Variables

const char pathDelimWindows = '\\'
 author="Igor Markov, July 31, 1997"

const char pathDelimUnix = '/'


Define Documentation

#define _abk_cpd   convertPathDelimsToUnix
 

Definition at line 54 of file pathDelims.h.

#define pathDelim   pathDelimUnix
 

Definition at line 53 of file pathDelims.h.

Referenced by BaseFileName(), and SgnPartOfFileName().


Function Documentation

char* convertPathDelimsToUnix char *   ) 
 

Definition at line 55 of file pathDelims.cxx.

References pathDelimUnix, and pathDelimWindows.

00056 {
00057     if (fileName==NULL) return NULL;
00058     unsigned i, len=strlen(fileName);
00059     for(i=0;i<len;i++)
00060         if (fileName[i]==pathDelimWindows) fileName[i]=pathDelimUnix;
00061         return fileName;
00062 }

char* convertPathDelimsToWindows char *   ) 
 

Definition at line 46 of file pathDelims.cxx.

References pathDelimUnix, and pathDelimWindows.

00047 {
00048     if (fileName==NULL) return NULL;
00049     unsigned i, len=strlen(fileName);
00050     for(i=0;i<len;i++)
00051         if (fileName[i]==pathDelimUnix) fileName[i]=pathDelimWindows;
00052         return fileName;
00053 }


Variable Documentation

const char pathDelimUnix = '/'
 

Definition at line 47 of file pathDelims.h.

Referenced by convertPathDelimsToUnix(), and convertPathDelimsToWindows().

const char pathDelimWindows = '\\'
 

author="Igor Markov, July 31, 1997"

Definition at line 46 of file pathDelims.h.

Referenced by convertPathDelimsToUnix(), and convertPathDelimsToWindows().


Generated on Mon Apr 25 01:12:08 2005 for Parquete by doxygen 1.3.2