MappingSAXHandler Class Reference

#include <mappingsaxhandler.h>

Collaboration diagram for MappingSAXHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MappingSAXHandler (MappingFactory *factory, side_t side)
virtual ~MappingSAXHandler ()
MappingContainergetRoot ()
channelList_t getChannelList ()
void startMappingElement (const XERCES_CPP_NAMESPACE::Attributes &attributes)
void startInstructionElement (const XERCES_CPP_NAMESPACE::Attributes &)
void startMapElement (const XERCES_CPP_NAMESPACE::Attributes &attributes)
void startPortElement (const XERCES_CPP_NAMESPACE::Attributes &attributes)
void endMappingElement ()
void endInstructionElement ()
void endMapElement ()
void endPortElement ()
void startDocument ()
void endDocument ()
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attributes)
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
void characters (const XMLCh *const chars, const unsigned int length)

Public Attributes

MappingFactoryfactory
side_t side
int nextChannelId
MappingContainerroot
channelList_t channelList
int depth
BasicSmartPointer< InstructionContextinstrContext
std::stack< MappingObj * > context
bool commChannelMap

Constructor & Destructor Documentation

MappingSAXHandler::MappingSAXHandler MappingFactory factory,
side_t  side
 

Construct a XercesC MappingSAXHandler.

Parameters:
factory The MappingFactory used to created the mapping data structure.
side The mapping side to construct. Either SOURCE_SIDE or DEST_SIDE.

MappingSAXHandler::~MappingSAXHandler  )  [virtual]
 


Member Function Documentation

MappingContainer* MappingSAXHandler::getRoot  )  [inline]
 

channelList_t MappingSAXHandler::getChannelList  )  [inline]
 

void MappingSAXHandler::startMappingElement const XERCES_CPP_NAMESPACE::Attributes &  attributes  ) 
 

void MappingSAXHandler::startInstructionElement const XERCES_CPP_NAMESPACE::Attributes &   ) 
 

void MappingSAXHandler::startMapElement const XERCES_CPP_NAMESPACE::Attributes &  attributes  ) 
 

void MappingSAXHandler::startPortElement const XERCES_CPP_NAMESPACE::Attributes &  attributes  ) 
 

void MappingSAXHandler::endMappingElement  ) 
 

Pop the last mapping element off the stack and pop the instruction context.

void MappingSAXHandler::endInstructionElement  ) 
 

This function does nothing it is hear for the purpose of symmetry.

void MappingSAXHandler::endMapElement  ) 
 

Pop the last map element and its instruction context.

void MappingSAXHandler::endPortElement  ) 
 

This function does nothing it is hear for the purpose of symmetry.

void MappingSAXHandler::startDocument  ) 
 

Initialized the mapping data structure.

void MappingSAXHandler::endDocument  ) 
 

Do nothing.

void MappingSAXHandler::startElement const XMLCh *const   uri,
const XMLCh *const   localname,
const XMLCh *const   qname,
const XERCES_CPP_NAMESPACE::Attributes &  attributes
 

void MappingSAXHandler::endElement const XMLCh *const   _uri,
const XMLCh *const   _localname,
const XMLCh *const   _qname
 

End the last mapping element.

void MappingSAXHandler::characters const XMLCh *const   chars,
const unsigned int  length
 

Do nothing.


Member Data Documentation

MappingFactory* MappingSAXHandler::factory
 

The factory for creating mapping objects.

side_t MappingSAXHandler::side
 

Specifies the side for which we are parsing.

int MappingSAXHandler::nextChannelId
 

The next channel id to use.

MappingContainer* MappingSAXHandler::root
 

The root element of the mapping tree.

channelList_t MappingSAXHandler::channelList
 

A list of ChannelMapping pointers.

int MappingSAXHandler::depth
 

The current parsing depth.

BasicSmartPointer<InstructionContext> MappingSAXHandler::instrContext
 

The current instruction context.

std::stack<MappingObj *> MappingSAXHandler::context
 

The SAX parsing stack. The top element is the current mapping object.

bool MappingSAXHandler::commChannelMap
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 5 21:04:25 2006 for Sesame by  doxygen 1.4.6