Moved the scalar-related functions to their own file.

This commit is contained in:
Jesse Beder
2008-06-29 03:11:25 +00:00
parent d076252dff
commit 6c193d6fbd
7 changed files with 378 additions and 352 deletions

20
scanscalar.h Normal file
View 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;
};
}