Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

String Impala::StringSplit ( String s,
char  delim = ' ' 
) [inline]

Definition at line 279 of file String.h.

Referenced by Impala::Core::Feature::InterestPointFeature::ProjectLLC().

00280 {
00281     String result;
00282     String::size_type pos = s.find(delim);
00283     if(pos == String::npos)
00284     {
00285         result = s;
00286         s = "";
00287         return result;
00288     }
00289     result = s.substr(0, pos);
00290     s = s.substr(pos+1, s.size());
00291     return result;
00292 }


Generated on Thu Jan 13 09:13:56 2011 for ImpalaSrc by  doxygen 1.5.1