-
Notifications
You must be signed in to change notification settings - Fork 1
/
TLFormulaAtomic_NOT.inl.h
72 lines (54 loc) · 1.83 KB
/
TLFormulaAtomic_NOT.inl.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
* File: TLFormulaAtomic_NOT.inl.h
* Project: QUEST
* Author: Marc Diefenbruch, Axel M. Hirche
* Date: (C) 1997, 1998 University of Essen, Germany
*/
#ifndef _TLFORMULAATOMICNOT_INL_H_
#define _TLFORMULAATOMICNOT_INL_H_
#include "SCL/SCStream.h"
#include "TLHelp.h"
TLINLINE TLFormulaAtomic_NOT::TLFormulaAtomic_NOT ( char* pName,
SCPropFuncPtr pPropFunc,
const SCObject* pFather)
: TLFormulaAtomic (pName,
pPropFunc,
pFather)
{
op = ATOMIC_NOT; // Need this for operator== to
// distinguish between pure atomics
// and Atomic_NOT.
}
TLINLINE TLFormulaAtomic_NOT::TLFormulaAtomic_NOT (const TLFormulaAtomic* phi)
: TLFormulaAtomic (StrDup(phi->GetName()),
phi->GetPropFuncPtr())
{
op = ATOMIC_NOT;
}
TLINLINE TLFormulaAtomic_NOT::TLFormulaAtomic_NOT (const TLFormulaAtomic& phi)
: TLFormulaAtomic (StrDup(phi.GetName()),
phi.GetPropFuncPtr())
{
op = ATOMIC_NOT;
}
TLINLINE TLFormulaAtomic_NOT::TLFormulaAtomic_NOT (const TLFormulaAtomic_NOT& phi)
: TLFormulaAtomic (StrDup(phi.GetName()),
phi.GetPropFuncPtr())
{
op = ATOMIC_NOT;
}
TLINLINE TLFormulaAtomic_NOT::TLFormulaAtomic_NOT (const TLFormulaAtomic_NOT* phi)
: TLFormulaAtomic (StrDup(phi->GetName()),
phi->GetPropFuncPtr())
{
op = ATOMIC_NOT;
}
TLINLINE SCStream& operator<< (SCStream& out, const TLFormulaAtomic_NOT& phi)
{
return phi.Display(out);
}
TLINLINE SCStream& operator<< (SCStream& out, const TLFormulaAtomic_NOT* phi)
{
return out << *phi;
}
#endif // _TLFORMULAATOMICNOT_INL_H_