mermaid::support::xml::XmlElementVector Class Reference

Class representing an XML Element vector. More...

#include <XmlElementVector.hpp>

Inheritance diagram for mermaid::support::xml::XmlElementVector:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::xml::XmlElementVector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

XmlElementVector getElementsWithName (string name)
 Generates an XmlElementVector that is a subset of.
shared_ptr< XmlElementgetFirstElementWithName (string name)
 Gets the first XmlElement that has the name.

Detailed Description

Class representing an XML Element vector.

Author:
Marco Barbosa

Definition at line 69 of file XmlElementVector.hpp.


Member Function Documentation

XmlElementVector XmlElementVector::getElementsWithName ( string  name  ) 

Generates an XmlElementVector that is a subset of.

the current one. The XmlElements inside the resulting XmlElementVector have their name equal to the string passed as argument.

Parameters:
name The name of the desired XmlElements
Returns:
The resulting XmlElementVector

Definition at line 43 of file XmlElementVector.cpp.

shared_ptr< XmlElement > XmlElementVector::getFirstElementWithName ( string  name  ) 

Gets the first XmlElement that has the name.

equal to the string passed as argument.

Parameters:
name The name of the desired XmlElement
Returns:
The desired XmlElement or NULL if it doesn't exist

Definition at line 63 of file XmlElementVector.cpp.

Generated on Fri Mar 4 22:15:54 2011 for MeRMaID::support by  doxygen 1.6.3