UniSet  1.4.0
Открытые типы | Открытые статические члены | Статические открытые данные | Друзья
Структура Debug

#include <Debug.h>

Полный список членов класса

Открытые типы

enum  type {
  NONE = 0, INFO = (1 << 0), INIT = (1 << 1), WARN = (1 << 2),
  CRIT = (1 << 3), LEVEL1 = (1 << 4), LEVEL2 = (1 << 5), LEVEL3 = (1 << 6),
  LEVEL4 = (1 << 7), LEVEL5 = (1 << 8), LEVEL6 = (1 << 9), LEVEL7 = (1 << 10),
  LEVEL8 = (1 << 11), LEVEL9 = (1 << 12), REPOSITORY = (1 << 13), SYSTEM = (1 << 14),
  EXCEPTION = (1 << 15)
}

Открытые статические члены

static Debug::type value (string const &val)
static void showLevel (std::ostream &o, type level)
static void showTags (std::ostream &o)

Статические открытые данные

static type const ANY

Друзья

std::ostream & operator<< (std::ostream &os, Debug::type level)

Подробное описание

Ideally this should have been a namespace, but since we try to be compilable on older C++ compilators too, we use a struct instead. This is all the different debug levels that we have.


Методы

void Debug::showLevel ( std::ostream &  o,
type  level 
) [static]

Display the tags and descriptions of the current debug level of ds

void Debug::showTags ( std::ostream &  o) [static]

show all the possible tags that can be used for debugging

Debug::type Debug::value ( string const &  val) [static]

A function to convert symbolic string names on debug levels to their numerical value.


Данные класса

Debug::type const Debug::ANY [static]
Инициализатор
 Debug::type(
    Debug::INFO | Debug::INIT | Debug::WARN | Debug::CRIT |
    Debug::LEVEL1 | Debug::LEVEL2 | Debug::LEVEL3 | Debug::LEVEL4 |
    Debug::LEVEL5 | Debug::LEVEL5 | Debug::LEVEL6 | Debug::LEVEL7 |
    Debug::LEVEL8 | Debug::LEVEL9 | Debug::REPOSITORY | Debug::SYSTEM |
    Debug::EXCEPTION )

Объявления и описания членов структур находятся в файлах: