Main Page | Class Hierarchy | Class List | File List | Class Members

XSoap12TypeTraits.hpp

00001 #ifndef XSOAP12_TYPE_TRAITS_HPP 00002 #define XSOAP12_TYPE_TRAITS_HPP 00003 00004 00005 00006 #include <proteus/QualifiedName.h> 00007 #include "XSoap12NS.hpp" 00008 00009 00010 00011 namespace xsoap { 00012 00013 00014 proteus::QualifiedName xsd_typename(const wsit::Vobject& v) { 00015 return v.typeName(); 00016 } 00017 00018 00019 proteus::QualifiedName xsd_typename(const int& v) { 00020 return proteus::QualifiedName(SCHEMA_NS,"int"); 00021 } 00022 00023 00024 00025 proteus::QualifiedName xsd_typename(const signed char& v) { 00026 return proteus::QualifiedName(SCHEMA_NS,"short"); 00027 } 00028 00029 00030 proteus::QualifiedName xsd_typename(const unsigned& v) { 00031 return proteus::QualifiedName(SCHEMA_NS,"unsignedInt"); 00032 } 00033 00034 proteus::QualifiedName xsd_typename(const unsigned char& v) { 00035 return proteus::QualifiedName(SCHEMA_NS,"unsignedShort"); 00036 } 00037 00038 proteus::QualifiedName xsd_typename(const unsigned short v) { 00039 return proteus::QualifiedName(SCHEMA_NS,"unsignedShort"); 00040 } 00041 00042 proteus::QualifiedName xsd_typename(const short& v) { 00043 return proteus::QualifiedName(SCHEMA_NS,"short"); 00044 } 00045 00046 proteus::QualifiedName xsd_typename(const long long& v) { 00047 return proteus::QualifiedName(SCHEMA_NS,"long"); 00048 } 00049 00050 proteus::QualifiedName xsd_typename(const unsigned long long& v) { 00051 return proteus::QualifiedName(SCHEMA_NS,"unsignedLong"); 00052 } 00053 00054 proteus::QualifiedName xsd_typename(const float& v) { 00055 return proteus::QualifiedName(SCHEMA_NS,"float"); 00056 } 00057 00058 proteus::QualifiedName xsd_typename(const double& v) { 00059 return proteus::QualifiedName(SCHEMA_NS,"double"); 00060 } 00061 00062 proteus::QualifiedName xsd_typename(const bool& v) { 00063 return proteus::QualifiedName(SCHEMA_NS,"boolean"); 00064 } 00065 00066 proteus::QualifiedName xsd_typename(const char*& v) { 00067 return proteus::QualifiedName(SCHEMA_NS,"string"); 00068 } 00069 00070 proteus::QualifiedName xsd_typename(const std::string& v) { 00071 return proteus::QualifiedName(SCHEMA_NS,"string"); 00072 } 00073 00074 00075 } 00076 00077 00078 00079 #endif

Generated on Sat Jun 5 00:52:18 2004 for XSoap-C++ by doxygen 1.3.7