Panini 1.4.0
Header-only library for generating C++, written in C++17
Globals

Macros

#define PANINI_VERSION_MAJOR   1
 
#define PANINI_VERSION_MINOR   4
 
#define PANINI_VERSION_PATCH   0
 
#define PANINI_VERSION_STR   "1.4.0"
 

Enumerations

enum class  panini::BraceBreakingStyle { panini::BraceBreakingStyle::Inherit , panini::BraceBreakingStyle::Attach , panini::BraceBreakingStyle::Allman , panini::BraceBreakingStyle::Whitesmiths }
 Brace breaking style to use when writing to output. More...
 
enum class  panini::IncludeStyle { panini::IncludeStyle::Inherit , panini::IncludeStyle::DoubleQuotes , panini::IncludeStyle::SingleQuotes , panini::IncludeStyle::AngularBrackets }
 Include style to use when writing to output. More...
 

Detailed Description

Macro Definition Documentation

◆ PANINI_VERSION_MAJOR

#define PANINI_VERSION_MAJOR   1

Major version number for the library.

This number indicates that the library changed in an incompatible way with your existing code.

For example, code built using Panini 1.x.x will not be compatible with version 2.x.x and will have to be rewritten.

◆ PANINI_VERSION_MINOR

#define PANINI_VERSION_MINOR   4

Minor version number for the library.

Changes to this number might introduce new features, but they should be compatible with existing code.

For example, it should be safe to upgrade from Panini 1.1.x to 1.2.x, although you might have to make some changes to your code.

◆ PANINI_VERSION_PATCH

#define PANINI_VERSION_PATCH   0

Patch version number for the library.

Changes to this number strictly indicate bug fixes and other clean ups that are always safe to integrate in your code.

For example, you can safely upgrade from Panini 1.2.12 to 1.2.25 without having to make changes to your code.

◆ PANINI_VERSION_STR

#define PANINI_VERSION_STR   "1.4.0"

Complete version number for the library, as a string.

Enumeration Type Documentation

◆ BraceBreakingStyle

enum class panini::BraceBreakingStyle
strong

Brace breaking style to use when writing to output.

Enumerator
Inherit 

Inherit setting from the config, not valid on Writer.

Attach 

Open brace on the same line.

Allman 

New line before brace open.

Whitesmiths 

New line and indent before brace open and brace close.

◆ IncludeStyle

enum class panini::IncludeStyle
strong

Include style to use when writing to output.

Enumerator
Inherit 

Inherit setting from the config, not valid on Writer.

DoubleQuotes 

Output double quotation marks "".

SingleQuotes 

Output single quotation marks '' (not valid for C++)

AngularBrackets 

Output angular brackets <>