Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Expr_SingleRelation Class Reference

#include <Expr_SingleRelation.hxx>

Inheritance diagram for Expr_SingleRelation:
Inheritance graph
[legend]

Public Member Functions

void SetFirstMember (const Handle< Expr_GeneralExpression > &exp)
 Defines the first member of the relation

void SetSecondMember (const Handle< Expr_GeneralExpression > &exp)
 Defines the second member of the relation

Handle_Expr_GeneralExpression FirstMember () const
 Returns the first member of the relation

Handle_Expr_GeneralExpression SecondMember () const
 Returns the second member of the relation

Standard_Boolean IsLinear () const
 Tests if <me> is linear between its NamedUnknowns.

Standard_Integer NbOfSubRelations () const
 Returns the number of relations contained in <me>.

Standard_Integer NbOfSingleRelations () const
 Returns the number of SingleRelations contained in
<me> (Always 1).

Handle_Expr_GeneralRelation SubRelation (const Standard_Integer index) const
 Returns the relation denoted by <index> in <me>.
An exception is raised if index is out of range.

Standard_Boolean Contains (const Handle< Expr_GeneralExpression > &exp) const
 Tests if <me> contains <exp>.

void Replace (const Handle< Expr_NamedUnknown > &var, const Handle< Expr_GeneralExpression > &with)
 Replaces all occurences of with <with> in <me>.


Member Function Documentation

Implements Expr_GeneralRelation.

Handle_Expr_GeneralExpression Expr_SingleRelation::FirstMember ( ) const

Implements Expr_GeneralRelation.

Implements Expr_GeneralRelation.

Implements Expr_GeneralRelation.

Implements Expr_GeneralRelation.

Handle_Expr_GeneralExpression Expr_SingleRelation::SecondMember ( ) const
Handle_Expr_GeneralRelation Expr_SingleRelation::SubRelation ( const Standard_Integer  index) const [virtual]

Implements Expr_GeneralRelation.


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