Public Member Functions

XMLStorage::XMLNode::AttributeMap Struct Reference

map of XML node attributes More...

#include <xmlstorage.h>

Inheritance diagram for XMLStorage::XMLNode::AttributeMap:
Inheritance graph
[legend]
Collaboration diagram for XMLStorage::XMLNode::AttributeMap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

XS_String get (const char *x, LPCXSSTR def=XS_EMPTY_STR) const

Detailed Description

map of XML node attributes

Definition at line 1418 of file xmlstorage.h.


Member Function Documentation

XS_String XMLStorage::XMLNode::AttributeMap::get ( const char *  x,
LPCXSSTR  def = XS_EMPTY_STR 
) const [inline]

Definition at line 1420 of file xmlstorage.h.

References XMLStorage::XS_StringMap::end(), and XMLStorage::XS_StringMap::find().

Referenced by XMLStorage::XMLNode::operator[](), and XMLStorage::ParseContext::process_next().

        {
            const_iterator found = find(x);

            if (found != end())
                return found->second;
            else
                return def;
        }

Here is the call graph for this function:

Here is the caller graph for this function:


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

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage