cinder::XmlTree::ParseOptions Class Reference

Options for XML parsing. Passed to the XmlTree constructor. More...

#include <Xml.h>

List of all members.

Public Member Functions

 ParseOptions ()
 Default options. Disables parsing comments and enables collapsing CDATA.
ParseOptionsparseComments (bool parse=true)
 Sets whether XML comments are parsed or not.
ParseOptionscollapseCData (bool collapse=true)
 Sets whether CDATA blocks are collapsed automatically or not.
bool getParseComments () const
 Returns whether XML comments are parsed or not.
void setParseComments (bool parseComments=true)
 Sets whether XML comments are parsed or not.
bool getCollapseCData () const
 Returns whether CDATA blocks are collapsed automatically or not.
void setCollapseCData (bool collapseCData=true)
 Sets whether CDATA blocks are collapsed automatically or not.

Detailed Description

Options for XML parsing. Passed to the XmlTree constructor.


Constructor & Destructor Documentation

cinder::XmlTree::ParseOptions::ParseOptions (  )

Default options. Disables parsing comments and enables collapsing CDATA.


Member Function Documentation

ParseOptions& cinder::XmlTree::ParseOptions::parseComments ( bool  parse = true )

Sets whether XML comments are parsed or not.

ParseOptions& cinder::XmlTree::ParseOptions::collapseCData ( bool  collapse = true )

Sets whether CDATA blocks are collapsed automatically or not.

bool cinder::XmlTree::ParseOptions::getParseComments (  ) const

Returns whether XML comments are parsed or not.

void cinder::XmlTree::ParseOptions::setParseComments ( bool  parseComments = true )

Sets whether XML comments are parsed or not.

bool cinder::XmlTree::ParseOptions::getCollapseCData (  ) const

Returns whether CDATA blocks are collapsed automatically or not.

void cinder::XmlTree::ParseOptions::setCollapseCData ( bool  collapseCData = true )

Sets whether CDATA blocks are collapsed automatically or not.


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