Om
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
Om::Language::Pair Class Reference

An Operator and an Operand. More...

#include "pair.hpp"

+ Collaboration diagram for Om::Language::Pair:

Public Member Functions

virtual ~Pair ()
 
 Pair ()
 
void ClearOperand ()
 
Operand const & GetOperand () const
 
Operator const & GetOperator () const
 
void GiveElements (Consumer &)
 
void GiveElements (Consumer &) const
 
bool IsEmpty () const
 
template<typename TheOperand >
void TakeOperand (TheOperand &)
 
template<typename TheOperator >
void TakeOperator (TheOperator &)
 Replaces the Operator. More...
 
template<typename TheProducer >
void TakeQuotedProducer (TheProducer &)
 

Static Public Member Functions

static Pair const & GetEmpty ()
 

Static Private Member Functions

template<typename ThePair >
static void GiveElements (ThePair &, Consumer &)
 

Private Attributes

Operator thisOperator
 
Operand thisOperand
 

Detailed Description

Definition at line 32 of file pair.hpp.

Constructor & Destructor Documentation

◆ ~Pair()

virtual Om::Language::Pair::~Pair ( )
virtual

◆ Pair()

Om::Language::Pair::Pair ( )

Member Function Documentation

◆ GetEmpty()

static Pair const& Om::Language::Pair::GetEmpty ( )
static

◆ ClearOperand()

void Om::Language::Pair::ClearOperand ( )

◆ GetOperand()

Operand const& Om::Language::Pair::GetOperand ( ) const

◆ GetOperator()

Operator const& Om::Language::Pair::GetOperator ( ) const

◆ GiveElements() [1/3]

void Om::Language::Pair::GiveElements ( Consumer )

◆ GiveElements() [2/3]

void Om::Language::Pair::GiveElements ( Consumer ) const

◆ IsEmpty()

bool Om::Language::Pair::IsEmpty ( ) const

◆ TakeOperand()

template<typename TheOperand >
void Om::Language::Pair::TakeOperand ( TheOperand &  )

◆ TakeOperator()

template<typename TheOperator >
void Om::Language::Pair::TakeOperator ( TheOperator &  )

◆ TakeQuotedProducer()

template<typename TheProducer >
void Om::Language::Pair::TakeQuotedProducer ( TheProducer &  )

◆ GiveElements() [3/3]

template<typename ThePair >
static void Om::Language::Pair::GiveElements ( ThePair &  ,
Consumer  
)
staticprivate

Member Data Documentation

◆ thisOperator

Operator Om::Language::Pair::thisOperator
private

Definition at line 79 of file pair.hpp.

◆ thisOperand

Operand Om::Language::Pair::thisOperand
private

Definition at line 81 of file pair.hpp.


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