Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
ArcSec::XACMLTargetMatchGroup Class Reference

#include <XACMLTarget.h>

Collaboration diagram for ArcSec::XACMLTargetMatchGroup:
Collaboration graph

List of all members.

Public Member Functions

 XACMLTargetMatchGroup (Arc::XMLNode &node, EvaluatorContext *ctx)
virtual ~XACMLTargetMatchGroup ()
virtual MatchResult match (EvaluationCtx *ctx)

Private Attributes

Arc::XMLNode matchgrpnode
std::list< XACMLTargetMatch * > matches

Detailed Description

Definition at line 37 of file XACMLTarget.h.

Constructor & Destructor Documentation

Definition at line 116 of file XACMLTarget.cpp.

                                                                                 : matchgrpnode(node) {
  XMLNode cnd;
  std::string name;
  for(int i = 0;;i++ ) {
    cnd = node.Child(i);
    if(!cnd) break;
    name = cnd.Name();
    if(name.find("Match") != std::string::npos)
      matches.push_back(new XACMLTargetMatch(cnd, ctx));

Here is the call graph for this function:

Definition at line 128 of file XACMLTarget.cpp.

  while(!(matches.empty())) {
    XACMLTargetMatch* tm = matches.back();
    delete tm;

Member Function Documentation

Definition at line 136 of file XACMLTarget.cpp.

  MatchResult res;
  std::list<XACMLTargetMatch*>::iterator i;
  for(i = matches.begin(); i!= matches.end(); i++) {
    res = (*i)->match(ctx);
    if(res == MATCH) break;
  return res;

Member Data Documentation

Definition at line 45 of file XACMLTarget.h.

Definition at line 44 of file XACMLTarget.h.

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