SubtreeMatch Class Reference

#include <SubtreeMatch.h>

Collaboration diagram for SubtreeMatch:

Collaboration graph
[legend]

List of all members.


Detailed Description

This is a predicate class which compares two general subtrees, used in finding the intersection of a set of subtrees

TSP-enforcing: No

Definition at line 23 of file SubtreeMatch.h.


Public Member Functions

bool operator() (const CPKIFGeneralSubtreePtr &lhs)
void SetRHS (CPKIFGeneralSubtreePtr &rhs)

Member Function Documentation

bool SubtreeMatch::operator() ( const CPKIFGeneralSubtreePtr &  lhs  ) 

Interface: External

() operator

Returns:
true if m_rhs excludes lhs, false if they're compatible or ambiguous
Exceptions:
CPKIFException(COMMON_UNSUPPORTED_CHOICE) 

Definition at line 31 of file SubtreeMatch.cpp.

References COMMON_UNSUPPORTED_CHOICE, CPKIFGeneralName::DIRECTORYNAME, CPKIFGeneralSubtree::IsSupported(), CPKIFGeneralSubtree::NO_MATCH, and TOOLKIT_PATH_MISC.

void SubtreeMatch::SetRHS ( CPKIFGeneralSubtreePtr &  rhs  ) 

Interface: External

This function sets rhs value for theSubtreeMatch

Returns:
Boolean value
Parameters:
rhs  [in] A smart pointer to CPKIFGeneralSubtree object

Definition at line 80 of file SubtreeMatch.cpp.

Referenced by IntersectSubtrees().


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:21:09 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6