Modeler Extensions Framework
HostHelper.h
Go to the documentation of this file.
1 //============================================================================
2 // Licensed Materials - Property of IBM
3 //
4 // IBM SPSS Products: Modeler
5 //
6 // (C) Copyright IBM Corp. 1994, 2014
7 //
8 // US Government Users Restricted Rights - Use, duplication or disclosure restricted
9 // by GSA ADP Schedule Contract with IBM Corp.
10 //============================================================================
11 /*
12  Modeler Extensions Framework C++ Helpers (HostHelper.h)
13 */
14 
15 #ifndef HOST_HELPER_WRAPPER_H
16 #define HOST_HELPER_WRAPPER_H
17 
18 #include "clemext.h"
19 
20 namespace ClemextCppHelper {
21 
22 class XMLDocument;
23 
24 
28 class HostHelper {
29 
31  CLEMEXTHostHandle host_;
32 
33 private:
34 
39  HostHelper(CLEMEXTHostHandle host);
40 
41 public:
42 
48  static HostHelper *create(CLEMEXTHostHandle handle);
49 
56 
62  XMLDocument createNew(const char *root_element_name);
63 
69  XMLDocument createFromContents(const char *contents);
70 
71 };
72 
73 } // namespace CLEMEXTCppHelper
74 
75 #endif
XMLDocument createNew(const char *root_element_name)
XMLDocument getHostInformation(CLEMEXTErrorCode *errorCode)
int CLEMEXTErrorCode
Definition: clemext.h:75
static HostHelper * create(CLEMEXTHostHandle handle)
XMLDocument createFromContents(const char *contents)