Logo Search packages:      
Sourcecode: condor version File versions  Download package

MultiProfile Class Reference

#include <multiProfile.h>

Inheritance diagram for MultiProfile:


List of all members.

Detailed Description

A BoolExpr in Disjunctive Profile Form, which is a disjunction of Profiles. Currently the only way to initialize a MultiProfile is with the ExprToMultiProfile method in the BoolExpr class.
See also:

Definition at line 32 of file multiProfile.h.

Public Member Functions

bool AddProfile (Profile &)
bool EvalInContext (classad::MatchClassAd &mad, classad::ClassAd *context, BoolValue &result)
classad::ExprTree * GetExpr ()
bool GetLiteralValue (BoolValue &result)
bool GetNumberOfProfiles (int &result)
bool IsLiteral ()
 MultiProfile ()
bool NextProfile (Profile *&result)
MultiProfileoperator= (const MultiProfile &copy)
bool RemoveAllProfiles ()
bool RemoveProfile (Profile &)
bool Rewind ()
bool ToString (string &buffer)
 ~MultiProfile ()

Static Public Member Functions

static bool ExprToCondition (classad::ExprTree *expr, Condition *&p)
static bool ExprToMultiProfile (classad::ExprTree *expr, MultiProfile *&mp)
static bool ExprToProfile (classad::ExprTree *expr, Profile *&p)
static bool ValToMultiProfile (classad::Value &val, MultiProfile *&mp)

Public Attributes

MultiProfileExplain explain

Protected Member Functions

bool Init (classad::ExprTree *)
bool InitVal (classad::Value &)

Protected Attributes

bool initialized
classad::ExprTree * myTree

Private Member Functions

bool AppendProfile (Profile *)

Private Attributes

bool isLiteral
BoolValue literalValue
List< Profileprofiles


class BoolExpr

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

Generated by  Doxygen 1.6.0   Back to index