File: pbf_builder.hpp

package info (click to toggle)
tilemaker 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 78,284 kB
  • sloc: cpp: 28,715; ansic: 4,052; makefile: 180; ruby: 77; sh: 6
file content (32 lines) | stat: -rw-r--r-- 801 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef PROTOZERO_PBF_BUILDER_HPP
#define PROTOZERO_PBF_BUILDER_HPP

/*****************************************************************************

protozero - Minimalistic protocol buffer decoder and encoder in C++.

This file is from https://github.com/mapbox/protozero where you can find more
documentation.

*****************************************************************************/

/**
 * @file pbf_builder.hpp
 *
 * @brief Contains the pbf_builder template class.
 */

#include "basic_pbf_builder.hpp"
#include "pbf_writer.hpp"

#include <string>

namespace protozero {

/// Specialization of basic_pbf_builder using std::string as buffer type.
template <typename T>
using pbf_builder = basic_pbf_builder<std::string, T>;

} // end namespace protozero

#endif // PROTOZERO_PBF_BUILDER_HPP