-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTLFormulaUnary.h
More file actions
55 lines (42 loc) · 1.72 KB
/
Copy pathTLFormulaUnary.h
File metadata and controls
55 lines (42 loc) · 1.72 KB
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: TLFormulaUnary.h
* Project: QUEST
* Author: Marc Diefenbruch, Axel M. Hirche
* Date: (C) 1997, 1998 University of Essen, Germany
*/
#ifndef _TLFORMULAUNARY_H_
#define _TLFORMULAUNARY_H_
#include "SCL/SCObject.h"
#include "TLFormula.h"
class TLFormulaUnary : public TLFormula
{
friend class SCStream& operator<< (class SCStream&, TLFormulaUnary&);
public:
TLFormulaUnary (const TLLetter op,
TLFormula* rightOp,
SCNatural acceptSet = UNDEFINED_LISTINDEX,
const SCObject* father = NULL);
TLFormulaUnary (const TLFormulaUnary&);
TLFormulaUnary (const TLFormulaUnary*);
~TLFormulaUnary (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* RightOperand (void) const;
void SetRightOperand (TLFormula*);
protected:
TLFormula* rightOperand;
private:
TLFormulaUnary (void); // Forbidden!
};
#if _TL_INLINING_
#include "TLFormulaUnary.inl.h"
#endif
class SCStream& operator<< (class SCStream&, TLFormulaUnary&);
class SCStream& operator<< (class SCStream&, TLFormulaUnary*);
#endif // _TLFORMULAUNARY_H_