sisi4s
Loading...
Searching...
No Matches
sisi4s::Emitter Class Reference

Class with static members offering control over yaml emitting. Entries are emitted with the macro EMIT. More...

#include <Emitter.hpp>

Collaboration diagram for sisi4s::Emitter:

Static Public Member Functions

static void setRank (const int rank)
 
static int getRank ()
 
static YAML::Emitter & getEmitter ()
 
static void flush ()
 
static void setFileName (const std::string &)
 

Static Protected Attributes

static int rank
 
static std::string fileName
 
static std::shared_ptr< std::ofstream > yamlFile
 
static std::shared_ptr< YAML::Emitter > yamlEmitter
 

Detailed Description

Class with static members offering control over yaml emitting. Entries are emitted with the macro EMIT.

Member Function Documentation

◆ flush()

void Emitter::flush ( )
static

◆ getEmitter()

YAML::Emitter & Emitter::getEmitter ( )
static

◆ getRank()

int Emitter::getRank ( )
static

◆ setFileName()

void Emitter::setFileName ( const std::string &  name)
static
Here is the caller graph for this function:

◆ setRank()

void Emitter::setRank ( const int  rank)
static
Here is the caller graph for this function:

Member Data Documentation

◆ fileName

std::string Emitter::fileName
staticprotected

◆ rank

int Emitter::rank
staticprotected

◆ yamlEmitter

std::shared_ptr< YAML::Emitter > Emitter::yamlEmitter
staticprotected

◆ yamlFile

std::shared_ptr< std::ofstream > Emitter::yamlFile
staticprotected

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