We present an equivalence theorem, which includes all known characterizations of the class B p , i.e., the weight class of Ariño and Muckenhoupt, and also some new equivalent characterizations. We also give equivalent characterizations for the classes B p *, B ∞ * and RB p , and prove and apply a "gluing lemma" of independent interest.