aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/vespa/document/datatype/numericdatatype.cpp
blob: 22a7c0f8d24fcff5ffda93ae42effcb02b1f2e98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "numericdatatype.h"
#include <ostream>

namespace document {

NumericDataType::NumericDataType(Type type)
    : PrimitiveDataType(type)
{
}

void NumericDataType::print(std::ostream& out, bool, const std::string&) const
{
    out << "NumericDataType(" << getName() << ", id " << getId() << ")";
}
}  // namespace document