code::XML::Document Class Reference

List of all members.

Detailed Description

An XML Document.

See also:
XML
Author:
Lakshman
Version:
Id
code_XML.h,v 1.11 2009/06/02 20:17:40 lakshman Exp


Public Member Functions

const XML::ElementgetRootElement () const
XML::ElementrootElement ()
bool isValid () const
 is there a valid root element for this document?
 Document ()
 creates an invalid document which can be set right by calling setRootElement
void setRootElement (SmartPtr< XML::Element > e)
 changes the root element of this document.
 Document (SmartPtr< XML::Element > &e)
 make a shallow copy of this element's data.


Constructor & Destructor Documentation

code::XML::Document::Document (  )  [inline]

creates an invalid document which can be set right by calling setRootElement

code::XML::Document::Document ( SmartPtr< XML::Element > &  e  )  [inline]

make a shallow copy of this element's data.


Member Function Documentation

const XML::Element& code::XML::Document::getRootElement (  )  const [inline]

bool code::XML::Document::isValid (  )  const [inline]

is there a valid root element for this document?

XML::Element& code::XML::Document::rootElement (  )  [inline]

void code::XML::Document::setRootElement ( SmartPtr< XML::Element e  )  [inline]

changes the root element of this document.


Generated on Fri May 4 13:40:13 2012 for WDSS-IIw2 by  doxygen 1.4.7