Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/egg-palettize/omitReason.cxx

Go to the documentation of this file.
00001 // Filename: omitReason.cxx
00002 // Created by:  drose (02Dec00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "omitReason.h"
00020 
00021 ostream &
00022 operator << (ostream &out, OmitReason omit) {
00023   switch (omit) {
00024   case OR_none:
00025     return out << "none";
00026 
00027   case OR_working:
00028     return out << "working";
00029 
00030   case OR_omitted:
00031     return out << "omitted";
00032 
00033   case OR_size:
00034     return out << "size";
00035 
00036   case OR_solitary:
00037     return out << "solitary";
00038 
00039   case OR_coverage:
00040     return out << "coverage";
00041 
00042   case OR_unknown:
00043     return out << "unknown";
00044   }
00045 
00046   return out << "**invalid**(" << (int)omit << ")";
00047 }

Generated on Fri May 2 03:17:42 2003 for Panda-Tool by doxygen1.3