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

AttList Class Reference

Attribute List for XML. More...

#include <AttList.hpp>

List of all members.

Public Methods

 AttList ()
void Add (ax::QName &name, const std::string &value)
 Add an attribute to the List. More...

int getLength ()
 Get the length of the attribute List. More...

const std::string getName (int i)
 Get attribute qualified name for index i. More...

const std::string getValue (int i)
 Get attribute value for index i. More...


Private Types

typedef std::pair<ax::QName,
std::string> 
Attrib_t
 define the type for holding attributes. More...


Private Attributes

std::vector<Attrib_tm_Attribs
 List of attributes. More...


Detailed Description

Attribute List for XML.

This is defined for use with Axis as Attribute list to form a SOAP-Envelop.

Definition at line 81 of file AttList.hpp.


Member Typedef Documentation

typedef std::pair< ax::QName, std::string > AttList::Attrib_t<ax::QName, std::string> [private]
 

define the type for holding attributes.

Definition at line 99 of file AttList.hpp.


Constructor & Destructor Documentation

AttList::AttList ( ) [inline]
 

Definition at line 84 of file AttList.hpp.


Member Function Documentation

void AttList::Add ( ax::QName & name,
const std::string & value ) [inline]
 

Add an attribute to the List.

Definition at line 87 of file AttList.hpp.

Referenced by RPCParam::Serialize().

int AttList::getLength ( ) [inline]
 

Get the length of the attribute List.

Definition at line 92 of file AttList.hpp.

Referenced by XMLSerializer::Append().

const std::string AttList::getName ( int i ) [inline]
 

Get attribute qualified name for index i.

Definition at line 94 of file AttList.hpp.

Referenced by XMLSerializer::Append().

const std::string AttList::getValue ( int i ) [inline]
 

Get attribute value for index i.

Definition at line 96 of file AttList.hpp.

Referenced by XMLSerializer::Append().


Member Data Documentation

std::vector< Attrib_t > AttList::m_Attribs<Attrib_t > [private]
 

List of attributes.

Definition at line 101 of file AttList.hpp.


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

Copyright © 2001 SL_OpenSource XML Project. All Rights Reserved