rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlXmlCharRef Class Reference

Default implementation of XML CharRefs. More...

#include <ilog/xml.h>

Inheritance diagram for IlXmlCharRef:
IlXmlCharRefI IlXmlNodeI

List of all members.

Public Member Functions

virtual int getRefCode () const
 Retrieves the character code.
virtual const char * getRefName () const
 Retrieves the name of this CharRef.
virtual void setRefCode (int code)
 Sets the character code.
virtual void storeRefName (char *)
 Sets the CharRef name.

Detailed Description

Default implementation of XML CharRefs.

Library: ilog

This class implements the interface IlXmlCharRefI to provide the basic functionality of XML CharRef or EntityRef nodes.


Member Function Documentation

virtual int IlXmlCharRef::getRefCode (  )  const [virtual]

Retrieves the character code.

Returns:
The character code, or 0 if this CharRef does not correspond to a code (then getRefName returns a meaningful value).
See also:
getRefName.

Implements IlXmlCharRefI.

virtual const char* IlXmlCharRef::getRefName (  )  const [virtual]

Retrieves the name of this CharRef.

Returns:
The name of this 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.

Implements IlXmlCharRefI.

virtual void IlXmlCharRef::setRefCode ( int  code  )  [virtual]

Sets the character code.

Parameters:
code The new character code for this CharRef.

Implements IlXmlCharRefI.

virtual void IlXmlCharRef::storeRefName ( char *  name  )  [virtual]

Sets the CharRef name.

Parameters:
comment The new name of this CharRef. This string is not copied before it is stored.

Implements IlXmlCharRefI.

 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.