rem: case AHIA_Buffer_SampleType: AHIClassData->sample_type = tag->ti_Data; break;  case AHIA_Buffer_SampleFreqInt: AHIClassData->sample_freq_int = tag->ti_Data; break;  case AHIA_Buffer_SampleFreqFract: AHIClassData->sample_freq_fract = tag->ti_Data; break;  case AHIA_Buffer_Capacity: AHIClassData->capacity = tag->ti_Data; break;
context: MethodUpdate(Class* class, Object* object, struct opUpdate* msg){  struct AHIClassBase* AHIClassBase = (struct AHIClassBase*) class->cl_UserData;  struct AHIClassData* AHIClassData = (struct AHIClassData*) INST_DATA(class, object);  struct TagItem* tstate = msg->opu_AttrList;  struct TagItem* tag;  while ((tag = NextTagItem(&tstate))) {    switch (tag->ti_Tag) {      case AHIA_Buffer_SampleType:	AHIClassData->sample_type = tag->ti_Data;	break;      case AHIA_Buffer_SampleFreqInt:	AHIClassData->sample_freq_int = tag->ti_Data;	break;      case AHIA_Buffer_SampleFreqFract:	AHIClassData->sample_freq_fract = tag->ti_Data;	break;	      case AHIA_Buffer_Capacity:	AHIClassData->capacity = tag->ti_Data;	break;      case AHIA_Buffer_Length:	AHIClassData->length = tag->ti_Data;	NotifySuper(class, object, msg, tag->ti_Tag, tag->ti_Data);	break;      case AHIA_Buffer_TimestampHigh:	AHIClassData->timestamp_hi = tag->ti_Data;	break;      case AHIA_Buffer_TimestampLow:	AHIClassData->timestamp_lo = tag->ti_Data;	break;	      case AHIA_Buffer_AgeHigh:	AHIClassData->age_hi = tag->ti_Data;	break;      case AHIA_Buffer_AgeLow:	AHIClassData->age_lo = tag->ti_Data;	break;      default:	KPrintF("Unknown NEW/SET attribute in " _AHI_CLASS_NAME ": %08lx, %08lx\n",		tag->ti_Tag, tag->ti_Data);	break;    }  }  return 0;}