Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SOAPEncoding Class Template Reference

preimplementation of the SerializerFactory interface for predefined types. More...

#include <SOAPEncoding.hpp>

Inheritance diagram for SOAPEncoding::

SerializerFactory List of all members.

Public Methods

 SOAPEncoding ()
 ~SOAPEncoding ()
const std::string Serialize (const void *val)
 Serialize/converts a C++ object to an XML representation. More...

void* Deserialize (std::string &val)
 Deserialize/converts an XML representation to a C++ object. More...


Private Attributes

char buf [100]
 Temporary buffer to manage encoding/decoding. More...


Detailed Description

template<typename T> class SOAPEncoding

preimplementation of the SerializerFactory interface for predefined types.

This is the preimplementation of the SerializerFactory interface for predefined types. And is used to serialize/deserialize predefined types when encoding and decoding these types from/to SOAP types (xml). If SOAPEncoding<T> is undefined for user defined classes then user have to implement it. Look in class SOAPEncoding<T> for examples.

Definition at line 85 of file SOAPEncoding.hpp.


Constructor & Destructor Documentation

template<typename T>
SOAPEncoding<T>::SOAPEncoding<T> ( ) [inline]
 

Definition at line 88 of file SOAPEncoding.hpp.

template<typename T>
SOAPEncoding<T>::~SOAPEncoding<T> ( ) [inline]
 

Definition at line 89 of file SOAPEncoding.hpp.


Member Function Documentation

template<>
void * SOAPEncoding::Deserialize ( std::string & val ) [virtual]
 

Deserialize/converts an XML representation to a C++ object.

Deserialize/converts an XML representation to a C++ object using a specific XML processing mechanism and based on the specified type mapping and encoding style.

Reimplemented from SerializerFactory.

Definition at line 135 of file SOAPEncoding.cpp.

template<>
const std::string SOAPEncoding::Serialize ( const void * val ) [virtual]
 

Serialize/converts a C++ object to an XML representation.

Serialize/converts a C++ object to an XML representation using a specific XML processing mechanism and based on the specified type mapping and encoding style.

Reimplemented from SerializerFactory.

Definition at line 72 of file SOAPEncoding.cpp.


Member Data Documentation

template<typename T>
char SOAPEncoding<T>::buf [private]
 

Temporary buffer to manage encoding/decoding.

Definition at line 110 of file SOAPEncoding.hpp.


The documentation for this class was generated from the following files: Axis C++ Client Lib - User's Guide

Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved