grepros 1.3.0
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
BooleanResult Class Reference
Inheritance diagram for BooleanResult:
Inheritance graph

Public Member Functions

 __init__ (self, value=Ellipsis, terminal=None, **__props)
 
 __bool__ (self)
 
 __eq__ (self, other)
 
 __iter__ (self)
 
 __nonzero__ (self)
 
 and_ (cls, a, b)
 
 not_ (cls, a)
 
 or_ (cls, a, b, eager=False)
 
 set (self, value, terminal=None)
 

Detailed Description

Accumulative result of boolean expression evaluation, tracking value contribution.

Definition at line 764 of file search.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  value = Ellipsis,
  terminal = None,
**  __props 
)

Definition at line 767 of file search.py.

Member Function Documentation

◆ __bool__()

__bool__ (   self)

Definition at line 783 of file search.py.

◆ __eq__()

__eq__ (   self,
  other 
)

Definition at line 785 of file search.py.

◆ __iter__()

__iter__ (   self)
Yields active values: contributing to true result positively.

Definition at line 779 of file search.py.

◆ __nonzero__()

__nonzero__ (   self)

Definition at line 784 of file search.py.

◆ and_()

and_ (   cls,
  a,
  b 
)
Returns new BooleanResult as a and b.

Definition at line 788 of file search.py.

◆ not_()

not_ (   cls,
  a 
)
Returns new BooleanResult as not a.

Definition at line 800 of file search.py.

◆ or_()

or_ (   cls,
  a,
  b,
  eager = False 
)
Returns new BooleanResult as a or b.

Definition at line 794 of file search.py.

◆ set()

set (   self,
  value,
  terminal = None 
)
Sets value to instance, using terminal callback for evaluation if given.

Definition at line 774 of file search.py.


The documentation for this class was generated from the following file: