1 ///////////////////////////////////////////////////////////////////
2 // Automatically generated by xml2ulxr v1.7.5.
3 //
4 // xml2ulxr is part of Ultra Lightweight XML RPC for C++.
5 // See also http://ulxmlrpcpp.sourceforge.net
6 //
7 // Intended for manual and persistent changes
8 /////////////////////////////////////////////////
9 
10 //#define ULXR_UNICODE_ONLY_HELPERS
11 #include <ulxmlrpcpp/ulxmlrpcpp.h> // always first
12 
13 #include <ulxmlrpcpp/ulxr_value.h>
14 #include "UlxrIdlTestFuncs_ulxr_server.h"
15 
16 #include <ulxmlrpcpp/ulxr_response.h>
17 #include <ulxmlrpcpp/ulxr_method_adder.h>
18 #include <ulxmlrpcpp/ulxr_signature.h>
19 
20 #include "UlxrIdlTestFuncs_ulxr_names.h"
21 
22 
23 ulxr::MethodResponse
24   UlxrIdlTestFuncs_funcs__free_function1_ovr0 (const ulxr::MethodCall &calldata);
25 
26 ulxr::MethodResponse
27   UlxrIdlTestFuncs_funcs__free_function1_ovr1 (const ulxr::MethodCall &calldata);
28 
29 ulxr::MethodResponse
30   UlxrIdlTestFuncs_inline_func__free_function2 (const ulxr::MethodCall &calldata);
31 
32 
33 void UlxrIdlTestFuncs_setupServerMethods(ulxr::MethodAdder &method_adder)
34 {
35 // mapped to: void funcs::free_function1(int i);   (there are overloaded methods)
36   method_adder.addMethod(ulxr::make_method(&UlxrIdlTestFuncs_funcs__free_function1_ovr0),
37                          ulxr::Void::getValueName(),
38                          ULXR_CALLTO_UlxrIdlTestFuncs_funcs__free_function1_ovr0,
39                          ulxr::Signature()
40                            << ulxr::Integer::getValueName(),
41                          ulxr_i18n(ULXR_PCHAR("Some descriptive comment about 'void funcs::free_function1(int i)'."))); // TODO adjust comment
42 
43 // mapped to: long int funcs::free_function1(long int i, float f);   (there are overloaded methods)
44   method_adder.addMethod(ulxr::make_method(&UlxrIdlTestFuncs_funcs__free_function1_ovr1),
45                          ulxr::Integer::getValueName(),
46                          ULXR_CALLTO_UlxrIdlTestFuncs_funcs__free_function1_ovr1,
47                          ulxr::Signature()
48                            << ulxr::Integer::getValueName()
49                            << ulxr::Double::getValueName(),
50                          ulxr_i18n(ULXR_PCHAR("Some descriptive comment about 'long int funcs::free_function1(long int i, float f)'."))); // TODO adjust comment
51 
52 // mapped to: std::string * inline_func::free_function2(long int * i, float f);   (there are overloaded methods)
53   method_adder.addMethod(ulxr::make_method(&UlxrIdlTestFuncs_inline_func__free_function2),
54                          ulxr::RpcString::getValueName(),
55                          ULXR_CALLTO_UlxrIdlTestFuncs_inline_func__free_function2,
56                          ulxr::Signature()
57                            << ulxr::Integer::getValueName()
58                            << ulxr::Double::getValueName(),
59                          ulxr_i18n(ULXR_PCHAR("Some descriptive comment about 'std::string * inline_func::free_function2(long int * i, float f)'."))); // TODO adjust comment
60 }
61 
62