diff options
author | Vincent Richard <[email protected]> | 2004-12-22 14:55:43 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-22 14:55:43 +0000 |
commit | 4f9e439eecbca00b6de0d64e8a3f39b5e7707284 (patch) | |
tree | a2631ed6d1a86ac9f81164f1b9305434aed0a362 /src/messageParser.cpp | |
parent | Updated ChangeLog for new functions in 'component'. (diff) | |
download | vmime-4f9e439eecbca00b6de0d64e8a3f39b5e7707284.tar.gz vmime-4f9e439eecbca00b6de0d64e8a3f39b5e7707284.zip |
Some more class documentation.
Diffstat (limited to 'src/messageParser.cpp')
-rw-r--r-- | src/messageParser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/messageParser.cpp b/src/messageParser.cpp index dd2cb690..d5338dc6 100644 --- a/src/messageParser.cpp +++ b/src/messageParser.cpp @@ -58,6 +58,8 @@ messageParser::~messageParser() void messageParser::parse(const message& msg) { // Header fields (if field is present, copy its value, else do nothing) +#ifndef VMIME_BUILDING_DOC + #define TRY_FIELD(var, type, name) \ try { var = dynamic_cast<type&>(*msg.getHeader()->findField(name)).getValue(); } \ catch (exceptions::no_such_field) { } @@ -72,6 +74,8 @@ void messageParser::parse(const message& msg) #undef TRY_FIELD +#endif // VMIME_BUILDING_DOC + // Date try { |