00001 // /////////////////////////////////////////////////////////////////////////// 00002 // xrb_transformation.cpp by Victor Dods, created 2006/01/20 00003 // /////////////////////////////////////////////////////////////////////////// 00004 // Unless a different license was explicitly granted in writing by the 00005 // copyright holder (Victor Dods), this software is freely distributable under 00006 // the terms of the GNU General Public License, version 2. Any works deriving 00007 // from this work must also be released under the GNU GPL. See the included 00008 // file LICENSE for details. 00009 // /////////////////////////////////////////////////////////////////////////// 00010 00011 #include "xrb_transformation.hpp" 00012 00013 #include "xrb_util.hpp" 00014 00015 namespace Xrb 00016 { 00017 00018 bool Transformation::BooleanNegation (bool value) 00019 { 00020 return !value; 00021 } 00022 00023 std::string Transformation::Lowercase (std::string value) 00024 { 00025 Util::MakeLowercase(&value); 00026 return value; 00027 } 00028 00029 std::string Transformation::Uppercase (std::string value) 00030 { 00031 Util::MakeUppercase(&value); 00032 return value; 00033 } 00034 00035 } // end of namespace Xrb