#include "asciintmap.h" #include #include "TString.h" #include "iostream.h" AsciiIntMap::AsciiIntMap(void *map, int size) { mapPointer = map; mapSize = size; } AsciiIntMap::~AsciiIntMap(void) { } int AsciiIntMap::search(char *name) { TString *tmp; for(int i=0;iToUpper(); if(!strncmp((char*)tmp->Data(),name,strlen(name))) return ((mapMember*)mapPointer)[i].value; delete tmp; } cout << "+++ ERROR string " << name << " not found in list!"<< endl; return -1; }