mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Moved the scalar-related functions to their own file.
This commit is contained in:
20
scanscalar.h
Normal file
20
scanscalar.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user