FlatOutput.H File Reference
Include dependency graph for FlatOutput.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OutputAdaptor< Container, Delimiters >
 An output adaptor with a write method and an Ostream operator. More...
 
struct  Decorators< OpenChar, CloseChar, SepChar >
 List decorators with open, close and separator characters. More...
 
struct  BareComma
 Surround with '\0' and '\0' separate with ','. More...
 
struct  BareSpace
 Surround with '\0' and '\0' separate with ' '. More...
 
struct  BraceComma
 Surround with '{' and '}' separate with ','. More...
 
struct  BraceSpace
 Surround with '{' and '}' separate with ' '. More...
 
struct  ParenComma
 Surround with '(' and ')' separate with ','. More...
 
struct  ParenSpace
 Surround with '(' and ')' separate with ' '. More...
 
struct  PointyComma
 Surround with '<' and '>' separate with ','. More...
 
struct  PointySpace
 Surround with '<' and '>' separate with ' '. More...
 
struct  SquareComma
 Surround with '[' and ']' separate with ','. More...
 
struct  SquareSpace
 Surround with '[' and ']' separate with ' '. More...
 
class  OutputAdaptor< Container, Delimiters >
 An output adaptor with a write method and an Ostream operator. More...
 

Namespaces

 Foam::FlatOutput
 Various output adaptors, principally to output a list of items on a single line.
 
 Foam
 Namespace for OpenFOAM.
 

Macros

#define makeDecorator(Name, Open, Close, Sep)
 

Functions

template<class Container , class Delimiters >
Ostream & operator<< (Ostream &os, const FlatOutput::OutputAdaptor< Container, Delimiters > &adaptor)
 
template<class Container , class Delimiters >
FlatOutput::OutputAdaptor< Container, Delimiters > flatOutput (const Container &obj, Delimiters delim)
 Global flatOutput() function with specified output delimiters. More...
 
template<class Container >
FlatOutput::OutputAdaptor< Container, FlatOutput::ParenSpace > flatOutput (const Container &obj)
 Global flatOutput() function with default (parenthesis/space) delimiters. More...
 

Detailed Description

Original source file FlatOutput.H

Definition in file FlatOutput.H.

Macro Definition Documentation

◆ makeDecorator

#define makeDecorator (   Name,
  Open,
  Close,
  Sep 
)
Value:
\
struct Name : public Decorators<Open, Close, Sep> {};

Definition at line 80 of file FlatOutput.H.