aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/vespa/document/serialization/documentreader.h
blob: 0e6d6671c4357b12ffdc4242315abe35b6c0e9b7 (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/fieldreader.h>

namespace document {
class DocumentId;
class DocumentType;

class DocumentReader : public FieldReader {
public:
    virtual void read(Document &value) = 0;
    virtual void read(DocumentId &value) = 0;
    virtual void read(DocumentType &value) = 0;
};

}