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

int Impala::Util::PropertySet::Add ( CString  name,
CString  value 
) [inline]

returns the index of the property

Definition at line 123 of file PropertySet.h.

References mNames, and mValues.

00124     {
00125         int i;
00126         for (i=0 ; i<mNames.size() ; i++)
00127         {
00128             if (mNames[i] == name)
00129             {
00130                 mValues[i] = value;
00131                 return i;
00132             }
00133         }
00134         mNames.push_back(name);
00135         mValues.push_back(value);
00136         return i;
00137     }


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