(file) Return to XmlWriter.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

  1 karl  1.64 //%2003////////////////////////////////////////////////////////////////////////
  2 mike  1.21 //
  3 karl  1.64 // Copyright (c) 2000, 2001, 2002  BMC Software, Hewlett-Packard Development
  4            // Company, L. P., IBM Corp., The Open Group, Tivoli Systems.
  5            // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L. P.;
  6            // IBM Corp.; EMC Corporation, The Open Group.
  7 mike  1.21 //
  8            // Permission is hereby granted, free of charge, to any person obtaining a copy
  9 kumpf 1.48 // of this software and associated documentation files (the "Software"), to
 10            // deal in the Software without restriction, including without limitation the
 11            // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 12 mike  1.21 // sell copies of the Software, and to permit persons to whom the Software is
 13            // furnished to do so, subject to the following conditions:
 14            // 
 15 kumpf 1.48 // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN
 16 mike  1.21 // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED
 17            // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 18 kumpf 1.48 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 19            // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 20            // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 21 mike  1.21 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 22            // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 23            //
 24            //==============================================================================
 25            //
 26            // Author: Mike Brasher (mbrasher@bmc.com)
 27            //
 28 mike  1.22 // Modified By: 
 29            //         Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
 30            //         Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com)
 31            //         Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)
 32 kumpf 1.45 //         Carol Ann Krug Graves, Hewlett-Packard Company
 33            //             (carolann_graves@hp.com)
 34 mike  1.21 //
 35            //%/////////////////////////////////////////////////////////////////////////////
 36            
 37            #ifndef Pegasus_XmlWriter_h
 38            #define Pegasus_XmlWriter_h
 39            
 40            #include <iostream>
 41            #include <Pegasus/Common/Config.h>
 42 kumpf 1.53 #include <Pegasus/Common/InternalException.h>
 43 kumpf 1.55 #include <Pegasus/Common/ArrayInternal.h>
 44 mike  1.21 #include <Pegasus/Common/String.h>
 45            #include <Pegasus/Common/Indentor.h>
 46 kumpf 1.41 #include <Pegasus/Common/CIMObject.h>
 47            #include <Pegasus/Common/CIMClass.h>
 48            #include <Pegasus/Common/CIMInstance.h>
 49            #include <Pegasus/Common/CIMProperty.h>
 50            #include <Pegasus/Common/CIMMethod.h>
 51            #include <Pegasus/Common/CIMParameter.h>
 52            #include <Pegasus/Common/CIMQualifier.h>
 53            #include <Pegasus/Common/CIMQualifierDecl.h>
 54            #include <Pegasus/Common/CIMValue.h>
 55 kumpf 1.44 #include <Pegasus/Common/CIMObjectPath.h>
 56 mike  1.22 #include <Pegasus/Common/CIMPropertyList.h>
 57 kumpf 1.29 #include <Pegasus/Common/CIMParamValue.h>
 58 kumpf 1.59 #include <Pegasus/Common/Message.h>
 59 kumpf 1.49 #include <Pegasus/Common/Linkage.h>
 60 chuck 1.62 #include <Pegasus/Common/ContentLanguages.h>  // l10n
 61            #include <Pegasus/Common/AcceptLanguages.h>   // l10n
 62 mike  1.21 
 63            PEGASUS_NAMESPACE_BEGIN
 64            
 65 chuck 1.62 // l10n - added accept language and content language support below
 66            
 67 mike  1.21 class PEGASUS_COMMON_LINKAGE XmlWriter
 68            {
 69            public:
 70            
 71 kumpf 1.56     static void append(Array<Sint8>& out, const Char16& x);
 72 mike  1.21 
 73                static void append(Array<Sint8>& out, char x)
 74                {
 75            	append(out, Char16(x));
 76                }
 77            
 78 kumpf 1.39     static void append(Array<Sint8>& out, Boolean x);
 79            
 80 kumpf 1.26     static void append(Array<Sint8>& out, Uint32 x);
 81            
 82 kumpf 1.39     static void append(Array<Sint8>& out, Sint32 x);
 83            
 84                static void append(Array<Sint8>& out, Uint64 x);
 85            
 86                static void append(Array<Sint8>& out, Sint64 x);
 87            
 88                static void append(Array<Sint8>& out, Real64 x);
 89            
 90 kumpf 1.26     static void append(Array<Sint8>& out, const char* str);
 91 mike  1.21 
 92 kumpf 1.26     static void append(Array<Sint8>& out, const String& str);
 93 mike  1.21 
 94 kumpf 1.26     static void append(Array<Sint8>& out, const Indentor& x);
 95 mike  1.21 
 96 kumpf 1.56     static void appendSpecial(Array<Sint8>& out, const Char16& x);
 97 mike  1.21 
 98                static void appendSpecial(Array<Sint8>& out, char x);
 99            
100 kumpf 1.26     static void appendSpecial(Array<Sint8>& out, const char* str);
101 mike  1.21 
102 kumpf 1.26     static void appendSpecial(Array<Sint8>& out, const String& str);
103 mike  1.21 
104 kumpf 1.60     static String encodeURICharacters(Array<Sint8> uriString);
105                static String encodeURICharacters(String uriString);
106            
107 kumpf 1.28     static void appendLocalNameSpacePathElement(
108 mike  1.21 	Array<Sint8>& out, 
109 kumpf 1.58 	const CIMNamespaceName& nameSpace);
110 mike  1.21 
111 kumpf 1.28     static void appendNameSpacePathElement(
112            	Array<Sint8>& out, 
113            	const String& host,
114 kumpf 1.58 	const CIMNamespaceName& nameSpace);
115 mike  1.21 
116 kumpf 1.28     static void appendClassNameElement(
117 kumpf 1.26 	Array<Sint8>& out,
118 kumpf 1.58 	const CIMName& className);
119 mike  1.21 
120 kumpf 1.28     static void appendInstanceNameElement(
121 kumpf 1.26 	Array<Sint8>& out,
122 kumpf 1.44 	const CIMObjectPath& instanceName);
123 kumpf 1.26 
124 kumpf 1.28     static void appendClassPathElement(
125 kumpf 1.26 	Array<Sint8>& out,
126 kumpf 1.44 	const CIMObjectPath& classPath);
127 mike  1.21 
128 kumpf 1.28     static void appendInstancePathElement(
129 kumpf 1.26 	Array<Sint8>& out,
130 kumpf 1.44 	const CIMObjectPath& instancePath);
131 mike  1.21 
132 kumpf 1.28     static void appendLocalClassPathElement(
133 kumpf 1.26 	Array<Sint8>& out,
134 kumpf 1.44 	const CIMObjectPath& classPath);
135 mike  1.21 
136 kumpf 1.28     static void appendLocalInstancePathElement(
137 kumpf 1.26 	Array<Sint8>& out,
138 kumpf 1.44 	const CIMObjectPath& instancePath);
139 mike  1.21 
140 kumpf 1.29     static void appendLocalObjectPathElement(
141            	Array<Sint8>& out,
142 kumpf 1.44 	const CIMObjectPath& objectPath);
143 kumpf 1.39 
144                static void appendValueElement(
145                    Array<Sint8>& out,
146                    const CIMValue& value);
147            
148                static void printValueElement(
149                    const CIMValue& value,
150                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
151 kumpf 1.29 
152 kumpf 1.41     static void appendValueObjectWithPathElement(
153                    Array<Sint8>& out,
154 kumpf 1.47         const CIMObject& objectWithPath);
155 kumpf 1.41 
156                static void appendValueReferenceElement(
157                    Array<Sint8>& out,
158 kumpf 1.44         const CIMObjectPath& reference,
159 kumpf 1.41         Boolean putValueWrapper);
160            
161                static void printValueReferenceElement(
162 kumpf 1.44         const CIMObjectPath& reference,
163 kumpf 1.41         PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
164            
165                static void appendValueNamedInstanceElement(
166                    Array<Sint8>& out,
167 kumpf 1.45         const CIMInstance& namedInstance);
168 kumpf 1.41 
169 kumpf 1.40     static void appendClassElement(
170                    Array<Sint8>& out,
171                    const CIMConstClass& cimclass);
172            
173                static void printClassElement(
174                    const CIMConstClass& cimclass,
175                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
176            
177                static void appendInstanceElement(
178                    Array<Sint8>& out,
179                    const CIMConstInstance& instance);
180            
181                static void printInstanceElement(
182                    const CIMConstInstance& instance,
183 kumpf 1.41         PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
184            
185                static void appendObjectElement(
186                    Array<Sint8>& out,
187                    const CIMConstObject& object);
188            
189                static void appendPropertyElement(
190                    Array<Sint8>& out,
191                    const CIMConstProperty& property);
192            
193                static void printPropertyElement(
194                    const CIMConstProperty& property,
195                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
196            
197                static void appendMethodElement(
198                    Array<Sint8>& out,
199                    const CIMConstMethod& method);
200            
201                static void printMethodElement(
202                    const CIMConstMethod& method,
203                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
204 kumpf 1.41 
205                static void appendParameterElement(
206                    Array<Sint8>& out,
207                    const CIMConstParameter& parameter);
208            
209                static void printParameterElement(
210                    const CIMConstParameter& parameter,
211                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
212            
213                static void appendParamValueElement(
214                    Array<Sint8>& out,
215                    const CIMParamValue& paramValue);
216            
217                static void printParamValueElement(
218                    const CIMParamValue& paramValue,
219                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
220            
221                static void appendQualifierElement(
222                    Array<Sint8>& out,
223                    const CIMConstQualifier& qualifier);
224            
225 kumpf 1.41     static void printQualifierElement(
226                    const CIMConstQualifier& qualifier,
227                    PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
228            
229                static void appendQualifierDeclElement(
230                    Array<Sint8>& out,
231                    const CIMConstQualifierDecl& qualifierDecl);
232            
233                static void printQualifierDeclElement(
234                    const CIMConstQualifierDecl& qualifierDecl,
235 kumpf 1.40         PEGASUS_STD(ostream)& os=PEGASUS_STD(cout));
236            
237 kumpf 1.42     static void appendQualifierFlavorEntity(
238                    Array<Sint8>& out,
239 kumpf 1.52         const CIMFlavor & flavor);
240 kumpf 1.42 
241 kumpf 1.43     static void appendScopeElement(
242                    Array<Sint8>& out,
243 kumpf 1.51         const CIMScope & scope);
244 kumpf 1.43 
245 kumpf 1.28     static void appendMethodCallHeader(
246 kumpf 1.26 	Array<Sint8>& out,
247 kumpf 1.28 	const char* host,
248 kumpf 1.58 	const CIMName& cimMethod,
249 kumpf 1.28 	const String& cimObject,
250            	const String& authenticationHeader,
251 kumpf 1.59         HttpMethod httpMethod,
252 chuck 1.62     const AcceptLanguages & acceptLanguages,    
253                const ContentLanguages & contentLanguages,        
254 kumpf 1.28 	Uint32 contentLength);
255 mike  1.21 
256 kumpf 1.28     static void appendMethodResponseHeader(
257 mike  1.21 	Array<Sint8>& out,
258 kumpf 1.59         HttpMethod httpMethod,
259 chuck 1.62     const ContentLanguages & contentLanguages,        
260 kumpf 1.28 	Uint32 contentLength);
261 mike  1.21 
262 kumpf 1.34     static void appendHttpErrorResponseHeader(
263            	Array<Sint8>& out,
264            	const String& status,
265            	const String& cimError = String::EMPTY,
266 kumpf 1.35 	const String& errorDetail = String::EMPTY);
267 kumpf 1.34 
268 kumpf 1.28     static void appendUnauthorizedResponseHeader(
269 kumpf 1.26 	Array<Sint8>& out,
270 kumpf 1.28         const String& content);
271 mike  1.21 
272 gerarda 1.63 #ifdef PEGASUS_KERBEROS_AUTHENTICATION
273                  static void appendOKResponseHeader(
274              	Array<Sint8>& out,
275                      const String& content);
276              #endif
277              
278 kumpf   1.26     static void appendReturnValueElement(
279              	Array<Sint8>& out,
280              	const CIMValue& value);
281              
282                  static void appendBooleanIParameter(
283 mike    1.21 	Array<Sint8>& out,
284 kumpf   1.26 	const char* name,
285 mike    1.21 	Boolean flag);
286              
287 kumpf   1.26     static void appendStringIParameter(
288 mike    1.21 	Array<Sint8>& out,
289 kumpf   1.26 	const char* name,
290 mike    1.21 	const String& str);
291              
292 kumpf   1.26     static void appendQualifierNameIParameter(
293              	Array<Sint8>& out,
294              	const char* name,
295              	const String& qualifierName);
296              
297                  static void appendClassNameIParameter(
298 mike    1.21 	Array<Sint8>& out,
299 kumpf   1.26 	const char* name,
300 kumpf   1.58 	const CIMName& className);
301 mike    1.21 
302 kumpf   1.26     static void appendInstanceNameIParameter(
303 mike    1.21 	Array<Sint8>& out,
304 kumpf   1.26 	const char* name,
305 kumpf   1.44 	const CIMObjectPath& instanceName);
306 mike    1.21 
307 kumpf   1.26     static void appendObjectNameIParameter(
308 mike    1.21 	Array<Sint8>& out,
309 kumpf   1.26 	const char* name,
310 kumpf   1.44 	const CIMObjectPath& objectName);
311 mike    1.21 
312 kumpf   1.26     static void appendClassIParameter(
313 mike    1.21 	Array<Sint8>& out,
314 kumpf   1.26 	const char* name,
315              	const CIMConstClass& cimClass);
316 mike    1.21 
317 kumpf   1.26     static void appendInstanceIParameter(
318 mike    1.21 	Array<Sint8>& out,
319 kumpf   1.26 	const char* name,
320 mike    1.21 	const CIMConstInstance& instance);
321              
322 kumpf   1.26     static void appendNamedInstanceIParameter(
323 mike    1.22 	Array<Sint8>& out,
324 kumpf   1.26 	const char* name,
325 mday    1.46 	const CIMInstance& namedInstance) ;
326 mike    1.22 
327 kumpf   1.26     static void appendPropertyNameIParameter(
328 mike    1.21 	Array<Sint8>& out,
329 kumpf   1.58 	const CIMName& propertyName);
330 mike    1.21 
331 kumpf   1.26     static void appendPropertyValueIParameter(
332 mike    1.21 	Array<Sint8>& out,
333 kumpf   1.26 	const char* name,
334              	const CIMValue& value);
335 mike    1.21 
336 kumpf   1.26     static void appendPropertyListIParameter(
337 mike    1.21 	Array<Sint8>& out,
338 kumpf   1.26 	const CIMPropertyList& propertyList);
339 mike    1.21 
340 kumpf   1.26     static void appendQualifierDeclarationIParameter(
341 mike    1.21 	Array<Sint8>& out,
342 kumpf   1.26 	const char* name,
343              	const CIMConstQualifierDecl& qualifierDecl);
344 kumpf   1.34 
345                  static Array<Sint8> formatHttpErrorRspMessage(
346              	const String& status,
347              	const String& cimError = String::EMPTY,
348 kumpf   1.35 	const String& errorDetail = String::EMPTY);
349 mike    1.21 
350 kumpf   1.26     static Array<Sint8> formatSimpleMethodReqMessage(
351              	const char* host,
352 kumpf   1.58 	const CIMNamespaceName& nameSpace,
353 kumpf   1.44 	const CIMObjectPath& path,
354 kumpf   1.58 	const CIMName& methodName,
355 kumpf   1.29 	const Array<CIMParamValue>& parameters,
356 kumpf   1.26 	const String& messageId,
357 kumpf   1.59         HttpMethod httpMethod,
358 chuck   1.62         const String& authenticationHeader,
359                  const AcceptLanguages& httpAcceptLanguages,
360                  const ContentLanguages& httpContentLanguages);
361 mike    1.21 
362 kumpf   1.26     static Array<Sint8> formatSimpleMethodRspMessage(
363 kumpf   1.58 	const CIMName& methodName,
364 kumpf   1.26         const String& messageId,
365 kumpf   1.59         HttpMethod httpMethod,
366 chuck   1.62         const ContentLanguages & httpContentLanguages,          
367 kumpf   1.26 	const Array<Sint8>& body);
368 mike    1.21 
369 kumpf   1.27     static Array<Sint8> formatSimpleMethodErrorRspMessage(
370 kumpf   1.58 	const CIMName& methodName,
371 kumpf   1.27 	const String& messageId,
372 kumpf   1.59         HttpMethod httpMethod,
373 kumpf   1.36 	const CIMException& cimException);
374 kumpf   1.27 
375 mike    1.22     static Array<Sint8> formatSimpleIMethodReqMessage(
376 mike    1.21 	const char* host,
377 kumpf   1.58 	const CIMNamespaceName& nameSpace,
378              	const CIMName& iMethodName,
379 mike    1.22 	const String& messageId,
380 kumpf   1.59         HttpMethod httpMethod,
381 mike    1.22         const String& authenticationHeader,
382 chuck   1.62     const AcceptLanguages& httpAcceptLanguages,
383                  const ContentLanguages& httpContentLanguages,        
384 mike    1.21 	const Array<Sint8>& body);
385              
386 kumpf   1.26     static Array<Sint8> formatSimpleIMethodRspMessage(
387 kumpf   1.58 	const CIMName& iMethodName,
388 mike    1.21         const String& messageId,
389 kumpf   1.59         HttpMethod httpMethod,
390 chuck   1.62         const ContentLanguages & httpContentLanguages,  
391 mike    1.21 	const Array<Sint8>& body);
392              
393 kumpf   1.27     static Array<Sint8> formatSimpleIMethodErrorRspMessage(
394 kumpf   1.58 	const CIMName& iMethodName,
395 mike    1.22 	const String& messageId,
396 kumpf   1.59         HttpMethod httpMethod,
397 kumpf   1.36 	const CIMException& cimException);
398 mike    1.22 
399 kumpf   1.61     static void appendInstanceEParameter(
400              	Array<Sint8>& out,
401              	const char* name,
402              	const CIMInstance& instance);
403              
404 kumpf   1.26     static void appendEMethodRequestHeader(
405                  	Array<Sint8>& out,
406 kumpf   1.38         const char* requestUri,
407 mike    1.22     	const char* host,
408 kumpf   1.58     	const CIMName& cimMethod,
409 kumpf   1.59         HttpMethod httpMethod,
410 mike    1.22         const String& authenticationHeader,
411 chuck   1.62     const AcceptLanguages& acceptLanguages,      
412                  const ContentLanguages& contentLanguages,           
413 kumpf   1.26 	Uint32 contentLength);
414 mike    1.22 
415 kumpf   1.26     static void appendEMethodResponseHeader(
416              	Array<Sint8>& out,
417 kumpf   1.59         HttpMethod httpMethod,
418 chuck   1.62     const ContentLanguages& contentLanguages,           
419 kumpf   1.26 	Uint32 contentLength);
420 mike    1.22 
421 kumpf   1.26     static Array<Sint8> formatSimpleEMethodReqMessage(
422 kumpf   1.38         const char* requestUri,
423 mike    1.22 	const char* host,
424 kumpf   1.58 	const CIMName& eMethodName,
425 mike    1.22 	const String& messageId,
426 kumpf   1.59         HttpMethod httpMethod,
427 kumpf   1.26 	const String& authenticationHeader,
428 chuck   1.62     const AcceptLanguages& httpAcceptLanguages,
429                  const ContentLanguages& httpContentLanguages,  	
430 mike    1.22 	const Array<Sint8>& body);
431              
432 kumpf   1.26     static Array<Sint8> formatSimpleEMethodRspMessage(
433 kumpf   1.58 	const CIMName& eMethodName,
434 mike    1.22         const String& messageId,
435 kumpf   1.59         HttpMethod httpMethod,
436 chuck   1.62     const ContentLanguages& httpContentLanguages,        
437 mike    1.22 	const Array<Sint8>& body);
438 kumpf   1.27 
439                  static Array<Sint8> formatSimpleEMethodErrorRspMessage(
440 kumpf   1.58 	const CIMName& eMethodName,
441 kumpf   1.27 	const String& messageId,
442 kumpf   1.59         HttpMethod httpMethod,
443 kumpf   1.36 	const CIMException& cimException);
444 mike    1.22 
445 kumpf   1.26     static void indentedPrint(
446              	PEGASUS_STD(ostream)& os,
447              	const char* text, 
448              	Uint32 indentChars = 2);
449 mike    1.22 
450 kumpf   1.26     static String getNextMessageId();
451 mike    1.21 
452 kumpf   1.57     /** Converts the given CIMKeyBinding type to one of the following:
453 kumpf   1.50         "boolean", "string", or "numeric"
454                  */
455 kumpf   1.57     static const char* keyBindingTypeToString (CIMKeyBinding::Type type);
456 kumpf   1.50 
457 mike    1.21 private:
458 kumpf   1.28 
459                  static void _appendMessageElementBegin(
460              	Array<Sint8>& out,
461              	const String& messageId);
462                  static void _appendMessageElementEnd(
463              	Array<Sint8>& out);
464              
465                  static void _appendSimpleReqElementBegin(Array<Sint8>& out);
466                  static void _appendSimpleReqElementEnd(Array<Sint8>& out);
467              
468                  static void _appendMethodCallElementBegin(
469              	Array<Sint8>& out,
470 kumpf   1.58 	const CIMName& name);
471 kumpf   1.28     static void _appendMethodCallElementEnd(
472              	Array<Sint8>& out);
473              
474                  static void _appendIMethodCallElementBegin(
475              	Array<Sint8>& out,
476 kumpf   1.58 	const CIMName& name);
477 kumpf   1.28     static void _appendIMethodCallElementEnd(
478              	Array<Sint8>& out);
479              
480                  static void _appendIParamValueElementBegin(
481              	Array<Sint8>& out,
482              	const char* name);
483                  static void _appendIParamValueElementEnd(
484              	Array<Sint8>& out);
485              
486                  static void _appendSimpleRspElementBegin(Array<Sint8>& out);
487                  static void _appendSimpleRspElementEnd(Array<Sint8>& out);
488              
489                  static void _appendMethodResponseElementBegin(
490              	Array<Sint8>& out,
491 kumpf   1.58 	const CIMName& name);
492 kumpf   1.28     static void _appendMethodResponseElementEnd(
493              	Array<Sint8>& out);
494              
495                  static void _appendIMethodResponseElementBegin(
496              	Array<Sint8>& out,
497 kumpf   1.58 	const CIMName& name);
498 kumpf   1.28     static void _appendIMethodResponseElementEnd(
499              	Array<Sint8>& out);
500              
501                  static void _appendErrorElement(
502              	Array<Sint8>& out,
503 kumpf   1.36 	const CIMException& cimException);
504 kumpf   1.28 
505                  static void _appendIReturnValueElementBegin(Array<Sint8>& out);
506                  static void _appendIReturnValueElementEnd(Array<Sint8>& out);
507              
508                  static void _appendSimpleExportReqElementBegin(Array<Sint8>& out);
509                  static void _appendSimpleExportReqElementEnd(Array<Sint8>& out);
510              
511                  static void _appendEMethodCallElementBegin(
512                  	Array<Sint8>& out,
513 kumpf   1.58     	const CIMName& name);
514 kumpf   1.28     static void _appendEMethodCallElementEnd(
515                  	Array<Sint8>& out);
516 kumpf   1.61 
517                  static void _appendEParamValueElementBegin(
518              	Array<Sint8>& out,
519              	const char* name);
520                  static void _appendEParamValueElementEnd(
521              	Array<Sint8>& out);
522 kumpf   1.28 
523                  static void _appendSimpleExportRspElementBegin(Array<Sint8>& out);
524                  static void _appendSimpleExportRspElementEnd(Array<Sint8>& out);
525              
526                  static void _appendEMethodResponseElementBegin(
527                  	Array<Sint8>& out,
528 kumpf   1.58     	const CIMName& name);
529 kumpf   1.28     static void _appendEMethodResponseElementEnd(
530                  	Array<Sint8>& out);
531 mike    1.21 
532                  XmlWriter() { }
533              };
534              
535              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
536                  Array<Sint8>& out, 
537                  const char* x);
538              
539              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(Array<Sint8>& out, char x);
540              
541 kumpf   1.56 PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(Array<Sint8>& out, const Char16& x);
542 mike    1.21 
543              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
544                  Array<Sint8>& out, 
545                  const String& x);
546              
547              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
548                  Array<Sint8>& out, 
549                  const Indentor& x);
550              
551              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
552                  Array<Sint8>& out, 
553                  const Array<Sint8>& x);
554              
555              PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
556                  Array<Sint8>& out, 
557                  Uint32 x);
558              
559 kumpf   1.58 PEGASUS_COMMON_LINKAGE Array<Sint8>& operator<<(
560                  Array<Sint8>& out, 
561                  const CIMName& name);
562              
563 kumpf   1.54 PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(
564                  PEGASUS_STD(ostream)& os,
565                  const CIMDateTime& x);
566 kumpf   1.58 
567              PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(
568                  PEGASUS_STD(ostream)& os,
569                  const CIMName& name);
570              
571              PEGASUS_COMMON_LINKAGE PEGASUS_STD(ostream)& operator<<(
572                  PEGASUS_STD(ostream)& os,
573                  const CIMNamespaceName& name);
574 kumpf   1.54 
575 mike    1.21 PEGASUS_NAMESPACE_END
576              
577              #endif /* Pegasus_XmlWriter_h */

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2