Definition at line 250 of file String.h. Referenced by Impala::Persistency::FileSystem::DoDeleteDir(), FileNameConcat(), and Impala::Persistency::ImageSetsRepository::GetMapName(). 00251 { 00252 if (sub.size() > src.size()) 00253 return false; 00254 return src.compare(src.size() - sub.size(), sub.size(), sub) == 0; 00255 }
|