enum MealType { "rice", "noodles", "other" };
interface Meal {
attribute [MealType] type;
attribute float size;
void initialize([MealType] type, float size);
};
enum MealType { "rice", "noodles", "other" };
"rice
"noodles
"other
interface Meal {
attribute [MealType] type;
attribute float size;
void initialize([MealType] type, float size);
};
attribute [MealType] type;
attribute float size;
void initialize([MealType] type, float size);