aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/vespa/document/datatype/numericdatatype.cpp
blob: 9c033f239f7e6a28472adfb14c4222fda70ba126 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. 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