Modeler Extensions Framework
XMLTextIterator Class Reference

Public Member Functions

 XMLTextIterator (CLEMEXTXMLIterator *)
 
 XMLTextIterator (const XMLTextIterator &other)
 
XMLTextIteratoroperator= (const XMLTextIterator &other)
 
virtual ~XMLTextIterator ()
 
bool hasMore ()
 
const char * next ()
 
void deleteCurrentItem ()
 
virtual void close ()
 

Detailed Description

An iterator used to return all CDATA sections

Definition at line 90 of file XMLHelper.h.

Constructor & Destructor Documentation

XMLTextIterator ( CLEMEXTXMLIterator *  )
XMLTextIterator ( const XMLTextIterator other)

copy constructor (new iterator shares the underlying resource with original)

Parameters
otherthe document to copy
virtual ~XMLTextIterator ( )
virtual

Member Function Documentation

virtual void close ( )
virtual

close the iterator

void deleteCurrentItem ( )

delete the current item

bool hasMore ( )

any remaining CDATA sections to return?

Returns
true if the iterator has further CDATA sections to return
const char* next ( )

get the next CDATA section

Returns
a pointer to the next CDATA string, or NULL if there are no further CDATA sections
XMLTextIterator& operator= ( const XMLTextIterator other)

assignment operator (new iterator shares the underlying resource with original)

Parameters
otherthe document to copy

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