caseFileConfiguration Class Reference

Base class for writing case files. More...

Inheritance diagram for caseFileConfiguration:
Collaboration diagram for caseFileConfiguration:

Public Member Functions

 caseFileConfiguration (const fileName &name, const fileName &dir, const Time &time)
 Construct from components. More...
 
 caseFileConfiguration (const caseFileConfiguration &)=delete
 Disallow default bitwise copy construction. More...
 
 ~caseFileConfiguration ()
 Destructor. More...
 
void operator= (const caseFileConfiguration &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

void beginDict (OFstream &os)
 Output stream to begin a new dictionary without name. More...
 
void beginDict (OFstream &os, const word &name)
 Output stream to begin a new dictionary with name. More...
 
void endDict (OFstream &os, bool newline=true)
 Output stream to end a dictionary. More...
 
void beginList (OFstream &os)
 Output stream to begin a new list without name. More...
 
void beginList (OFstream &os, const word &name)
 Output stream to begin a new list with name. More...
 
void endList (OFstream &os, bool newline=true)
 Output stream to end a list. More...
 

Protected Attributes

IOobject dict_
 IOobject to write file headers. More...
 
OFstream os_
 Output file stream to write file content. More...
 

Detailed Description

Base class for writing case files.

Source files

Definition at line 49 of file caseFileConfiguration.H.

Constructor & Destructor Documentation

◆ caseFileConfiguration() [1/2]

caseFileConfiguration ( const fileName name,
const fileName dir,
const Time time 
)

Construct from components.

◆ caseFileConfiguration() [2/2]

Disallow default bitwise copy construction.

◆ ~caseFileConfiguration()

Destructor.

Member Function Documentation

◆ beginDict() [1/2]

void beginDict ( OFstream os)
protected

Output stream to begin a new dictionary without name.

◆ beginDict() [2/2]

void beginDict ( OFstream os,
const word name 
)
protected

Output stream to begin a new dictionary with name.

◆ endDict()

void endDict ( OFstream os,
bool  newline = true 
)
protected

Output stream to end a dictionary.

◆ beginList() [1/2]

void beginList ( OFstream os)
protected

Output stream to begin a new list without name.

◆ beginList() [2/2]

void beginList ( OFstream os,
const word name 
)
protected

Output stream to begin a new list with name.

◆ endList()

void endList ( OFstream os,
bool  newline = true 
)
protected

Output stream to end a list.

◆ operator=()

void operator= ( const caseFileConfiguration )
delete

Disallow default bitwise assignment.

Member Data Documentation

◆ dict_

IOobject dict_
protected

IOobject to write file headers.

Definition at line 57 of file caseFileConfiguration.H.

◆ os_

OFstream os_
protected

Output file stream to write file content.

Definition at line 60 of file caseFileConfiguration.H.


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