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

Attributes.hpp

00001 #ifndef XSOAP_ATTRIBUTES_H 00002 #define XSOAP_ATTRIBUTES_H 00003 00004 00005 #include <string> 00006 #include <vector> 00007 #include <utility> 00008 00009 #include <proteus/QualifiedName.h> 00010 00011 00012 typedef std::pair<proteus::QualifiedName*, std::string> attr_val_t; 00013 typedef std::vector<attr_val_t> attribute_list_t; 00014 00015 00016 inline void add_attribute(const attr_val_t& v, attribute_list_t& attrs) { 00017 attrs.push_back(v); 00018 } 00019 00020 inline void add_attribute(proteus::QualifiedName* n, 00021 std::string v, 00022 attribute_list_t& attrs) { 00023 attrs.push_back(attr_val_t(n,v)); 00024 } 00025 00026 00027 00028 #endif 00029 00030 00031 00032 00033

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