mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
21 lines
379 B
C++
21 lines
379 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace YAML
|
|
{
|
|
struct WhitespaceInfo {
|
|
WhitespaceInfo();
|
|
|
|
void SetChompers(char ch);
|
|
void AddBlank(char ch);
|
|
void AddBreak(const std::string& line);
|
|
std::string Join(bool lastline = false);
|
|
|
|
bool leadingBlanks;
|
|
bool fold;
|
|
std::string whitespace, leadingBreaks, trailingBreaks;
|
|
int chomp, increment;
|
|
};
|
|
}
|