dca_interface  6.3.4
zla_classifier.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 ZLA_CLASSIFIER_H
7 #define ZLA_CLASSIFIER_H
8 
16 namespace dca {
17 
18  class zlaclassifier_p;
19 
20  class ZlaClassificationResult;
21  class Email;
22 
33  {
34  public:
36  ZlaClassifier();
37  ZlaClassifier( const ZlaClassifier& rhi );
38  ZlaClassifier& operator = ( const ZlaClassifier& rhi );
39  virtual ~ZlaClassifier();
41 
56  FunctionResult classify( const Email& anEmail, ZlaClassificationResult& aZlaResult ) const;
57 
59  PRIVATE_PTR zlaclassifier_p *_p;
60  };
61 
62 }
63 
64 #endif
ZLA classifier object for ZLA classification.
Encapsulates an email object.
Definition: base_email.h:24
Overall result of a ZLA classification.
FunctionResult classify(const Email &anEmail, ZlaClassificationResult &aZlaResult) const
The email classification method. The method takes an initialized Email object and returns the results...
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
Standard function result.
Definition: base_classes.h:148