A piping class is a kit of parts
A piping class – often called a pipe spec – defines, for a bounded range of service conditions (certain fluids, a pressure and temperature range), the components from which a line may be built. The designer assigns a class to every line; all pipes, fittings, flanges and valves of that line then come from this kit.
The benefit lies in repetition. Wall thicknesses and materials are verified once instead of for every line. Procurement, stores and prefabrication work with a limited, known range, and a CAD system can offer the permitted components for each line by itself.