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

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

#include <Teuchos_StandardConditions.hpp>

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

List of all members.

Public Member Functions

Constructors/Destructor
 OrCondition (ConstConditionList &conditions)
 Constructs an Or Condition.
virtual ~OrCondition ()
 Deconstructs an Or 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 OR on the conditions.

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

Definition at line 537 of file Teuchos_StandardConditions.hpp.


Constructor & Destructor Documentation

Teuchos::OrCondition::OrCondition ( ConstConditionList conditions)

Constructs an Or Condition.

Parameters:
conditionsThe conditions to be evaluated.

Definition at line 125 of file Teuchos_StandardConditions.cpp.

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

Deconstructs an Or Condition.

Definition at line 554 of file Teuchos_StandardConditions.hpp.


Member Function Documentation

std::string Teuchos::OrCondition::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 561 of file Teuchos_StandardConditions.hpp.

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

Implements Teuchos::BoolLogicCondition.

Definition at line 128 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