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

int Impala::Util::PropertySet::Add ( const std::string &  name,
const std::string &  value 
) [inline]

returns the index of the property

Definition at line 99 of file PropertySet.h.

References mNames, and mValues.

00100     {
00101         int i;
00102         for(i=0 ; i<mNames.size() ; ++i)
00103             if(mNames[i] == name)
00104             {
00105                 mValues[i] = value;
00106                 return i;
00107             }
00108         mNames.push_back(name);
00109         mValues.push_back(value);
00110         return i;
00111     }


Generated on Fri Mar 19 11:41:08 2010 for ImpalaSrc by  doxygen 1.5.1