PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::Node::Format Struct Reference

Formatting options for YAML serialization. More...

#include <Node.hpp>

Public Member Functions

constexpr Format (int8_t s, char nl, char spc, bool inlineArr)
 
std::string GetIndentation (int8_t indentLevel) const
 

Public Attributes

int8_t spacesPerIndent
 Number of spaces per indent level.
 
char newLine
 New line character.
 
char space
 Space character.
 
bool inlineArrays
 Flag to inline arrays.
 

Static Public Attributes

static const Format Beautified { 2, '\n', ' ', true }
 Predefined beautified format.
 
static const Format Minified { 0, '\0', '\0', false }
 Predefined minified format.
 

Detailed Description

Formatting options for YAML serialization.

Member Data Documentation

◆ Beautified

const Node::Format PixelBullet::Node::Format::Beautified { 2, '\n', ' ', true }
static

Predefined beautified format.

◆ inlineArrays

bool PixelBullet::Node::Format::inlineArrays

Flag to inline arrays.

◆ Minified

const Node::Format PixelBullet::Node::Format::Minified { 0, '\0', '\0', false }
static

Predefined minified format.

◆ newLine

char PixelBullet::Node::Format::newLine

New line character.

◆ space

char PixelBullet::Node::Format::space

Space character.

◆ spacesPerIndent

int8_t PixelBullet::Node::Format::spacesPerIndent

Number of spaces per indent level.


The documentation for this struct was generated from the following files: