grepros 1.2.2
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
BooleanResult Class Reference

Accumulative result of boolean expression evaluation, tracking value contribution. More...

Public Member Functions

 __init__ (self, value=Ellipsis, terminal=None, **__props)
 
 __bool__ (self)
 
 __eq__ (self, other)
 
 __iter__ (self)
 Yields active values: contributing to true result positively.
 
 __nonzero__ (self)
 
 and_ (cls, a, b)
 Returns new BooleanResult as a and b.
 
 not_ (cls, a)
 Returns new BooleanResult as not a.
 
 or_ (cls, a, b, eager=False)
 Returns new BooleanResult as a or b.
 
 set (self, value, terminal=None)
 Sets value to instance, using terminal callback for evaluation if given.
 

Detailed Description

Accumulative result of boolean expression evaluation, tracking value contribution.

Definition at line 787 of file search.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 790 of file search.py.

Member Function Documentation

◆ __bool__()

__bool__ (   self)

Definition at line 806 of file search.py.

◆ __eq__()

__eq__ (   self,
  other 
)

Definition at line 808 of file search.py.

◆ __iter__()

__iter__ (   self)

Yields active values: contributing to true result positively.

Definition at line 802 of file search.py.

◆ __nonzero__()

__nonzero__ (   self)

Definition at line 807 of file search.py.

◆ and_()

and_ (   cls,
  a,
  b 
)

Returns new BooleanResult as a and b.

Definition at line 811 of file search.py.

◆ not_()

not_ (   cls,
  a 
)

Returns new BooleanResult as not a.

Definition at line 823 of file search.py.

◆ or_()

or_ (   cls,
  a,
  b,
  eager = False 
)

Returns new BooleanResult as a or b.

Definition at line 817 of file search.py.

◆ set()

set (   self,
  value,
  terminal = None 
)

Sets value to instance, using terminal callback for evaluation if given.

Definition at line 797 of file search.py.


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