blob: 5b3a852816fae2bf2e4cdd528a74f5f567ef7775 (
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.
#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
|