blob: 02f9e38eb7940ba7531e5c7c3e958627ca76b358 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Yahoo. 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;
};
}
|