TTK
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Variables
Debug.h File Reference
#include <BaseClass.h>
#include <algorithm>
#include <array>
#include <cerrno>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <Os.h>
#include <Timer.h>
#include <OrderDisambiguation.h>

Go to the source code of this file.

Classes

class  ttk::Debug
 Minimalist debugging class. More...
 
class  ttk::DebugTimer
 Legacy backward compatibility. More...
 
class  ttk::DebugMemory
 Legacy backward compatibility. More...
 

Namespaces

namespace  ttk
 The Topology ToolKit.
 
namespace  ttk::debug
 
namespace  ttk::debug::output
 

Enumerations

enum class  ttk::debug::Priority : int {
  ttk::debug::ERROR , ttk::debug::WARNING , ttk::debug::PERFORMANCE , ttk::debug::INFO ,
  ttk::debug::DETAIL , ttk::debug::VERBOSE
}
 
enum class  ttk::debug::Separator : char {
  ttk::debug::L0 = '' , ttk::debug::L1 = '=' , ttk::debug::L2 = '-' , ttk::debug::SLASH = '/' ,
  ttk::debug::BACKSLASH = '\\'
}
 
enum class  ttk::debug::LineMode : int { ttk::debug::NEW , ttk::debug::APPEND , ttk::debug::REPLACE }
 

Variables

COMMON_EXPORTS bool ttk::welcomeMsg_ = true
 
COMMON_EXPORTS bool ttk::goodbyeMsg_ = true
 
COMMON_EXPORTS int ttk::globalDebugLevel_ = 0
 
const std::string ttk::debug::output::BOLD = "\33[0;1m"
 
const std::string ttk::debug::output::GREY = "\33[2;1m"
 
const std::string ttk::debug::output::ITALIC = "\33[3;1m"
 
const std::string ttk::debug::output::UNDERLINED = "\33[4;1m"
 
const std::string ttk::debug::output::FLASHING = "\33[5;1m"
 
const std::string ttk::debug::output::INVERTED = "\33[7;1m"
 
const std::string ttk::debug::output::STRIKETHROUGH = "\33[9;1m"
 
const std::string ttk::debug::output::DARKGREY = "\33[30;1m"
 
const std::string ttk::debug::output::RED = "\33[31;1m"
 
const std::string ttk::debug::output::GREEN = "\33[32;1m"
 
const std::string ttk::debug::output::YELLOW = "\33[33;1m"
 
const std::string ttk::debug::output::BLUE = "\33[34;1m"
 
const std::string ttk::debug::output::PINK = "\33[35;1m"
 
const std::string ttk::debug::output::LIGHTBLUE = "\33[36;1m"
 
const std::string ttk::debug::output::BRIGHTWHITE = "\33[37;1m"
 
const std::string ttk::debug::output::ENDCOLOR = "\33[0m"
 
const int ttk::debug::LINEWIDTH = 80