class ConditionalActions

Holds a boolean expression and a vector of AttributeInfo objects that describe the attribute/value pairs contained in the expression and a list of actions that will be granted if the expression evaluates to true.

Inheritance:


Public Methods

[more] ConditionalActions ()
Default constructor
[more] ConditionalActions (const Condition& condition, const vector<string>& actions, bool critical = false)
[more] ~ConditionalActions ()
[more]void operator= (const ConditionalActions conditionalActions)
[more]const Condition& getCondition () const
[more]bool parseConstraint (Expression& expr) const
[more]const string& getConstraint () const
[more]const vector<AttributeInfo> & getAttributeInfos () const
[more]const vector<string> & getActions () const
[more]bool isCritical () const
[more]bool isValid () const
[more]void writeObject (AkentiOutputStream& drain) const
[more]void readObject (AkentiInputStream& source)
[more]void toXML (DOMElement* condActions) const
Populates the XML element condActions from this ConditionalActions
[more]void fromXML (const DOMElement* condActions)
Initializes this ConditionalActions from the XML element condActions
[more]string paramString () const
Used for debugging.
[more]string toLogString () const
Used for logging


Inherited from AkentiObject:


Documentation

Holds a boolean expression and a vector of AttributeInfo objects that describe the attribute/value pairs contained in the expression and a list of actions that will be granted if the expression evaluates to true. Furthermore, we provide another binary value critical, that when set to true, implies that the boolean expression must evaluate to true otherwise access must be denied altogether Such conditions come from UseConditions that have the critical flag set and must be satisified.

  * ConditionalActions {
  *    Condition condition;
  *    vector<string> actions;
  *    bool critical;                 
  * }
  * 

o ConditionalActions()
Default constructor

o ConditionalActions(const Condition& condition, const vector<string>& actions, bool critical = false)

o ~ConditionalActions()

ovoid operator=(const ConditionalActions conditionalActions)

oconst Condition& getCondition() const

obool parseConstraint(Expression& expr) const

oconst string& getConstraint() const

oconst vector<AttributeInfo> & getAttributeInfos() const

oconst vector<string> & getActions() const

obool isCritical() const

obool isValid() const

ovoid writeObject(AkentiOutputStream& drain) const

ovoid readObject(AkentiInputStream& source)

ovoid toXML(DOMElement* condActions) const
Populates the XML element condActions from this ConditionalActions

ovoid fromXML(const DOMElement* condActions)
Initializes this ConditionalActions from the XML element condActions

ostring paramString() const
Used for debugging.

Returns:
a string representation of this object
See Also:
AkentiObject

ostring toLogString() const
Used for logging


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
AttributeInfo

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.