aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/queryeval/split_float.h
blob: e8a218cee30e0f8ae0cc9346122a718f209156e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
// $Id$

#pragma once

#include <vector>
#include <vespa/vespalib/stllike/string.h>

namespace search::queryeval {

class SplitFloat
{
private:
    std::vector<vespalib::string> _parts;
public:
    SplitFloat(const vespalib::string &input);
    size_t parts() const { return _parts.size(); }
    const vespalib::string &getPart(size_t i) const { return _parts[i]; }
};

}