#include <VP1Msg.h>
|
static bool | verbose () |
|
static bool | debug () |
|
static void | enableMsg (const QString &) |
|
static void | message (const QString &, IVP1System *sys=0) |
|
static void | messageDebug (const QString &) |
|
static void | messageWarning (const QString &, IVP1System *sys=0) |
|
static void | messageVerbose (const QString &) |
|
static void | messageWarningRed (const QString &str, IVP1System *sys=0) |
|
static void | messageWarningAllRed (const QString &str, IVP1System *sys=0) |
|
static void | message (const QStringList &, const QString &addtoend="", IVP1System *sys=0) |
|
static void | messageDebug (const QStringList &, const QString &addtoend="") |
|
static void | messageVerbose (const QStringList &, const QString &addtoend="") |
|
static void | message (const QString &addtostart, const QStringList &, const QString &addtoend="", IVP1System *sys=0) |
|
static void | messageDebug (const QString &addtostart, const QStringList &, const QString &addtoend="") |
|
static void | messageVerbose (const QString &addtostart, const QStringList &, const QString &addtoend="") |
|
static const char * | prefix_msg () |
|
static const char * | prefix_debug () |
|
static const char * | prefix_warning () |
|
static const char * | prefix_verbose () |
|
static QString | str (const QString &s) |
|
static QString | str (const char *c) |
|
static QString | str (const bool b) |
|
static QString | str (const QColor &) |
|
static QString | str (const SbColor &) |
|
static QString | str (const VP1Interval &) |
|
static QString | str (const SbVec2d &) |
|
static QString | str (const SbVec2f &) |
|
static QString | str (const SbVec2s &) |
|
static QString | str (const SbVec3d &) |
|
static QString | str (const SbVec3f &) |
|
static QString | str (const SbVec3s &) |
|
static QString | str (const SbVec4d &) |
|
static QString | str (const SbVec4f &) |
|
static QString | str (short int n) |
|
static QString | str (unsigned short int n) |
|
static QString | str (long n) |
|
static QString | str (ulong n) |
|
static QString | str (int n) |
|
static QString | str (uint n) |
|
static QString | str (qlonglong n) |
|
static QString | str (qulonglong n) |
|
static QString | str (const double &d) |
|
static QString | str (const float &f) |
|
static QString | str (const void *) |
|
template<class T > |
static QString | str (const T *t) |
|
template<class T > |
static QString | str (const QFlags< T > &f) |
|
template<class T > |
static QString | str (const HepGeom::BasicVector3D< T > &t) |
|
static QString | str (const Amg::Vector3D &t) |
|
template<class T > |
static QString | str (const QList< T > &t) |
|
Definition at line 29 of file VP1Msg.h.
◆ VP1Msg()
◆ ~VP1Msg()
◆ debug()
static bool VP1Msg::debug |
( |
| ) |
|
|
inlinestatic |
◆ enableMsg()
void VP1Msg::enableMsg |
( |
const QString & |
name | ) |
|
|
static |
◆ message() [1/3]
◆ message() [2/3]
void VP1Msg::message |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" , |
|
|
IVP1System * |
sys = 0 |
|
) |
| |
|
static |
Definition at line 135 of file VP1Msg.cxx.
138 if (addtostart.isEmpty()) {
142 if (addtoend.isEmpty()) {
◆ message() [3/3]
Definition at line 93 of file VP1Msg.cxx.
95 if (addtoend.isEmpty()) {
◆ messageDebug() [1/3]
void VP1Msg::messageDebug |
( |
const QString & |
str | ) |
|
|
static |
◆ messageDebug() [2/3]
void VP1Msg::messageDebug |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| |
|
static |
Definition at line 152 of file VP1Msg.cxx.
157 if (addtostart.isEmpty()) {
161 if (addtoend.isEmpty()) {
◆ messageDebug() [3/3]
void VP1Msg::messageDebug |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| |
|
static |
Definition at line 105 of file VP1Msg.cxx.
110 if (addtoend.isEmpty()) {
◆ messageVerbose() [1/3]
void VP1Msg::messageVerbose |
( |
const QString & |
str | ) |
|
|
static |
◆ messageVerbose() [2/3]
void VP1Msg::messageVerbose |
( |
const QString & |
addtostart, |
|
|
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| |
|
static |
Definition at line 171 of file VP1Msg.cxx.
176 if (addtostart.isEmpty()) {
180 if (addtoend.isEmpty()) {
◆ messageVerbose() [3/3]
void VP1Msg::messageVerbose |
( |
const QStringList & |
l, |
|
|
const QString & |
addtoend = "" |
|
) |
| |
|
static |
Definition at line 120 of file VP1Msg.cxx.
125 if (addtoend.isEmpty()) {
◆ messageWarning()
◆ messageWarningAllRed()
void VP1Msg::messageWarningAllRed |
( |
const QString & |
str, |
|
|
IVP1System * |
sys = 0 |
|
) |
| |
|
static |
Definition at line 70 of file VP1Msg.cxx.
78 std::string
msg =
str.toStdString();
79 fprintf(
stderr,
"\033[1m\033[31mWarning:\033[21m %s\033[0m\n",
msg.c_str() );
◆ messageWarningRed()
void VP1Msg::messageWarningRed |
( |
const QString & |
str, |
|
|
IVP1System * |
sys = 0 |
|
) |
| |
|
static |
Definition at line 57 of file VP1Msg.cxx.
65 std::string
msg =
str.toStdString();
66 fprintf(
stderr,
"\033[1m\033[31mWarning:\033[21m\033[0m: %s\n",
msg.c_str() );
◆ prefix_debug()
static const char* VP1Msg::prefix_debug |
( |
| ) |
|
|
inlinestatic |
Definition at line 57 of file VP1Msg.h.
57 {
return "VP1MSG_DEBUG";}
◆ prefix_msg()
static const char* VP1Msg::prefix_msg |
( |
| ) |
|
|
inlinestatic |
Definition at line 56 of file VP1Msg.h.
56 {
return "VP1MESSAGE";}
◆ prefix_verbose()
static const char* VP1Msg::prefix_verbose |
( |
| ) |
|
|
inlinestatic |
Definition at line 59 of file VP1Msg.h.
59 {
return "VP1MSG_VERBOSE";}
◆ prefix_warning()
static const char* VP1Msg::prefix_warning |
( |
| ) |
|
|
inlinestatic |
Definition at line 58 of file VP1Msg.h.
58 {
return "VP1MSG_WARNING";}
◆ str() [1/30]
◆ str() [2/30]
static QString VP1String::str |
( |
const bool |
b | ) |
|
|
inlinestaticinherited |
Definition at line 53 of file VP1String.h.
53 {
return b?
"True":
"False"; }
◆ str() [3/30]
static QString VP1String::str |
( |
const char * |
c | ) |
|
|
inlinestaticinherited |
◆ str() [4/30]
static QString VP1String::str |
( |
const double & |
d | ) |
|
|
inlinestaticinherited |
◆ str() [5/30]
static QString VP1String::str |
( |
const float & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [6/30]
◆ str() [7/30]
QString VP1String::str |
( |
const QColor & |
c | ) |
|
|
staticinherited |
Definition at line 30 of file VP1String.cxx.
32 return c.isValid() ?
c.name() :
"Invalid";
◆ str() [8/30]
template<class T >
static QString VP1String::str |
( |
const QFlags< T > & |
f | ) |
|
|
inlinestaticinherited |
◆ str() [9/30]
template<class T >
static QString VP1String::str |
( |
const QList< T > & |
t | ) |
|
|
inlinestaticinherited |
◆ str() [10/30]
static QString VP1String::str |
( |
const QString & |
s | ) |
|
|
inlinestaticinherited |
◆ str() [11/30]
QString VP1String::str |
( |
const SbColor & |
c | ) |
|
|
staticinherited |
◆ str() [12/30]
QString VP1String::str |
( |
const SbVec2d & |
v | ) |
|
|
staticinherited |
◆ str() [13/30]
QString VP1String::str |
( |
const SbVec2f & |
v | ) |
|
|
staticinherited |
◆ str() [14/30]
QString VP1String::str |
( |
const SbVec2s & |
v | ) |
|
|
staticinherited |
◆ str() [15/30]
QString VP1String::str |
( |
const SbVec3d & |
v | ) |
|
|
staticinherited |
◆ str() [16/30]
QString VP1String::str |
( |
const SbVec3f & |
v | ) |
|
|
staticinherited |
◆ str() [17/30]
QString VP1String::str |
( |
const SbVec3s & |
v | ) |
|
|
staticinherited |
◆ str() [18/30]
QString VP1String::str |
( |
const SbVec4d & |
v | ) |
|
|
staticinherited |
◆ str() [19/30]
QString VP1String::str |
( |
const SbVec4f & |
v | ) |
|
|
staticinherited |
◆ str() [20/30]
template<class T >
static QString VP1String::str |
( |
const T * |
t | ) |
|
|
inlinestaticinherited |
Definition at line 87 of file VP1String.h.
87 {
return str(
static_cast<const void*
>(
t)); }
◆ str() [21/30]
QString VP1String::str |
( |
const void * |
p | ) |
|
|
staticinherited |
Definition at line 48 of file VP1String.cxx.
54 return QString (
s.str().c_str());
◆ str() [22/30]
◆ str() [23/30]
static QString VP1String::str |
( |
int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [24/30]
static QString VP1String::str |
( |
long |
n | ) |
|
|
inlinestaticinherited |
◆ str() [25/30]
static QString VP1String::str |
( |
qlonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [26/30]
static QString VP1String::str |
( |
qulonglong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [27/30]
static QString VP1String::str |
( |
short int |
n | ) |
|
|
inlinestaticinherited |
◆ str() [28/30]
static QString VP1String::str |
( |
uint |
n | ) |
|
|
inlinestaticinherited |
◆ str() [29/30]
static QString VP1String::str |
( |
ulong |
n | ) |
|
|
inlinestaticinherited |
◆ str() [30/30]
static QString VP1String::str |
( |
unsigned short int |
n | ) |
|
|
inlinestaticinherited |
◆ verbose()
static bool VP1Msg::verbose |
( |
| ) |
|
|
inlinestatic |
◆ m_debug
◆ m_verbose
The documentation for this class was generated from the following files: