Salome HOME
Improve build procedure
[tools/simanio.git] / src / PutFile.h
1
2
3         #ifndef PUTFILE_H
4         #define PUTFILE_H
5
6        /**
7         * PutFile.h
8         *
9         * This file was auto-generated from WSDL
10         * by the Apache Axis2/Java version: 1.0  Built on : Nov 21, 2012 (02:43:12 MSK)
11         */
12
13        /**
14         *  PutFile class
15         */
16
17         namespace org_splat_ws_server_service_salome{
18             class PutFile;
19         }
20         
21
22         
23         #include <axutil_base64_binary.h>
24           
25         #include <axutil_qname.h>
26         
27
28         #include <stdio.h>
29         #include <OMElement.h>
30         #include <ServiceClient.h>
31         #include <ADBDefines.h>
32
33 namespace org_splat_ws_server_service_salome
34 {
35         
36         
37
38         class PutFile {
39
40         private:
41              
42                 axutil_qname_t* qname;
43             axutil_base64_binary_t* property_Args0;
44
45                 
46                 bool isValidArgs0;
47             std::string property_Args1;
48
49                 
50                 bool isValidArgs1;
51             int64_t property_Args2;
52
53                 
54                 bool isValidArgs2;
55             
56
57         /*** Private methods ***/
58           
59
60         bool WSF_CALL
61         setArgs2Nil();
62             
63
64
65
66         /******************************* public functions *********************************/
67
68         public:
69
70         /**
71          * Constructor for class PutFile
72          */
73
74         PutFile();
75
76         /**
77          * Destructor PutFile
78          */
79         ~PutFile();
80
81
82        
83
84         /**
85          * Constructor for creating PutFile
86          * @param 
87          * @param Args0 axutil_base64_binary_t*
88          * @param Args1 std::string
89          * @param Args2 int64_t
90          * @return newly created PutFile object
91          */
92         PutFile(axutil_base64_binary_t* arg_Args0,std::string arg_Args1,int64_t arg_Args2);
93         
94         
95         /********************************** Class get set methods **************************************/
96         
97         
98
99         /**
100          * Getter for args0. 
101          * @return axutil_base64_binary_t*
102          */
103         WSF_EXTERN axutil_base64_binary_t* WSF_CALL
104         getArgs0();
105
106         /**
107          * Setter for args0.
108          * @param arg_Args0 axutil_base64_binary_t*
109          * @return true on success, false otherwise
110          */
111         WSF_EXTERN bool WSF_CALL
112         setArgs0(axutil_base64_binary_t*  arg_Args0);
113
114         /**
115          * Re setter for args0
116          * @return true on success, false
117          */
118         WSF_EXTERN bool WSF_CALL
119         resetArgs0();
120         
121         
122
123         /**
124          * Getter for args1. 
125          * @return std::string*
126          */
127         WSF_EXTERN std::string WSF_CALL
128         getArgs1();
129
130         /**
131          * Setter for args1.
132          * @param arg_Args1 std::string*
133          * @return true on success, false otherwise
134          */
135         WSF_EXTERN bool WSF_CALL
136         setArgs1(const std::string  arg_Args1);
137
138         /**
139          * Re setter for args1
140          * @return true on success, false
141          */
142         WSF_EXTERN bool WSF_CALL
143         resetArgs1();
144         
145         
146
147         /**
148          * Getter for args2. 
149          * @return int64_t*
150          */
151         WSF_EXTERN int64_t WSF_CALL
152         getArgs2();
153
154         /**
155          * Setter for args2.
156          * @param arg_Args2 int64_t*
157          * @return true on success, false otherwise
158          */
159         WSF_EXTERN bool WSF_CALL
160         setArgs2(const int64_t  arg_Args2);
161
162         /**
163          * Re setter for args2
164          * @return true on success, false
165          */
166         WSF_EXTERN bool WSF_CALL
167         resetArgs2();
168         
169
170
171         /******************************* Checking and Setting NIL values *********************************/
172         
173
174         /**
175          * NOTE: set_nil is only available for nillable properties
176          */
177
178         
179
180         /**
181          * Check whether args0 is Nill
182          * @return true if the element is Nil, false otherwise
183          */
184         bool WSF_CALL
185         isArgs0Nil();
186
187
188         
189         /**
190          * Set args0 to Nill (same as using reset)
191          * @return true on success, false otherwise.
192          */
193         bool WSF_CALL
194         setArgs0Nil();
195         
196
197         /**
198          * Check whether args1 is Nill
199          * @return true if the element is Nil, false otherwise
200          */
201         bool WSF_CALL
202         isArgs1Nil();
203
204
205         
206         /**
207          * Set args1 to Nill (same as using reset)
208          * @return true on success, false otherwise.
209          */
210         bool WSF_CALL
211         setArgs1Nil();
212         
213
214         /**
215          * Check whether args2 is Nill
216          * @return true if the element is Nil, false otherwise
217          */
218         bool WSF_CALL
219         isArgs2Nil();
220
221
222         
223
224         /**************************** Serialize and De serialize functions ***************************/
225         /*********** These functions are for use only inside the generated code *********************/
226
227         
228         /**
229          * Deserialize the ADB object to an XML
230          * @param dp_parent double pointer to the parent node to be deserialized
231          * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
232          * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
233          *              (Parent will order this in a case of choice)
234          * @return true on success, false otherwise
235          */
236         bool WSF_CALL
237         deserialize(axiom_node_t** omNode, bool *isEarlyNodeValid, bool dontCareMinoccurs);
238                          
239             
240
241        /**
242          * Declare namespace in the most parent node 
243          * @param parent_element parent element
244          * @param namespaces hash of namespace uri to prefix
245          * @param next_ns_index pointer to an int which contain the next namespace index
246          */
247         void WSF_CALL
248         declareParentNamespaces(axiom_element_t *parent_element, axutil_hash_t *namespaces, int *next_ns_index);
249
250
251         
252
253         /**
254          * Serialize the ADB object to an xml
255          * @param PutFile_om_node node to serialize from
256          * @param PutFile_om_element parent element to serialize from
257          * @param tag_closed Whether the parent tag is closed or not
258          * @param namespaces hash of namespace uris to prefixes
259          * @param next_ns_index an int which contains the next namespace index
260          * @return axiom_node_t on success,NULL otherwise.
261          */
262         axiom_node_t* WSF_CALL
263         serialize(axiom_node_t* PutFile_om_node, axiom_element_t *PutFile_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
264
265         /**
266          * Check whether the PutFile is a particle class (E.g. group, inner sequence)
267          * @return true if this is a particle class, false otherwise.
268          */
269         bool WSF_CALL
270         isParticle();
271
272
273
274         /******************************* get the value by the property number  *********************************/
275         /************NOTE: This method is introduced to resolve a problem in unwrapping mode *******************/
276
277       
278         
279
280         /**
281          * Getter for args0 by property number (1)
282          * @return axutil_base64_binary_t*
283          */
284
285         axutil_base64_binary_t* WSF_CALL
286         getProperty1();
287
288     
289         
290
291         /**
292          * Getter for args1 by property number (2)
293          * @return std::string
294          */
295
296         std::string WSF_CALL
297         getProperty2();
298
299     
300         
301
302         /**
303          * Getter for args2 by property number (3)
304          * @return int64_t
305          */
306
307         int64_t WSF_CALL
308         getProperty3();
309
310     
311
312 };
313
314 }        
315  #endif /* PUTFILE_H */
316     
317