AWS SDK for C++  1.8.20
AWS SDK for C++
Public Member Functions | Friends | List of all members
Aws::Utils::Xml::XmlNode Class Reference

#include <XmlSerializer.h>

Public Member Functions

 XmlNode (const XmlNode &other)
 
XmlNodeoperator= (const XmlNode &other)
 
const Aws::String GetName () const
 
void SetName (const Aws::String &name)
 
const Aws::String GetAttributeValue (const Aws::String &name) const
 
void SetAttributeValue (const Aws::String &name, const Aws::String &value)
 
Aws::String GetText () const
 
void SetText (const Aws::String &textValue)
 
bool HasNextNode () const
 
XmlNode NextNode () const
 
XmlNode NextNode (const char *name) const
 
XmlNode NextNode (const Aws::String &name) const
 
XmlNode FirstChild () const
 
XmlNode FirstChild (const char *name) const
 
XmlNode FirstChild (const Aws::String &name) const
 
bool HasChildren () const
 
XmlNode Parent () const
 
XmlNode CreateChildElement (const Aws::String &name)
 
XmlNode CreateSiblingElement (const Aws::String &name)
 
bool IsNull ()
 

Friends

class XmlDocument
 

Detailed Description

Node in an Xml Document

Definition at line 52 of file XmlSerializer.h.

Constructor & Destructor Documentation

◆ XmlNode()

Aws::Utils::Xml::XmlNode::XmlNode ( const XmlNode other)

copies node and document over.

Member Function Documentation

◆ CreateChildElement()

XmlNode Aws::Utils::Xml::XmlNode::CreateChildElement ( const Aws::String name)

Creates a new child element to this with name

◆ CreateSiblingElement()

XmlNode Aws::Utils::Xml::XmlNode::CreateSiblingElement ( const Aws::String name)

Creates a new child element to this with name

◆ FirstChild() [1/3]

XmlNode Aws::Utils::Xml::XmlNode::FirstChild ( ) const

return the first child node of this node.

◆ FirstChild() [2/3]

XmlNode Aws::Utils::Xml::XmlNode::FirstChild ( const char *  name) const

returns the first child node of this node that has name.

◆ FirstChild() [3/3]

XmlNode Aws::Utils::Xml::XmlNode::FirstChild ( const Aws::String name) const

returns the first child node of this node that has name.

◆ GetAttributeValue()

const Aws::String Aws::Utils::Xml::XmlNode::GetAttributeValue ( const Aws::String name) const

Get Value of an attribute specified by name.

◆ GetName()

const Aws::String Aws::Utils::Xml::XmlNode::GetName ( ) const

Get the name of the node.

◆ GetText()

Aws::String Aws::Utils::Xml::XmlNode::GetText ( ) const

Get the inner text of the node (potentially includes other nodes)

◆ HasChildren()

bool Aws::Utils::Xml::XmlNode::HasChildren ( ) const

returns true if this node has child nodes.

◆ HasNextNode()

bool Aws::Utils::Xml::XmlNode::HasNextNode ( ) const

returns true if this node has another sibling.

◆ IsNull()

bool Aws::Utils::Xml::XmlNode::IsNull ( )

If current node is valid.

◆ NextNode() [1/3]

XmlNode Aws::Utils::Xml::XmlNode::NextNode ( ) const

returns the next sibling.

◆ NextNode() [2/3]

XmlNode Aws::Utils::Xml::XmlNode::NextNode ( const char *  name) const

returns the next sibling that matches node name.

◆ NextNode() [3/3]

XmlNode Aws::Utils::Xml::XmlNode::NextNode ( const Aws::String name) const

returns the next sibling that matches node name.

◆ operator=()

XmlNode& Aws::Utils::Xml::XmlNode::operator= ( const XmlNode other)

copies node and document over.

◆ Parent()

XmlNode Aws::Utils::Xml::XmlNode::Parent ( ) const

returns the parent of this node.

◆ SetAttributeValue()

void Aws::Utils::Xml::XmlNode::SetAttributeValue ( const Aws::String name,
const Aws::String value 
)

Set an attribute at name to value

◆ SetName()

void Aws::Utils::Xml::XmlNode::SetName ( const Aws::String name)

Set the name of the node.

◆ SetText()

void Aws::Utils::Xml::XmlNode::SetText ( const Aws::String textValue)

Set the inner text of the node

Friends And Related Function Documentation

◆ XmlDocument

friend class XmlDocument
friend

Definition at line 148 of file XmlSerializer.h.


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