00001 // SpecialValue.cpp 00002 00003 #include <sstream> 00004 00005 #include "SpecialValue.h" 00006 00007 using namespace Yosokumo; 00008 00009 00010 SpecialValue::SpecialValue(uint64_t value) : Value(SPECIAL, value) 00011 {} 00012 00013 uint64_t SpecialValue::getValue() const 00014 { 00015 return uint_value; 00016 } 00017 00018 std::string SpecialValue::toString() const 00019 { 00020 std::stringstream s; 00021 s << uint_value; 00022 return s.str(); 00023 } 00024 00025 // end SpecialValue.cpp