Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_DomElement Class Reference

#include <dom_element.h>

Inheritance diagram for CL_DomElement:

CL_DomNode List of all members.

Public Member Functions

 CL_DomElement ()
 Construction:.
 CL_DomElement (CL_DomDocument &doc, const std::string &tag_name)
 CL_DomElement (const CL_SharedPtr< CL_DomNode_Generic > &impl)
 ~CL_DomElement ()
std::string get_tag_name () const
 Attributes:.
bool has_attribute (const std::string &name) const
 Operations:.
std::string get_attribute (const std::string &name) const
std::string get_attribute (const std::string &name, const std::string &default_value) const
void set_attribute (const std::string &name, const std::string &value)
void remove_attribute (const std::string &name)
CL_DomNodeList get_elements_by_tag_name (const std::string &name)
void normalize ()
std::string get_text () const

Detailed Description

clanCore="XML" header=core.h

Definition at line 62 of file dom_element.h.


Constructor & Destructor Documentation

CL_DomElement::CL_DomElement  ) 
 

Construction:.

Definition at line 39 of file dom_element.cpp.

CL_DomElement::CL_DomElement CL_DomDocument doc,
const std::string &  tag_name
 

Definition at line 43 of file dom_element.cpp.

CL_DomElement::CL_DomElement const CL_SharedPtr< CL_DomNode_Generic > &  impl  ) 
 

Definition at line 49 of file dom_element.cpp.

CL_DomElement::~CL_DomElement  ) 
 

Definition at line 53 of file dom_element.cpp.


Member Function Documentation

std::string CL_DomElement::get_attribute const std::string &  name,
const std::string &  default_value
const
 

Definition at line 91 of file dom_element.cpp.

std::string CL_DomElement::get_attribute const std::string &  name  )  const
 

Definition at line 80 of file dom_element.cpp.

CL_DomNodeList CL_DomElement::get_elements_by_tag_name const std::string &  name  ) 
 

Definition at line 127 of file dom_element.cpp.

std::string CL_DomElement::get_tag_name  )  const
 

Attributes:.

Definition at line 60 of file dom_element.cpp.

std::string CL_DomElement::get_text  )  const
 

Definition at line 132 of file dom_element.cpp.

References CL_DomNode::get_first_child(), CL_DomNode::get_next_sibling(), CL_DomNode::get_node_value(), CL_DomNode::has_child_nodes(), CL_DomNode::is_null(), and CL_DomNode::is_text().

bool CL_DomElement::has_attribute const std::string &  name  )  const
 

Operations:.

Definition at line 69 of file dom_element.cpp.

void CL_DomElement::normalize  ) 
 

Definition at line 148 of file dom_element.cpp.

void CL_DomElement::remove_attribute const std::string &  name  ) 
 

Definition at line 119 of file dom_element.cpp.

void CL_DomElement::set_attribute const std::string &  name,
const std::string &  value
 

Definition at line 102 of file dom_element.cpp.

References CL_DomNode::get_owner_document(), and CL_DomNode::impl.


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:17 2005 for npcore by  doxygen 1.4.1