Panda3D
pandatool
src
palettizer
omitReason.cxx
1
// Filename: omitReason.cxx
2
// Created by: drose (02Dec00)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#include "omitReason.h"
16
17
ostream &
18
operator << (ostream &out, OmitReason omit) {
19
switch
(omit) {
20
case
OR_none:
21
return
out <<
"none"
;
22
23
case
OR_working:
24
return
out <<
"working"
;
25
26
case
OR_omitted:
27
return
out <<
"omitted"
;
28
29
case
OR_size:
30
return
out <<
"size"
;
31
32
case
OR_solitary:
33
return
out <<
"solitary"
;
34
35
case
OR_coverage:
36
return
out <<
"coverage"
;
37
38
case
OR_unknown:
39
return
out <<
"unknown"
;
40
41
case
OR_unused:
42
return
out <<
"unused"
;
43
44
case
OR_default_omit:
45
return
out <<
"default_omit"
;
46
}
47
48
return
out <<
"**invalid**("
<< (int)omit <<
")"
;
49
}
Generated on Wed May 17 2017 23:48:53 for Panda3D by
1.8.13