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

Classes

class  Braces
 Command for outputting opening and closing (curly) braces. More...
 
struct  BracesOptions
 Options for the Braces command. More...
 
class  CommaList
 Command for outputting a list of items, comma-separated by default. More...
 
struct  CommaListOptions
 Options for the CommaList command. More...
 
class  Command
 Base class for commands. More...
 
class  CommentBlock
 Command for outputting comment blocks over multiple lines. More...
 
class  CommentLine
 Command for outputting a single-line comment. More...
 
class  CompareWriter
 Writes output to a path only when the written bytes differ from what was loaded on disk. More...
 
struct  CompareWriterConfig
 Configuration for the CompareWriter class. More...
 
class  ConfiguredWriter
 Base class implementation for writers. More...
 
class  ConsoleWriter
 Writes output to the console. More...
 
struct  ConsoleWriterConfig
 Configuration for the ConsoleWriter class. More...
 
class  DebugWriter
 Writes output to the console line-by-line. More...
 
struct  DebugWriterConfig
 Configuration for the DebugWriter class. More...
 
class  FeatureFlag
 Command for feature flags. More...
 
class  FileWriter
 Writes output to a target file using a file stream. More...
 
struct  FileWriterConfig
 Configuration for the FileWriter class. More...
 
class  Include
 Command for outputting an include statement for C++. More...
 
class  IncludeBlock
 Command for outputting a block of include statements. More...
 
struct  IncludeEntry
 Data for includes. More...
 
class  IncludeSet
 Collection of unique file system paths. More...
 
struct  IndentPop
 Command for decrementing the indentation level on the writer. More...
 
struct  IndentPush
 Command for incrementing the indentation level on the writer. More...
 
class  Label
 Command for outputting a label statement. More...
 
struct  NextLine
 Command for outtputing a new line chunk. More...
 
class  Scope
 Command for outputting a scope with braces. More...
 
struct  ScopeOptions
 Options for the Scope command. More...
 
class  StringWriter
 Writes output to a string. More...
 
struct  StringWriterConfig
 Configuration for the StringWriter class. More...
 
class  Writer
 Pure virtual interface for writers. More...
 
struct  WriterConfig
 Global configuration applied to writers. More...
 

Typedefs

using CommandBase = Command
 
using Config = WriterConfig
 
using WriterBase = Writer
 

Enumerations

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

Typedef Documentation

◆ CommandBase

using panini::CommandBase = typedef Command
Deprecated:
Prefer using Command instead

◆ Config

using panini::Config = typedef WriterConfig
Deprecated:
Prefer using WriterConfig instead.

◆ WriterBase

using panini::WriterBase = typedef Writer
Deprecated:
Prefer using Writer instead.