-
Notifications
You must be signed in to change notification settings - Fork 1
/
TLFormulaBinary.h
55 lines (42 loc) · 2.01 KB
/
TLFormulaBinary.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* File: TLFormulaBinary.h
* Project: QUEST
* Author: Marc Diefenbruch, Axel M. Hirche
* Date: (C) 1997, 1998 University of Essen, Germany
*/
#ifndef _TLFORMULABINARY_H_
#define _TLFORMULABINARY_H_
#include "TLFormulaUnary.h"
class TLFormulaBinary : public TLFormulaUnary
{
friend class SCStream& operator<< (class SCStream&, const TLFormulaBinary&);
public:
TLFormulaBinary ( TLFormula* pLeft,
TLLetter pOp,
TLFormula* pRight,
SCNatural acceptSet = UNDEFINED_LISTINDEX,
const SCObject* father = NULL);
TLFormulaBinary (const TLFormulaBinary&);
TLFormulaBinary (const TLFormulaBinary*);
~TLFormulaBinary (void);
TLArity Arity (void) const;
SCNatural NumOfSymbols (void) const;
SCBoolean SetUpAcceptanceSets (void);
class SCStream& Display (SCStream&) const;
SCBoolean operator== (const TLFormula&) const;
SCBoolean operator== (const TLFormula*) const;
SCBoolean operator!= (const TLFormula&) const;
SCBoolean operator!= (const TLFormula*) const;
TLFormula* LeftOperand (void) const;
void SetLeftOperand (TLFormula*);
protected:
TLFormula* leftOperand;
private:
TLFormulaBinary (void);
// Forbidden!
};
#if _TL_INLINING_
#include "TLFormulaBinary.inl.h"
#endif
class SCStream& operator<< (class SCStream&, const TLFormulaBinary&);
#endif // _TLFORMULABINARY_H_