libepp_nicbr
Hello.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: Hello.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __HELLO_H__
8 #define __HELLO_H__
9 
10 #include <string>
11 
12 #include "libepp_nicbr.H"
13 
14 LIBEPP_NICBR_NS_BEGIN
15 
16 using std::string;
17 
19 class Hello
20 {
21 public:
23  Hello()
24  {
25  _xml =
26  "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"
27  "<epp xmlns=\"urn:ietf:params:xml:ns:epp-1.0\" "
28  "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "
29  "xsi:schemaLocation=\"urn:ietf:params:xml:ns:epp-1.0 "
30  "epp-1.0.xsd\">"
31  "<hello/>"
32  "</epp>";
33  };
34 
36 
39  string get_xml_format() const
40  {
41  return _xml;
42  }
43 
44 protected:
46  string _xml;
47 
48 };
49 
50 LIBEPP_NICBR_NS_END
51 #endif //__HELLO_H__
Project defines.
string _xml
Hello in XML format.
Definition: Hello.H:46
string get_xml_format() const
Returns Hello in XML format.
Definition: Hello.H:39
Hello()
Constructor.
Definition: Hello.H:23
EPP Hello Class.
Definition: Hello.H:19