#include <debug.h>
Public Types | |
| enum | messageType_e { MESSAGE, WARNING, ERROR } |
Public Member Functions | |
| ~Debug () | |
| void | message (const miniXml::ustring &message, messageType_e type=MESSAGE, const miniXml::ustring &className="", const miniXml::ustring &functionName="", const miniXml::ustring &file="", int line=0) |
| Ouput a message. | |
| template<class T> | |
| void | value (const miniXml::ustring &varName, T &value, const miniXml::ustring &className="", const miniXml::ustring &functionName="", const miniXml::ustring &file="", int line=0) |
| Ouput the value of a variable. | |
| template<class T> | |
| void | valueNotRef (const miniXml::ustring &varName, T value, const miniXml::ustring &className="", const miniXml::ustring &functionName="", const miniXml::ustring &file="", int line=0) |
| Ouput the value of a variable. | |
| template<class Iterator> | |
| void | value (const miniXml::ustring &varName, Iterator beginIterator, Iterator endIterator, const miniXml::ustring &className="", const miniXml::ustring &functionName="", const miniXml::ustring &file="", int line=0) |
| Ouput the value of a container. | |
| template<class Iterator> | |
| void | mapValue (const miniXml::ustring &varName, Iterator beginIterator, Iterator endIterator, const miniXml::ustring &className="", const miniXml::ustring &functionName="", const miniXml::ustring &file="", int line=0) |
| Ouput the value of a map. | |
Static Public Member Functions | |
| static boost::shared_ptr< Debug > | create (const miniXml::ustring &project) |
| Create a new Debug object. | |
| Spm::Util::Debug::~Debug | ( | ) |
| static boost::shared_ptr<Debug> Spm::Util::Debug::create | ( | const miniXml::ustring & | project | ) | [static] |
| void Spm::Util::Debug::message | ( | const miniXml::ustring & | message, | |
| messageType_e | type = MESSAGE, |
|||
| const miniXml::ustring & | className = "", |
|||
| const miniXml::ustring & | functionName = "", |
|||
| const miniXml::ustring & | file = "", |
|||
| int | line = 0 | |||
| ) |
Ouput a message.
| message | The message to output | |
| type | The type of the message to output | |
| className | The name of the class sending the message | |
| functionName | The name of the function sending the message | |
| file | The file name | |
| line | The line |
| void Spm::Util::Debug::value | ( | const miniXml::ustring & | varName, | |
| T & | value, | |||
| const miniXml::ustring & | className = "", |
|||
| const miniXml::ustring & | functionName = "", |
|||
| const miniXml::ustring & | file = "", |
|||
| int | line = 0 | |||
| ) | [inline] |
Ouput the value of a variable.
| varName | the name of the variable to output | |
| value | the value of variable | |
| className | The name of the class sending the message | |
| functionName | The name of the function sending the message | |
| file | The file name | |
| line | The line |
| void Spm::Util::Debug::valueNotRef | ( | const miniXml::ustring & | varName, | |
| T | value, | |||
| const miniXml::ustring & | className = "", |
|||
| const miniXml::ustring & | functionName = "", |
|||
| const miniXml::ustring & | file = "", |
|||
| int | line = 0 | |||
| ) | [inline] |
Ouput the value of a variable.
| varName | the name of the variable to output | |
| value | the value of variable | |
| className | The name of the class sending the message | |
| functionName | The name of the function sending the message | |
| file | The file name | |
| line | The line |
| void Spm::Util::Debug::value | ( | const miniXml::ustring & | varName, | |
| Iterator | beginIterator, | |||
| Iterator | endIterator, | |||
| const miniXml::ustring & | className = "", |
|||
| const miniXml::ustring & | functionName = "", |
|||
| const miniXml::ustring & | file = "", |
|||
| int | line = 0 | |||
| ) | [inline] |
Ouput the value of a container.
| varName | the name of the container to output | |
| beginIterator | the first value to ouput | |
| endIterator | the last value to ouput | |
| className | The name of the class sending the message | |
| functionName | The name of the function sending the message | |
| file | The file name | |
| line | The line |
| void Spm::Util::Debug::mapValue | ( | const miniXml::ustring & | varName, | |
| Iterator | beginIterator, | |||
| Iterator | endIterator, | |||
| const miniXml::ustring & | className = "", |
|||
| const miniXml::ustring & | functionName = "", |
|||
| const miniXml::ustring & | file = "", |
|||
| int | line = 0 | |||
| ) | [inline] |
Ouput the value of a map.
| varName | the name of the container to output | |
| beginIterator | the first value to ouput | |
| endIterator | the last value to ouput | |
| className | The name of the class sending the message | |
| functionName | The name of the function sending the message | |
| file | The file name | |
| line | The line |
1.5.2