NodeInNodeList Class Reference

#include <NodeInNodeList.h>

Collaboration diagram for NodeInNodeList:

Collaboration graph
[legend]

List of all members.


Detailed Description

The NodeInNodeList class is a predicate class for use with standard C++ algorithms, such as remove_if, during path development operations. The class provides an operator () and a SetNodeList function. The SetNodeList function is used to specify a list of smart pointers to CPKIFCertificateNodeEntry objects. The operator () function is invoked by standard C++ algorithms and returns true if the certificate passed as a parameter is present in the node list passed to the SetNodeList function and false otherwise.

TSP-enforcing: No

Definition at line 33 of file NodeInNodeList.h.


Public Member Functions

 NodeInNodeList ()
 NodeInNodeList (const NodeInNodeList &ext)
 ~NodeInNodeList ()
bool operator() (const CPKIFCertificateNodeEntryPtr &test)
void SetNodeList (CPKIFCertificateNodeList *nodeList)
void SetNodeList (CPKIFNameAndKeyWithScoreList *nodeList)

Constructor & Destructor Documentation

NodeInNodeList::NodeInNodeList (  ) 

Interface: Subsystem

Default constructor

Returns:
None

Definition at line 28 of file NodeInNodeList.cpp.

NodeInNodeList::NodeInNodeList ( const NodeInNodeList ext  ) 

Interface: Subsystem

Copy constructor for NodeInNodeList class

Returns:
None

Definition at line 40 of file NodeInNodeList.cpp.

References m_impl.

NodeInNodeList::~NodeInNodeList (  ) 

Interface: Subsystem

Default destructor

Returns:
None

Definition at line 53 of file NodeInNodeList.cpp.


Member Function Documentation

bool NodeInNodeList::operator() ( const CPKIFCertificateNodeEntryPtr testNode  ) 

Interface: Subsystem

This function determines if there is an entry in a node list with the same DN and public key as the test cert.

Returns:
True if there is a node with the same DN, false otherwise

Definition at line 71 of file NodeInNodeList.cpp.

void NodeInNodeList::SetNodeList ( CPKIFCertificateNodeList nodeList  ) 

Interface: Subsystem

This function sets the node list that will be associated with this instance

Returns:
None
Parameters:
nodeList  [in] A pointer to CPKIFCertificateNodeList obejct

Definition at line 122 of file NodeInNodeList.cpp.

void NodeInNodeList::SetNodeList ( CPKIFNameAndKeyWithScoreList nodeList  ) 

Interface: Subsystem

This function sets the node list that will be associated with this instance

Returns:
None
Parameters:
nodeList  [in] A pointer to CPKIFCertificateNodeList obejct

Definition at line 136 of file NodeInNodeList.cpp.


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

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