Public Member Functions

XMLRPC::XMLRPCArray Struct Reference

#include <xmlrpc.h>

Inheritance diagram for XMLRPC::XMLRPCArray:
Inheritance graph
[legend]
Collaboration diagram for XMLRPC::XMLRPCArray:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XMLRPCArray ()
 XMLRPCArray (const_XMLPos pos)

Detailed Description

Definition at line 197 of file xmlrpc.h.


Constructor & Destructor Documentation

XMLRPC::XMLRPCArray::XMLRPCArray (  ) [inline]

Definition at line 199 of file xmlrpc.h.

{}
XMLRPC::XMLRPCArray::XMLRPCArray ( const_XMLPos  pos )

Definition at line 182 of file xmlrpc.cpp.

References XMLRPC::XMLRPCValue::get_any(), and XMLStorage::const_XMLPos::go_down().

{
    if (pos.go_down("data")) {
        const XMLNode::Children& values = pos->get_children();

        for(XMLNode::Children::const_iterator it=values.begin(); it!=values.end(); ++it) {
            assert(**it=="value");

            string value = XMLRPCValue::get_any(*it);

            push_back(value);
        }
    }
}

Here is the call graph for this function:


The documentation for this struct was generated from the following files: