named enum for ClassFlags and StructFlags