17 #ifndef VALUEDELTATYPE_HPP_ 
   18 #define VALUEDELTATYPE_HPP_ 
   41         : value_(data), type_(type) {}
 
   55     virtual std::string 
toString() 
const;
 
   68         case avro::AVRO_RECORD: {
 
   70             ss << configurationDelta->toString();
 
   73         case avro::AVRO_BOOL: {
 
   74             ss << std::boolalpha << boost::any_cast<bool>(value_);
 
   77         case avro::AVRO_INT: {
 
   78             ss << boost::any_cast<int32_t>(value_);
 
   81         case avro::AVRO_LONG: {
 
   82             ss << boost::any_cast<int64_t>(value_);
 
   85         case avro::AVRO_FLOAT: {
 
   86             ss << boost::any_cast<float>(value_);
 
   89         case avro::AVRO_DOUBLE: {
 
   90             ss << boost::any_cast<double>(value_);
 
   93         case avro::AVRO_STRING: {
 
   94             ss << 
"\"" << boost::any_cast<std::string>(value_) << 
"\"";
 
   97         case avro::AVRO_ENUM: {
 
   98             ss << boost::any_cast<std::string>(value_);
 
  101         case avro::AVRO_BYTES:
 
  102         case avro::AVRO_FIXED: {
 
  103             const std::vector<boost::uint8_t> buffer =
 
  104                     boost::any_cast<std::vector<boost::uint8_t> >(value_);
 
  106             for (
auto it = buffer.begin(); it != buffer.end();) {
 
  107                 ss << std::setw(2) << std::setfill(
'0') << std::hex << (int)*it << std::dec;
 
  108                 if (++it != buffer.end()) {
 
ValueDeltaType(const IDeltaType::DeltaValue &data, const avro::Type &type)
 
virtual std::string toString() const 
 
boost::shared_ptr< IConfigurationDelta > ConfigurationDeltaPtr
 
virtual const DeltaValue & getNewValue()