78 typedef std::string* EvtStringPtr;
81 std::string** newstrings=
new EvtStringPtr[_entries[ihash]+1];
82 T** newdata=
new TPtr[_entries[ihash]+1];
86 for(i=0;i<_entries[ihash];i++){
87 newstrings[i]=_strings[ihash][i];
88 newdata[i]=_data[ihash][i];
91 newstrings[_entries[ihash]]=
new std::string;
92 *(newstrings[_entries[ihash]])=str;
93 newdata[_entries[ihash]]=
data;
96 if(_entries[ihash]!=0){
97 delete [] _strings[ihash];
98 delete [] _data[ihash];
103 _strings[ihash]=newstrings;
104 _data[ihash]=newdata;