The consensus seems to be that a ceiling box is an outlet as defined in the code. So is a receptacle, smoke detector etc. because they are "a point on the wiring system at which current is taken to supply utilization equipment"-NEC 2002 Art. 100-Outlets. Thus a box containing just a switch would not be an outlet because it is only for control, not utilization.