Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

msg.h

Go to the documentation of this file.
00001 /* 
00002  * This file is part of the rfc822 library (C) rebel42@users.sourceforge.net.
00003  *
00004  * The rfc822 library is released under the terms of the GNU Library General Public License as
00005  * published by the Free Software Foundation; either version 2 of the
00006  * License, or (at your option) any later version. See the file COPYING
00007  * as included in the distribution for details.
00008  */
00009 #ifndef RFC822_MSG_H
00010 #define RFC822_MSG_H
00011 
00012 #include <rfc822/header.h>
00013 #include <rfc822/body.h>
00014 
00015 using namespace std;
00016 
00017 namespace rfc822
00018 {
00019 
00021 class msg
00022 {
00023 public:
00024         msg()                                                   
00025                 { }
00026         msg(const msg& m)                               
00027                 { operator = (m); }
00028         
00029         msg& operator = (const msg& m)  
00030         { 
00031                 header = m.header; 
00032                 body = m.body; 
00033                 return *this; 
00034         }
00035         
00036         rfc822::header  header;
00037         rfc822::body    body;
00038         
00039 private:
00040         bool m_fEscaped;
00041 };
00042 
00043 };
00044 
00045 #endif

Generated on Mon Oct 22 17:03:48 2001 for rfc822 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001