#include <QtDebug>
Go to the source code of this file.
Defines | |
#define | __func__ "<unknown>" |
#define | CURRENT_FUNCTION_NAME __func__ |
#define | DBGLOG(x) DBGLOG_("EDITOR", x) |
General debugging macro. | |
#define | DBGLOG_(id, x) DBGLOG_PURE("<"id">\t" << CURRENT_FUNCTION_NAME << "->" << x) |
Debugging macros with identifiers printed first (eg. define user macro define DBGLOG_MODULE(x) DBGLOG("MODULE", x). | |
#define | DBGLOG_PURE(x) do { qDebug() << x; } while(false) |
Debug logging macros - define own macros for granulating log messages. | |
#define | DBGPAR(PAR) #PAR << "=" << PAR << " " |
for easily parameters logging | |
#define | RELLOG(x) RELLOG_("EDITOR", x) |
#define | RELLOG_(id, x) RELLOG_PURE("<"id">\t" << "->" << x) |
#define | RELLOG_PURE(x) do { qWarning() << x; } while(false) |
release messages (used qWarning, so make sure that QT_NO_WARNING_OUTPUT isn't defined) | |
#define | STRNUMB(x) STRNUMB_HELP(x) |
#define | STRNUMB_HELP(x) #x |
#define DBGLOG | ( | x | ) | DBGLOG_("EDITOR", x) |
General debugging macro.
Definition at line 40 of file dbglog.h.
Referenced by Editor::addGraphVizDrawAlgorithm(), TransitionVArc::adjust(), AutomataWorkSimulator::AutomataWorkSimulator(), MainWindow::closeEvent(), StringProcessor::computeCharacterList(), Editor::Editor(), Editor::editTransition(), MainWindow::exportTo(), Editor::exportToEPS(), Transition::findIntersectedPoints(), Editor::generateGraph(), AutomataWorkSimulator::generateSlideshow(), LoadAutomataDialog::getAlphabet(), LoadAutomataDialog::getAlphabetSymbol(), Editor::getAutomaton(), LoadAutomataDialog::getEpsilonSymbol(), Editor::getExpandedGridRect(), Editor::isPastePossible(), LabelSyntaxChecker::LabelSyntaxChecker(), MainWindow::loadPlugins(), MainWindow::MainWindow(), NameAcceptDialog::myAccept(), LoadAutomataDialog::myAccept(), MainWindow::openFile(), Editor::openFile(), MainWindow::processAlgorithmsPlugin(), MainWindow::processGraphVizPlugin(), Editor::runAlgorithm(), MainWindow::save(), MainWindow::saveAs(), AutomataWorkSimulator::saveInputState(), NextLabelsDialog::selectionChanged(), Editor::setFileName(), TransitionDialog::setTrOrientation(), Editor::slotAlignToGrid(), Editor::switchAntialiasing(), AutomataWorkSimulator::~AutomataWorkSimulator(), Editor::~Editor(), LabelX::~LabelX(), SimulationDialog::~SimulationDialog(), State::~State(), Transition::~Transition(), TransitionArc::~TransitionArc(), TransitionLine::~TransitionLine(), TransitionLoop::~TransitionLoop(), TransitionSELine::~TransitionSELine(), TransitionVArc::~TransitionVArc(), and TransitionVCurve::~TransitionVCurve().
#define DBGLOG_ | ( | id, | ||
x | ||||
) | DBGLOG_PURE("<"id">\t" << CURRENT_FUNCTION_NAME << "->" << x) |
#define DBGLOG_PURE | ( | x | ) | do { qDebug() << x; } while(false) |
#define DBGPAR | ( | PAR | ) | #PAR << "=" << PAR << " " |
for easily parameters logging
Definition at line 43 of file dbglog.h.
Referenced by Editor::addToListsAndScene(), AutomataWorkSimulator::animateMove(), AutomataWorkSimulator::AutomataWorkSimulator(), MainWindow::closeEvent(), StringProcessor::computeCharacterList(), GraphVizDrawAlgorithm::convertCPToBezierCP(), SelectionSerializer::createItems(), FarthestFinalDrawAlgorithm::drawAutomaton(), BaseDrawAlgorithm::drawTransitions(), Editor::Editor(), Parser::EndTransitionDeclaration(), Transition::findIntersectedPoints(), LoadAutomataDialog::getAlphabet(), LoadAutomataDialog::getAlphabetSymbol(), Editor::getAutomaton(), LoadAutomataDialog::getEpsilonSymbol(), Editor::getExpandedGridRect(), BaseDrawAlgorithm::initPaths(), StringProcessor::isSpecialSymbol(), LabelSyntaxChecker::LabelSyntaxChecker(), Editor::loadAutomata(), MainWindow::loadPlugins(), LoadAutomataDialog::myAccept(), Parser::OneStateTransition(), MainWindow::openFile(), MainWindow::processAlgorithmsPlugin(), Editor::removeFromListsAndScene(), MainWindow::saveAs(), AutomataWorkSimulator::saveInputState(), SelectionSerializer::SelectionSerializer(), AutomatonImpl::setAllowRedundantTransitions(), State::setChecked(), Editor::setFileName(), Parser::StateDeclaration(), Editor::switchAntialiasing(), StateImpl::~StateImpl(), and TransitionImpl::~TransitionImpl().
#define RELLOG | ( | x | ) | RELLOG_("EDITOR", x) |
Definition at line 48 of file dbglog.h.
Referenced by GVGraph::addEdge(), Editor::addGraphVizDrawAlgorithm(), State::addTransition(), StateImpl::addTransition(), StateImpl::addTransitionTo(), TransitionVCurve::adjust(), TransitionVArc::adjust(), TransitionLoop::adjust(), TransitionLine::adjust(), TransitionArc::adjust(), StringProcessor::computeCharacterList(), Editor::createLaTeXTable(), AutomatonImpl::createPrivateTransitionIfNotExists(), Transition::createStrokes(), Editor::detectAutomataSettings(), Parser::EndTransitionDeclaration(), MainWindow::exportTo(), Transition::findIntersectedPoints(), AutomataWorkSimulator::generateSlideshow(), AutomataWorkSimulator::getFileName(), OneStateTransition::getTypeNameSuffix(), Parser::Label_r(), Editor::loadAutomata(), MainWindow::MainWindow(), Editor::mousePressEvent(), NameAcceptDialog::myAccept(), Parser::OneStateTransition(), Editor::openFile(), Editor::paste(), printHelp(), MainWindow::processAlgorithmsPlugin(), MainWindow::processGraphVizPlugin(), LexAn::readStringBetween(), Transition::removeNextLabel(), AutomatonImpl::removeTransition(), BasicAlgorithm::run(), Editor::runAlgorithm(), IntersectionParallelAlgorithm::runInternal(), UniteParallelAlgorithm::runInternal(), MinimalizeAlgorithm::runInternal(), DeterminizeAlgorithm::runInternal(), RemoveMultipleInitialsAlgorithm::runInternal(), RemoveUselessAlgorithm::runInternal(), RemoveInaccessibleAlgorithm::runInternal(), RemoveEpsilonAlgorithm::runInternal(), Editor::saveToFile(), AutomatonImpl::setAllowRedundantTransitions(), Transition::setEndState(), Transition::setLabelText(), StringProcessor::setText(), Parser::StateDeclaration(), StringProcessor::StringProcessor(), trAngleFromDirection(), trMouseAction(), and Parser::VCPut().
#define RELLOG_ | ( | id, | ||
x | ||||
) | RELLOG_PURE("<"id">\t" << "->" << x) |
#define RELLOG_PURE | ( | x | ) | do { qWarning() << x; } while(false) |