LibOFX

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

Enumerations | Functions
fx-0.9.10/lib/messages.hh File Reference

Message IO functionality. More...

Go to the source code of this file.

## Enumerations
enum | OfxMsgType { DEBUG, DEBUG1, DEBUG2, DEBUG3, DEBUG4, DEBUG5, STATUS = 10, INFO, WARNING, ERROR, PARSER, DEBUG, DEBUG1, DEBUG2, DEBUG3, DEBUG4, DEBUG5, STATUS = 10, INFO, WARNING, ERROR, PARSER }

## Functions
int | message_out (OfxMsgType type, const string message)
| Message output function. More...

## Detailed Description

Message IO functionality.

Definition in file fx-0.9.10/lib/messages.hh.

## Enumeration Type Documentation

enum OfxMsgType

The OfxMsgType enum describe's the type of message being sent, so the application/user/library can decide if it will be printed to stdout

Enumerator
DEBUG | General debug messages
DEBUG1 | Debug level 1
DEBUG2 | Debug level 2
DEBUG3 | Debug level 3
DEBUG4 | Debug level 4
DEBUG5 | Debug level 5
STATUS | For major processing event (End of parsing, etc.)
INFO | For minor processing event
WARNING | Warning message
ERROR | Error message
PARSER | Parser events
DEBUG | General debug messages
DEBUG1 | Debug level 1
DEBUG2 | Debug level 2
DEBUG3 | Debug level 3
DEBUG4 | Debug level 4
DEBUG5 | Debug level 5
STATUS | For major processing event (End of parsing, etc.)
INFO | For minor processing event
WARNING | Warning message
ERROR | Error message
PARSER | Parser events

Definition at line 23 of file fx-0.9.10/lib/messages.hh.

## Function Documentation

int message_out | ( | OfxMsgType | error_type,
|  | const string | message
| ) |  |

Message output function.

Prints a message to stdout, if the corresponding message OfxMsgType given in the parameters is enabled

Definition at line 60 of file messages.cpp.

Referenced by OfxGenericContainer::add_attribute(), OfxDummyContainer::add_attribute(), OfxStatusContainer::add_attribute(), OfxInvestmentTransactionContainer::add_attribute(), OFCApplication::data(), OFXApplication::data(), OFCApplication::endElement(), OFXApplication::endElement(), OFCApplication::error(), OFXApplication::error(), find_dtd(), OfxMainContainer::gen_event(), libofx_detect_file_type(), libofx_proc_file(), ofc_proc_sgml(), ofx_proc_file(), ofx_proc_sgml(), ofxdate_to_time_t(), OFCApplication::openEntityChange(), OFXApplication::openEntityChange(), sanitize_proprietary_tags(), OFCApplication::startElement(), OFXApplication::startElement(), and strip_whitespace().