isSet method
Check if a field is currently set or unset, using the fieldId
.
Implementation
bool isSet(int fieldID) {
switch (fieldID) {
case NVAL:
return isSetNVal();
case BVAL:
return isSetBVal();
case IVAL:
return isSetIVal();
case FVAL:
return isSetFVal();
case SVAL:
return isSetSVal();
case DVAL:
return isSetDVal();
case TVAL:
return isSetTVal();
case DTVAL:
return isSetDtVal();
case VVAL:
return isSetVVal();
case EVAL:
return isSetEVal();
case PVAL:
return isSetPVal();
case LVAL:
return isSetLVal();
case MVAL:
return isSetMVal();
case UVAL:
return isSetUVal();
case GVAL:
return isSetGVal();
case GGVAL:
return isSetGgVal();
case DUVAL:
return isSetDuVal();
default:
throw new ArgumentError("Field $fieldID doesn't exist!");
}
}