dca_interface  6.3.4
base_email.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef BASE_EMAIL_H
7 #define BASE_EMAIL_H
8 
15 namespace dca {
16 
17  class email_p;
18 
23  class Email
24  {
25  public:
34  static Email create( const DcaInstance& aDcaInstance, const std::string& emailContent );
35 
37  Email();
38  Email( const Email& aEmail );
39  Email& operator = ( const Email& aEmail );
40  virtual ~Email();
42 
44  PRIVATE_PTR email_p *_p;
45  };
46 
47 }
48 
49 #endif
Encapsulates an email object.
Definition: base_email.h:24
static Email create(const DcaInstance &aDcaInstance, const std::string &emailContent)
Creates an email object, used as an input parameter for ZLA classification.
Encapsulates the init and deinit of the DCA API.
Definition: base_classes.h:315
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83