Panini 1.4.0
Header-only library for generating C++, written in C++17
panini::BracesOptions Struct Reference

Options for the Braces command. More...

#include <BracesOptions.hpp>

Inheritance diagram for panini::BracesOptions:
panini::ScopeOptions

Public Attributes

BraceBreakingStyle breakingStyle = BraceBreakingStyle::Inherit
 
std::string chunkBraceOpen = "{"
 
std::string chunkBraceClose = "}"
 

Detailed Description

Options for the Braces command.

Member Data Documentation

◆ breakingStyle

BraceBreakingStyle panini::BracesOptions::breakingStyle = BraceBreakingStyle::Inherit

Brace breaking style to use for the command.

When this parameter is set to BraceBreakingStyle::Inherit, the brace breaking style is copied from the active writer.

◆ chunkBraceClose

std::string panini::BracesOptions::chunkBraceClose = "}"

Chunk inserted to close the scope.

◆ chunkBraceOpen

std::string panini::BracesOptions::chunkBraceOpen = "{"

Chunk inserted to open the scope.


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