A class of Cnidaria that includes the stony corals, soft corals, sea anemones, gorgonians, and corallimorpharians.