Teuchos - Trilinos Tools Package Version of the Day
Teuchos::EqualsCondition Class Reference

A Bool Logic Condition that returns the result or perfroming a logical EQUALS on the conditions. More...

#include <Teuchos_StandardConditions.hpp>

Inheritance diagram for Teuchos::EqualsCondition:
Teuchos::BoolLogicCondition Teuchos::Condition Teuchos::Describable Teuchos::LabeledObject

List of all members.

Public Member Functions

Constructors/Destructor
 EqualsCondition (ConstConditionList &conditions)
 Constructs an Equals Condition.
virtual ~EqualsCondition ()
 Deconstructs an Equals Condition.
Overridden from Condition
std::string getTypeAttributeValue () const
 Get the value that should be used for the condition type attribute when converting a condition to XML.
Overridden from BoolLogicCondition
bool applyOperator (bool op1, bool op2) const
 

Detailed Description

A Bool Logic Condition that returns the result or perfroming a logical EQUALS on the conditions.

Please see EqualsConditionConverter for documenation regarding the XML representation of this condition.

Definition at line 680 of file Teuchos_StandardConditions.hpp.


Constructor & Destructor Documentation

Teuchos::EqualsCondition::EqualsCondition ( ConstConditionList conditions)

Constructs an Equals Condition.

Parameters:
conditionsThe conditions to be evaluated.

Definition at line 151 of file Teuchos_StandardConditions.cpp.

virtual Teuchos::EqualsCondition::~EqualsCondition ( ) [inline, virtual]

Deconstructs an Equals Condition.

Definition at line 697 of file Teuchos_StandardConditions.hpp.


Member Function Documentation

std::string Teuchos::EqualsCondition::getTypeAttributeValue ( ) const [inline, virtual]

Get the value that should be used for the condition type attribute when converting a condition to XML.

Implements Teuchos::Condition.

Definition at line 704 of file Teuchos_StandardConditions.hpp.

bool Teuchos::EqualsCondition::applyOperator ( bool  op1,
bool  op2 
) const [virtual]

Implements Teuchos::BoolLogicCondition.

Definition at line 154 of file Teuchos_StandardConditions.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines