15 #include "animationConvert.h"
17 #include "string_utils.h"
25 format_animation_convert(AnimationConvert convert) {
51 nout <<
"**unexpected AnimationConvert value: (" << (int)convert <<
")**";
60 operator << (ostream &out, AnimationConvert convert) {
61 return out << format_animation_convert(convert);
71 string_animation_convert(
const string &str) {
72 if (cmp_nocase(str,
"none") == 0) {
75 }
else if (cmp_nocase(str,
"pose") == 0) {
78 }
else if (cmp_nocase(str,
"flip") == 0) {
81 }
else if (cmp_nocase(str,
"strobe") == 0) {
84 }
else if (cmp_nocase(str,
"model") == 0) {
87 }
else if (cmp_nocase(str,
"chan") == 0) {
90 }
else if (cmp_nocase(str,
"both") == 0) {