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

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

#include <Teuchos_StandardConditions.hpp>

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

List of all members.

Public Member Functions

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

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

Definition at line 608 of file Teuchos_StandardConditions.hpp.


Constructor & Destructor Documentation

Teuchos::AndCondition::AndCondition ( ConstConditionList conditions)

Constructs an And Condition.

Parameters:
conditionsThe conditions to be evaluated.

Definition at line 133 of file Teuchos_StandardConditions.cpp.

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

Deconstructs an And Condition.

Definition at line 625 of file Teuchos_StandardConditions.hpp.


Member Function Documentation

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

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

Implements Teuchos::BoolLogicCondition.

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