aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/vespa/document/fieldvalue/numericfieldvalue.cpp
blob: 6247e815d7328193fd9c71bcac7ea320499fcbc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "numericfieldvalue.h"
#include "numericfieldvalue.hpp"
#include <vespa/vespalib/util/xmlstream.h>

namespace document {

void
NumericFieldValueBase::printXml(XmlOutputStream& out) const
{
    out << vespalib::xml::XmlContent(getAsString());
}

template class NumericFieldValue<float>;
template class NumericFieldValue<double>;
template class NumericFieldValue<int8_t>;
template class NumericFieldValue<int16_t>;
template class NumericFieldValue<int32_t>;
template class NumericFieldValue<int64_t>;

} // document