Formatting options for YAML serialization.
More...
#include <node.h>
|
|
constexpr | Format (int s, char nl, char spc, bool inline_arr) |
|
std::string | indentation (const int indent_level) const |
|
| static const Format | authoring { 2, '\n', ' ', true } |
| | Predefined canonical format for authored YAML assets.
|
| static const Format | beautified { 2, '\n', ' ', true } |
| | Predefined beautified format.
|
| static const Format | minified { 0, '\0', ' ', false } |
| | Predefined minified format.
|
Formatting options for YAML serialization.
◆ authoring
| const Node::Format pixelbullet::Node::Format::authoring { 2, '\n', ' ', true } |
|
static |
Predefined canonical format for authored YAML assets.
◆ beautified
| const Node::Format pixelbullet::Node::Format::beautified { 2, '\n', ' ', true } |
|
static |
Predefined beautified format.
◆ inline_arrays
| bool pixelbullet::Node::Format::inline_arrays |
◆ minified
| const Node::Format pixelbullet::Node::Format::minified { 0, '\0', ' ', false } |
|
static |
Predefined minified format.
◆ new_line
| char pixelbullet::Node::Format::new_line |
◆ space
| char pixelbullet::Node::Format::space |
◆ spaces_per_indent
| int pixelbullet::Node::Format::spaces_per_indent |
Number of spaces per indent level.
The documentation for this struct was generated from the following files:
- engine/include/pixelbullet/serialization/node.h
- engine/src/serialization/node.cc