blob: d76575a31341a025239d15a768266f5b9d06594e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "configformatter.h"
namespace config {
/**
* Formatter capable of encoding config into old config format. Decoding is not
* supported.
*/
class FileConfigFormatter : public ConfigFormatter {
public:
// Inherits ConfigFormatter
void encode(ConfigDataBuffer & buffer) const override;
// Inherits ConfigFormatter
size_t decode(ConfigDataBuffer & buffer) const override;
};
} // namespace config
|