Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

saxemitter.cpp File Reference

Definition of SAXEmitter class methods. More...

#include "saxemitter.h"

Go to the source code of this file.

Defines

#define SAFE_CALL_RECEPTOR(x)
 Call given method of the receptor in a safe way. Calls the method x of the saxReceptor only if saxReceptor has been initialized. More...

#define SAFE_CALL_RECEPTOR_RETURN(x)
 Call given method of the receptor and return its return value. If saxReceptor has been initialized, this macro returns the return value of its method x, otherwise it returns 1. More...


Detailed Description

Definition of SAXEmitter class methods.

This file contains the definition of SAXEmitter class methods.

Definition in file saxemitter.cpp.


Define Documentation

#define SAFE_CALL_RECEPTOR  
 

Value:

if (saxReceptor)                        \
  saxReceptor->x;
Call given method of the receptor in a safe way. Calls the method x of the saxReceptor only if saxReceptor has been initialized.

Parameters:
x  The method of the receptor.

Definition at line 40 of file saxemitter.cpp.

Referenced by SAXEmitter::characterData, SAXEmitter::comment, SAXEmitter::defaultHandler, SAXEmitter::endCDATASection, SAXEmitter::endDoctypeDecl, SAXEmitter::endElement, SAXEmitter::entityDecl, SAXEmitter::notationDecl, SAXEmitter::processingInstruction, SAXEmitter::reportError, SAXEmitter::startCDATASection, SAXEmitter::startDoctypeDecl, SAXEmitter::startElement, and SAXEmitter::xmlDecl.

#define SAFE_CALL_RECEPTOR_RETURN  
 

Value:

if (saxReceptor)                        \
  return saxReceptor->x;                \
else                                    \
  return 1;
Call given method of the receptor and return its return value. If saxReceptor has been initialized, this macro returns the return value of its method x, otherwise it returns 1.

Parameters:
x  The method of the receptor.

Definition at line 52 of file saxemitter.cpp.

Referenced by SAXEmitter::unknownEncoding.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002