Menu

[r1037]: / trunk / src / cpp / env_wrap.hpp  Maximize  Restore  History

Download this file

27 lines (20 with data), 734 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef ENV_INT_HPP_INCLUDED
#define ENV_INT_HPP_INCLUDED
#include "xmlrpc-c/util.h"
namespace xmlrpc_c {
class env_wrap {
/*----------------------------------------------------------------------------
A wrapper to assist in using the Xmlrpc-c C libraries in
Xmlrpc-c C++ code.
To use the C libraries, you have to use type xmlrpc_env, but that type
does not have an automatic destructor (because it's C), so it's hard
to throw an error from a context in which a variable of that type
exists. This wrapper provides that automatic destructor.
-----------------------------------------------------------------------------*/
public:
env_wrap();
~env_wrap();
xmlrpc_env env_c;
};
} // namespace
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.