text: /**
   * Autogenerated by Thrift Compiler (0.12.0)
   *
   * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
   *  @generated
   */
  #ifndef block_registration_service_TYPES_TCC
  #define block_registration_service_TYPES_TCC
  
  #include "block_registration_service_types.h"
  
  namespace jiffy { namespace directory {
  
  template <class Protocol_>
  uint32_t block_registration_service_exception::read(Protocol_* iprot) {
  
    ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
    uint32_t xfer = 0;
    std::string fname;
    ::apache::thrift::protocol::TType ftype;
    int16_t fid;
  
    xfer += iprot->readStructBegin(fname);
  
    using ::apache::thrift::protocol::TProtocolException;
  
  
    while (true)
    {
      xfer += iprot->readFieldBegin(fname, ftype, fid);
      if (ftype == ::apache::thrift::protocol::T_STOP) {
        break;
      }
      switch (fid)
      {
        case 1:
          if (ftype == ::apache::thrift::protocol::T_STRING) {
            xfer += iprot->readString(this->msg);
            this->__isset.msg = true;
          } else {
            xfer += iprot->skip(ftype);
          }
          break;
        default:
          xfer += iprot->skip(ftype);
          break;
      }
      xfer += iprot->readFieldEnd();
    }
  
    xfer += iprot->readStructEnd();
  
    return xfer;
  }
  
  template <class Protocol_>
  uint32_t block_registration_service_exception::write(Protocol_* oprot) const {
    uint32_t xfer = 0;
    ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
    xfer += oprot->writeStructBegin("block_registration_service_exception");
  
    xfer += oprot->writeFieldBegin("msg", ::apache::thrift::protocol::T_STRING, 1);
    xfer += oprot->writeString(this->msg);
    xfer += oprot->writeFieldEnd();
  
    xfer += oprot->writeFieldStop();
    xfer += oprot->writeStructEnd();
    return xfer;
  }
  
  }} // namespace
  
  #endif
  