rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlXmlCDataI Class Reference

Interface for XML processing instruction entities. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlCDataI:
IlXmlNodeI IlXmlCData

List of all members.

Public Member Functions

virtual const char * getData () const =0
 Retrieves the data.
virtual Type getType () const
 Retrieves the type of this element.
virtual void setData (const char *data)
 Sets the data.
virtual void storeData (char *data)=0
 Sets the data.
virtual ostream & write (ostream &) const
 Writes the XML code for this node.

Detailed Description

Interface for XML processing instruction entities.

Library: ilog

This class is an interface that describes an XML CData node.


Member Function Documentation

virtual const char* IlXmlCDataI::getData (  )  const [pure virtual]

Retrieves the data.

Returns:
The data. The user must not modify or delete the returned string.

Implemented in IlXmlCData.

virtual Type IlXmlCDataI::getType (  )  const [virtual]

Retrieves the type of this element.

Returns:
The type of this element.

Implements IlXmlNodeI.

virtual void IlXmlCDataI::setData ( const char *  data  )  [virtual]

Sets the data.

Parameters:
data The new data of this PI. The default implementation calls storeData with a copy of the string data.
virtual void IlXmlCDataI::storeData ( char *  data  )  [pure virtual]

Sets the data.

Parameters:
data The new data of this PI. This string is not copied before it is stored.

Implemented in IlXmlCData.

virtual ostream& IlXmlCDataI::write ( ostream &  stream  )  const [virtual]

Writes the XML code for this node.

Each subclass of this class implements its own version of write, depending on its type.

Parameters:
stream The output stream where the XML code will be sent.
Returns:
A reference to the provided output stream.

Implements IlXmlNodeI.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.