aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/common/types.h
blob: 7bec2666db785875f0fe51ea2531fd2bed7a382e (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.
#pragma once

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

namespace config {

using StringVector = std::vector<vespalib::string, vespalib::allocator_large<vespalib::string>>;
using BoolVector = std::vector<bool>;
using DoubleVector = std::vector<double>;
using LongVector = std::vector<int64_t>;
using IntVector = std::vector<int32_t>;
using StringMap = std::map<vespalib::string, vespalib::string>;
using BoolMap = std::map<vespalib::string, bool>;
using DoubleMap = std::map<vespalib::string, double>;
using LongMap = std::map<vespalib::string, int64_t>;
using IntMap = std::map<vespalib::string, int32_t>;

}