Public Member Functions | |
~NWarning (void) | |
Destroys a NWarning object. | |
NWarning & | operator<< (nint32 val) |
Prints a signed integer. | |
NWarning & | operator<< (nuint32 val) |
Prints an unsigned integer. | |
NWarning & | operator<< (nint64 val) |
Prints a signed long integer. | |
NWarning & | operator<< (nuint64 val) |
Prints an unsigned long integer. | |
NWarning & | operator<< (double d) |
Prints a double. | |
NWarning & | operator<< (char c) |
Prints a char. | |
NWarning & | operator<< (const NString &str) |
Prints a string. | |
NWarning & | operator<< (const void *ptr) |
Prints the address of a pointer. | |
NWarning & | operator<< (const char *str) |
Prints a char * string. | |
Static Public Member Functions | |
static NWarning | print (void) |
Starts the displaying of a warning message. | |
Protected Member Functions | |
NWarning (void) | |
Creates a NMessage 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 nwarning.h.
NWarning print | ( | void | ) | [static] |
Starts the displaying of a warning message.
Definition at line 36 of file nwarning.cpp.
References NBaseOutput::print().
Referenced by NGetOpt::add(), and NGetOpt::proccess().
Prints a signed integer.
val | Value |
Definition at line 44 of file nwarning.cpp.
References NBaseOutput::print().
Prints an unsigned integer.
val | Value |
Definition at line 49 of file nwarning.cpp.
References NBaseOutput::print().
Prints a signed long integer.
val | Value |
Definition at line 55 of file nwarning.cpp.
References NBaseOutput::print().
Prints an unsigned long integer.
val | Value |
Definition at line 60 of file nwarning.cpp.
References NBaseOutput::print().
NWarning & operator<< | ( | double | d | ) |
Prints a double.
d | Value |
Definition at line 66 of file nwarning.cpp.
References NBaseOutput::print().
NWarning & operator<< | ( | char | c | ) |
Prints a char.
c | Char |
Definition at line 72 of file nwarning.cpp.
References NBaseOutput::print().
Prints a string.
str | String |
Definition at line 77 of file nwarning.cpp.
References NBaseOutput::print().
NWarning & operator<< | ( | const void * | ptr | ) |
Prints the address of a pointer.
ptr | The address of the pointer |
Definition at line 83 of file nwarning.cpp.
References NBaseOutput::print().
NWarning & operator<< | ( | const char * | str | ) |
Prints a char * string.
str | A pointer to a null terminated string |
Definition at line 89 of file nwarning.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.