reset method

void reset()

Implementation

void reset() {
  _objectMap.clear();
  nextId = 0;
  writer.reset();
}