blob: 35ac0aa336664fb9f1b36cd9210c6098a7a40efc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/document/serialization/fieldwriter.h>
namespace document {
class DocumentId;
class DocumentType;
class DocumentWriter : public FieldWriter {
public:
virtual void write(const Document &value) = 0;
virtual void write(const DocumentId &value) = 0;
virtual void write(const DocumentType &value) = 0;
};
}
|