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

HrefIdMap Class Reference

#include <HrefIdMap.h>

List of all members.

Public Methods

void AddHrefId (HrefId *item)
void RemoveHrefId (HrefId *item)
void DeleteAllHrefId ()
void ReplaceHrefId (HrefId *item, HrefId *newItem)
HrefIdGetFirstHrefId () const
HrefIdGetLastHrefId () const
HrefIdGetNextHrefId (HrefId *pos) const
HrefIdGetPrevHrefId (HrefId *pos) const
int GetHrefIdCount () const
 HrefIdMap ()
 Constructor method. More...

virtual ~HrefIdMap ()
 Destructor method. More...

void Build (DOM_Node &rNode)
void RealNode (DOM_Node &rRealNode, DOM_Node &rFakeNode)
 Look up the "fake" node in the map if it contains a "href" attribute and substitute the "real" node instead. More...

void RealNode (DOM_Element &rElement, DOM_Node &rFakeNode)
 Look up the "fake" node in the map if it contains a "href" attribute and substitute the "real" node instead. More...

HrefIdFindEqualOrBiggerHrefId (const CString &id)
HrefIdFindEqualOrSmallerHrefId (const CString &id)
HrefIdFindHrefId (const CString &id)
HrefIdFindReverseHrefId (const CString &id)

Private Methods

void ConstructorInclude ()
 Method which must be called first in a constructor. More...

void DestructorInclude ()
 Method which must be called first in a destructor. More...


Private Attributes

HrefId_topHrefId
int _countHrefId


Constructor & Destructor Documentation

HrefIdMap::HrefIdMap ( )
 

Constructor method.

Definition at line 125 of file HrefIdMap.cpp.

HrefIdMap::~HrefIdMap ( ) [virtual]
 

Destructor method.

Definition at line 136 of file HrefIdMap.cpp.


Member Function Documentation

void HrefIdMap::AddHrefId ( HrefId * item )
 

Definition at line 435 of file HrefIdMap.cpp.

Referenced by HrefId::ConstructorInclude(), and ReplaceHrefId().

void HrefIdMap::Build ( DOM_Node & rNode )
 

Definition at line 144 of file HrefIdMap.cpp.

Referenced by AnyInterface::invoke(), and SOAPBridge_SOAPCall_i::invokeAction().

void HrefIdMap::ConstructorInclude ( ) [private]
 

Method which must be called first in a constructor.

Definition at line 201 of file HrefIdMap.cpp.

void HrefIdMap::DeleteAllHrefId ( )
 

Definition at line 1002 of file HrefIdMap.cpp.

void HrefIdMap::DestructorInclude ( ) [private]
 

Method which must be called first in a destructor.

Definition at line 213 of file HrefIdMap.cpp.

Referenced by ~HrefIdMap().

HrefId * HrefIdMap::FindEqualOrBiggerHrefId ( const CString & id )
 

Definition at line 223 of file HrefIdMap.cpp.

HrefId * HrefIdMap::FindEqualOrSmallerHrefId ( const CString & id )
 

Definition at line 275 of file HrefIdMap.cpp.

HrefId * HrefIdMap::FindHrefId ( const CString & id )
 

Definition at line 327 of file HrefIdMap.cpp.

Referenced by RealNode().

HrefId * HrefIdMap::FindReverseHrefId ( const CString & id )
 

Definition at line 380 of file HrefIdMap.cpp.

HrefId * HrefIdMap::GetFirstHrefId ( ) const
 

Definition at line 1061 of file HrefIdMap.cpp.

Referenced by HrefIdMap::HrefIdIterator::IsFirst().

int HrefIdMap::GetHrefIdCount ( ) const
 

Definition at line 1181 of file HrefIdMap.cpp.

HrefId * HrefIdMap::GetLastHrefId ( ) const
 

Definition at line 1078 of file HrefIdMap.cpp.

Referenced by HrefIdMap::HrefIdIterator::IsLast().

HrefId * HrefIdMap::GetNextHrefId ( HrefId * pos ) const
 

Definition at line 1095 of file HrefIdMap.cpp.

Referenced by HrefIdMap::HrefIdIterator::Check(), FindEqualOrBiggerHrefId(), FindEqualOrSmallerHrefId(), FindReverseHrefId(), and HrefIdMap::HrefIdIterator::operator++().

HrefId * HrefIdMap::GetPrevHrefId ( HrefId * pos ) const
 

Definition at line 1138 of file HrefIdMap.cpp.

Referenced by HrefIdMap::HrefIdIterator::Check(), FindEqualOrBiggerHrefId(), FindEqualOrSmallerHrefId(), FindHrefId(), and HrefIdMap::HrefIdIterator::operator--().

void HrefIdMap::RealNode ( DOM_Element & rElement,
DOM_Node & rFakeNode )
 

Look up the "fake" node in the map if it contains a "href" attribute and substitute the "real" node instead.

Assign either the found "real" node or the passed node to rElement, if it is indeed a DOM_Element type node.

Definition at line 185 of file HrefIdMap.cpp.

void HrefIdMap::RealNode ( DOM_Node & rRealNode,
DOM_Node & rFakeNode )
 

Look up the "fake" node in the map if it contains a "href" attribute and substitute the "real" node instead.

If the passed node has no "href" attribute, it is returned unchanged.

Definition at line 156 of file HrefIdMap.cpp.

Referenced by CorbaSoap::FillInDynAny(), RealNode(), AnyInterface::invoke(), and SOAPBridge_SOAPCall_i::invokeAction().

void HrefIdMap::RemoveHrefId ( HrefId * item )
 

Definition at line 652 of file HrefIdMap.cpp.

Referenced by HrefId::DestructorInclude(), and ReplaceHrefId().

void HrefIdMap::ReplaceHrefId ( HrefId * item,
HrefId * newItem )
 

Definition at line 1013 of file HrefIdMap.cpp.


Member Data Documentation

int HrefIdMap::_countHrefId [private]
 

Definition at line 63 of file HrefIdMap.h.

HrefId * HrefIdMap::_topHrefId [private]
 

Definition at line 62 of file HrefIdMap.h.


The documentation for this class was generated from the following files:
This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.