Rogue Wave Views |
Rogue Wave Views Documentation Home |
Interface for XML CharRefs. More...
#include <ilog/xml.h>
Public Member Functions | |
virtual int | getRefCode () const =0 |
Retrieves the character code. More... | |
virtual const char * | getRefName () const =0 |
Retrieves the name of this CharRef . More... | |
virtual Type | getType () const |
Retrieves the type of this element. More... | |
virtual void | setRefCode (int code)=0 |
Sets the character code. More... | |
virtual void | setRefName (const char *name) |
Sets the CharRef name. More... | |
virtual void | storeRefName (char *name)=0 |
Sets the CharRef name. More... | |
Public Member Functions inherited from IlXmlNodeI | |
virtual std::ostream & | write (std::ostream &stream) const =0 |
Writes the XML code for this node. More... | |
Additional Inherited Members | |
Public Types inherited from IlXmlNodeI | |
enum | Type { Attribute, Element, Text, Comment, CData, PI, CharRef, EntityRef } |
The different types of XML nodes. More... | |
Interface for XML CharRefs.
Library: ilog
This class is an interface that describes an XML character reference node.
|
pure virtual |
Retrieves the character code.
0
if this CharRef
does not correspond to a code (then getRefName()
returns a meaningful value). getRefName()
. Implemented in IlXmlCharRef.
|
pure virtual |
Retrieves the name of this CharRef
.
CharRef
. The user must not modify or delete the returned string. This is meaningful only if this CharRef
does not correspond to a character code. Implemented in IlXmlCharRef.
|
virtual |
|
pure virtual |
Sets the character code.
code | The new character code for this CharRef . |
Implemented in IlXmlCharRef.
|
virtual |
Sets the CharRef
name.
name | The new name of this CharRef . The default implementation calls storeRefName() with a copy of the string name. |
|
pure virtual |
Sets the CharRef
name.
name | The new name of this CharRef . This string is not copied before it is stored. |
Implemented in IlXmlCharRef.
© Copyright 2015, 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.