Public Member Functions | Public Attributes | List of all members
SprinterLayout Struct Reference

#include <Sprinter.h>

Inheritance diagram for SprinterLayout:
Inheritance graph
[legend]
Collaboration diagram for SprinterLayout:
Collaboration graph
[legend]

Public Member Functions

 SprinterLayout (const char *arrayChars="[,]", const char *mapChars="{,}", const char *pairChars="(,)", const char *stringChars=nullptr, const char *keyChars=nullptr, const char *mapPairChars=nullptr)
 
 SprinterLayout (const SprinterLayout &layout)
 
 SprinterLayout (char itemSeparator)
 

Public Attributes

TypeLayout arrayChars = TypeLayout("[,]")
 
TypeLayout mapChars = TypeLayout("{,}")
 
TypeLayout pairChars = TypeLayout("(,)")
 
TypeLayout stringChars = TypeLayout('"',0,'"')
 
TypeLayout keyChars = TypeLayout(0,0,0)
 
TypeLayout mapPairChars = TypeLayout(0,0,0)
 

Detailed Description

array,map,pair,string,key, mapPair

Consider printing a map structure
- as a map:  {key:value, key2:value2, ... }
- as a list or pairs: [(key,value), (key2,value2), ...]

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