PandA-2024.02
Functions | Variables
global_variables.cpp File Reference

global variables used by each tool More...

#include <cstdlib>
#include <iostream>
#include <string>
Include dependency graph for global_variables.cpp:

Go to the source code of this file.

Functions

std::ostream null_stream (nullptr)
 Mull stream. More...
 

Variables

int exit_code = EXIT_FAILURE
 NOTE: this file must be included only by source code of the executable (i.e., the file with the main) More...
 
size_t indentation = 0
 The current indentation for debug messages. More...
 
std::string panda_message
 The current message to be printed. More...
 
bool error_on_warning = false
 Transform warning into errors. More...
 

Detailed Description

global variables used by each tool

Author
Marco Lattuada lattu.nosp@m.ada@.nosp@m.elet..nosp@m.poli.nosp@m.mi.it $Date$ Last modified by $Author$

Definition in file global_variables.cpp.

Function Documentation

◆ null_stream()

std::ostream null_stream ( nullptr  )

Mull stream.

Variable Documentation

◆ error_on_warning

bool error_on_warning = false

Transform warning into errors.

Definition at line 63 of file global_variables.cpp.

Referenced by Parameter::ManageDefaultOptions().

◆ exit_code

int exit_code = EXIT_FAILURE

NOTE: this file must be included only by source code of the executable (i.e., the file with the main)

Autoheader include.

utility include

STD include Exit code

Definition at line 51 of file global_variables.cpp.

Referenced by tree_panda_gcc_parameter::Exec(), SpiderParameter::Exec(), EucalyptusParameter::Exec(), BambuParameter::Exec(), XmlFlexLexer::LexerError(), main(), ParseTreeFile(), and throw_error().

◆ indentation

size_t indentation = 0

The current indentation for debug messages.

In global_variables.hpp.

Definition at line 54 of file global_variables.cpp.

Referenced by DesignFlowManager::Exec(), operator<<(), IndentedOutputStream::~IndentedOutputStream(), and simple_indent::~simple_indent().

◆ panda_message

std::string panda_message

The current message to be printed.

This is the message to be printed.

Definition at line 60 of file global_variables.cpp.


Generated on Mon Feb 12 2024 13:03:22 for PandA-2024.02 by doxygen 1.8.13