ultimatepp/uppdev/MyDbase/dbRecord.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

10 lines
203 B
C++

#include "dbase.h"
Value& dbRecord::operator() (const String &field) {
int q = record.Find(field);
if(q < 0) {
Value v;
return record.GetAdd(field, v);
}
else return GetValue(q);
}