dca_interface  6.3.4
base_htmltext.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_HTMLTEXT_H
7 #define BASE_HTMLTEXT_H
8 
15 namespace dca {
16 
17  class htmltext_p;
18 
23  class HtmlText
24  {
25  public:
34  static HtmlText create( const DcaInstance& aDcaInstance, const std::string& htmlContent );
35 
37  HtmlText();
38  HtmlText( const HtmlText& aHTMLText );
39  HtmlText& operator = ( const HtmlText& aHTMLUrl );
40  virtual ~HtmlText();
42 
44  PRIVATE_PTR htmltext_p *_p;
45  };
46 
47 }
48 
49 #endif
static HtmlText create(const DcaInstance &aDcaInstance, const std::string &htmlContent)
Creates an HTML text object, used as an input parameter for text classification.
Encapsulates the init and deinit of the DCA API.
Definition: base_classes.h:315
Encapsulates an HTML text object.
Definition: base_htmltext.h:24
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83