Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

traceString.h

00001 #ifndef TRACESTRING_H
00002 #define TRACESTRING_H
00003 
00004 #include <map>
00005 #include <string>
00006 #ifndef STRCMP
00007   #define STRCMP(a,test,b) (strcmp((a),(b)) test 0)
00008 #endif
00009 #define COPY_STRING(dest, src)                                             \
00010    do {                                                                    \
00011          int len_ = strlen(src);                                           \
00012          dest     = new char[len_+1];                                      \
00013          memcpy(dest,src,len_+1);                                          \
00014       }                                                                    \
00015    while(0)
00016 
00017 void errMsg(const char* format, ...);
00018 
00019 void warnMsg(const char* format, ...);
00020 
00021 void printVersion();
00022 
00023 
00024 typedef std::map< std::string, std::string > Tbl;
00025 
00026 #endif  //TRACESTRING_H
00027 



Project Hosted By:
SourceForge.net Logo