EncodedBlock() : DataBlock(true), a_chunk(true), a_expectedSize(-1), a_type(Type::None) {;}
- Type::_v getType() const throw() { return a_type; }
- bool isValid() const throw() { return a_type != Type::None; }
+ Type::_v getType() const { return a_type; }
+ bool isValid() const { return a_type != Type::None; }
- void setType(const Type::_v type) throw() { a_type = type; }
- void setExpectedSize(const int expectedSize) throw() { a_expectedSize = expectedSize; }
+ void setType(const Type::_v type) { a_type = type; }
+ void setExpectedSize(const int expectedSize) { a_expectedSize = expectedSize; }
void clear() { DataBlock::clear(); a_expectedSize = -1; a_chunk.clear(); a_type = Type::None; }
- State::_v append(const DataBlock& chunk) throw();
+ State::_v append(const DataBlock& chunk) ;
private:
Type::_v a_type;