SNAP Library 3.0, Developer Reference
2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Atomic predicate - encapsulates comparison operations. More...
#include <table.h>
Public Member Functions | |
TAtomicPredicate () | |
Default constructor. More... | |
TAtomicPredicate (TAttrType Typ, TBool IsCnst, TPredComp Cmp, TStr L, TStr R, TInt ICnst, TFlt FCnst, TStr SCnst) | |
Construct predicate from given comparison op, variables and constants. More... | |
TAtomicPredicate (TAttrType Typ, TBool IsCnst, TPredComp Cmp, TStr L, TStr R) | |
Compact prototype for constructing non-const atomic predicate. More... | |
Private Attributes | |
TAttrType | Type |
Type of the predicate variables. More... | |
TBool | IsConst |
Flag if this atomic node represents a constant value. More... | |
TPredComp | Compare |
Comparison op represented by this node. More... | |
TStr | Lvar |
Left variable of the comparison op. More... | |
TStr | Rvar |
Right variable of the comparison op. More... | |
TInt | IntConst |
Int const value if this object is an integer constant. More... | |
TFlt | FltConst |
Flt const value if this object is a float constant. More... | |
TStr | StrConst |
Str const value if this object is a string constant. More... | |
Friends | |
class | TPredicate |
class | TPredicateNode |
|
inline |
Default constructor.
Definition at line 30 of file table.h.
|
inline |
Construct predicate from given comparison op, variables and constants.
Definition at line 37 of file table.h.
|
inline |
Compact prototype for constructing non-const atomic predicate.
Definition at line 42 of file table.h.
|
friend |
|
friend |
|
private |
Comparison op represented by this node.
Definition at line 19 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().
|
private |
Flt const value if this object is a float constant.
Definition at line 23 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().
|
private |
Int const value if this object is an integer constant.
Definition at line 22 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().
|
private |
Flag if this atomic node represents a constant value.
Definition at line 18 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().
|
private |
Left variable of the comparison op.
Definition at line 20 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate(), and TPredicateNode::GetVariables().
|
private |
Right variable of the comparison op.
Definition at line 21 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate(), and TPredicateNode::GetVariables().
|
private |
Str const value if this object is a string constant.
Definition at line 24 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().
|
private |
Type of the predicate variables.
Definition at line 17 of file table.h.
Referenced by TPredicate::EvalAtomicPredicate().