Public Member Functions | |
~NDebug (void) | |
Destroys a NDebug object. | |
NDebug & | operator<< (nint32 val) |
Prints a signed integer. | |
NDebug & | operator<< (nuint32 val) |
Prints an unsigned integer. | |
NDebug & | operator<< (nint64 val) |
Prints a signed long integer. | |
NDebug & | operator<< (nuint64 val) |
Prints an unsigned long integer. | |
NDebug & | operator<< (double d) |
Prints a double. | |
NDebug & | operator<< (char c) |
Prints a char. | |
NDebug & | operator<< (const NString &str) |
Prints a string. | |
NDebug & | operator<< (const void *ptr) |
Prints the address of a pointer. | |
NDebug & | operator<< (const char *str) |
Prints a char * string. | |
Static Public Member Functions | |
static NDebug | print (void) |
Starts the displaying of a warning message. | |
Protected Member Functions | |
NDebug (void) | |
Constructs a NBase object. | |
void | print (int val) |
Prints a signed integer. | |
void | print (double d) |
Prints a double. | |
void | print (char c) |
Prints a char. | |
void | print (const NString &str) |
Prints a string. | |
void | println (const NString &str) |
Prints a string appending a newline at the end of it. |
Definition at line 36 of file ndebug.h.
NDebug print | ( | void | ) | [static] |
Starts the displaying of a warning message.
Definition at line 36 of file ndebug.cpp.
References NBaseOutput::print().
Referenced by NGetOpt::add(), NMySql::connectToHost(), NXmlDocument::constFindNode(), NXmlDocument::constNext(), NXmlDocument::constPrevious(), NMySql::execSql(), NXmlDocument::findNode(), NMySql::getNext(), NXmlDocument::next(), NXmlParser::NXmlParser(), NXmlSchemaParser::NXmlSchemaParser(), NXmlParser::parse(), NXmlDocument::previous(), NTcpSocket::readLine(), NSql::setHost(), and NSql::setPort().
Prints a signed integer.
val | Value |
Definition at line 48 of file ndebug.cpp.
References NBaseOutput::print().
Prints an unsigned integer.
val | Value |
Definition at line 56 of file ndebug.cpp.
References NBaseOutput::print().
Prints a signed long integer.
val | Value |
Definition at line 65 of file ndebug.cpp.
References NBaseOutput::print().
Prints an unsigned long integer.
val | Value |
Definition at line 73 of file ndebug.cpp.
References NBaseOutput::print().
NDebug & operator<< | ( | double | d | ) |
Prints a double.
d | Value |
Definition at line 82 of file ndebug.cpp.
References NBaseOutput::print().
NDebug & operator<< | ( | char | c | ) |
Prints a char.
c | Char |
Definition at line 91 of file ndebug.cpp.
References NBaseOutput::print().
Prints a string.
str | String |
Definition at line 99 of file ndebug.cpp.
References NBaseOutput::print().
NDebug & operator<< | ( | const void * | ptr | ) |
Prints the address of a pointer.
ptr | The address of the pointer |
Definition at line 108 of file ndebug.cpp.
References NBaseOutput::print().
NDebug & operator<< | ( | const char * | str | ) |
Prints a char * string.
str | A pointer to a null terminated string |
Definition at line 117 of file ndebug.cpp.
References NBaseOutput::print().
void print | ( | int | val | ) | [protected] |
void print | ( | double | d | ) | [protected] |
void print | ( | char | c | ) | [protected] |
void print | ( | const NString & | str | ) | [protected] |
void println | ( | const NString & | str | ) | [protected] |
Prints a string appending a newline at the end of it.
str | String |
Reimplemented from NBaseOutput.