SNAP Library 3.0, User 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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |