class Condition

Holds a boolean expression and a vector of AttributeInfo objects that describe the attribute/value pairs contained in the expression.

Inheritance:


Public Methods

[more] Condition ()
Default constructor
[more] Condition (const string& constraint, const vector<AttributeInfo>& attributes)
[more] ~Condition ()
Destroys this object
[more]void operator= (const Condition& condition)
Assignement operator
[more]bool parseConstraint (Expression& expr) const
[more]const string& getConstraint () const
[more]const vector<AttributeInfo> & getAttributeInfos () const
[more]bool isValid () const
[more]void writeObject (AkentiOutputStream& drain) const
[more]void readObject (AkentiInputStream& source)
[more]void toXML (DOMElement* cond) const
Populates the XML element cond from this Condition
[more]void fromXML (const DOMElement* cond)
Initializes this Condition from the XML element cond
[more]string paramString () const
Used for debugging.


Inherited from AkentiObject:


Documentation

Holds a boolean expression and a vector of AttributeInfo objects that describe the attribute/value pairs contained in the expression.

  * Condition {
  *    string constraint; 
  *    vector<AttributeInfo> attributeInfos;
  * }
  * 

o Condition()
Default constructor

o Condition(const string& constraint, const vector<AttributeInfo>& attributes)

o ~Condition()
Destroys this object

ovoid operator=(const Condition& condition)
Assignement operator

obool parseConstraint(Expression& expr) const

oconst string& getConstraint() const

oconst vector<AttributeInfo> & getAttributeInfos() const

obool isValid() const

ovoid writeObject(AkentiOutputStream& drain) const

ovoid readObject(AkentiInputStream& source)

ovoid toXML(DOMElement* cond) const
Populates the XML element cond from this Condition

ovoid fromXML(const DOMElement* cond)
Initializes this Condition from the XML element cond

ostring paramString() const
Used for debugging.

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


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

Alphabetic index HTML hierarchy of classes or Java



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