Modeler Extensions Framework
HostHelper.h
Go to the documentation of this file.
1 //============================================================================
2 // IBM Confidential
3 //
4 // OCO Source Materials
5 //
6 // IBM SPSS Products: Modeler Common
7 //
8 // (C) Copyright IBM Corp. 1994, 2011
9 //
10 // The source code for this program is not published or otherwise divested of its trade secrets,
11 // irrespective of what has been deposited with the U.S. Copyright Office.
12 //============================================================================
13 /*
14  Copyright (c) Integral Solutions Ltd 2006-2008
15  Clementine Extensions Framework C++ Helpers (HostHelper.h)
16  Version 12.0.1
17 */
18 
19 #ifndef HOST_HELPER_WRAPPER_H
20 #define HOST_HELPER_WRAPPER_H
21 
22 #include "clemext.h"
23 
24 namespace ClemextCppHelper {
25 
26 class XMLDocument;
27 
28 
32 class HostHelper {
33 
35  CLEMEXTHostHandle host_;
36 
37 private:
38 
43  HostHelper(CLEMEXTHostHandle host);
44 
45 public:
46 
52  static HostHelper *create(CLEMEXTHostHandle handle);
53 
60 
66  XMLDocument createNew(const char *root_element_name);
67 
73  XMLDocument createFromContents(const char *contents);
74 
75 };
76 
77 } // namespace CLEMEXTCppHelper
78 
79 #endif
XMLDocument createNew(const char *root_element_name)
XMLDocument getHostInformation(CLEMEXTErrorCode *errorCode)
int CLEMEXTErrorCode
Definition: clemext.h:77
static HostHelper * create(CLEMEXTHostHandle handle)
XMLDocument createFromContents(const char *contents)