All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

KnowledgeInterfaces Class CATVisitorAdapter

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---KnowledgeInterfaces.CATIVisitor
        |
        +---CATVisitorAdapter
 

Usage: you can derive this class.


public class CATVisitorAdapter

CAA Adapter to CATIVisitor Interface.
Role: This class should be derived to implement features extension to CATIVisitor.

See also:
CATIVisitor


Constructor and Destructor Index


o CATVisitorAdapter()
Constructs the extension.
o ~CATVisitorAdapter()
Deletes the extension.

Method Index


o SpecialDataNeeded()
In some cases, special data is needed to be visited.
o Visit(CATBaseUnknown*)
Operates on the submitted object and returns a continuation code.
o VisitPublisherForRecursion(CATIParmPublisher_var&)
For optimization purpose.

Constructor and Destructor


o CATVisitorAdapter
public CATVisitorAdapter()
Constructs the extension.
o ~CATVisitorAdapter
public virtual ~CATVisitorAdapter()
Deletes the extension.

Methods


o SpecialDataNeeded
public virtual const CATListOfCATUnicodeString* SpecialDataNeeded()
In some cases, special data is needed to be visited.
Returns:
NULL if no special data is to be visited, else a list of strings containing format specifications (these formats have to be discussed between callers and providers)
o Visit
public virtual HRESULT Visit(CATBaseUnknown* iInstance)
Operates on the submitted object and returns a continuation code.
Parameters:
iInstance
Object to be performed on.
Returns:
S_OK to continue the scan, E_FAIL to stop.
o VisitPublisherForRecursion
public virtual HRESULT VisitPublisherForRecursion( const CATIParmPublisher_var& publisher)
For optimization purpose. if VisitChildren is called with recursive argument, allows to control if given publisher is to be visited
Parameters:
the
tested publisher
Returns:
S_OK is the publisher is to be visited, E_FAIL else

This object is included in the file: CATVisitorAdapter.h
If needed, your Imakefile.mk should include the module: KnowledgeItf

Copyright © 2003, Dassault Systèmes. All rights reserved.