GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
python
go4py
go4py.py
Go to the documentation of this file.
1
2
import
go4
3
4
5
def
MatchingObjects
(expr="*", folder="*"):
6
"""
7
Pythonic version of NextMatchingObject
8
Iterate over objects matching expr starting from folder
9
For "*" and "/" as folder, the root folder will be used
10
"""
11
if
folder
in
[
"*"
,
"/"
]:
12
folder =
None
13
reset =
True
14
while
True
:
15
obj = go4.NextMatchingObject(expr, folder, reset)
16
reset =
False
17
if
obj
is
None
:
18
break
19
yield
obj
20
21
22
go4py.go4py.MatchingObjects
def MatchingObjects
Definition:
go4py.py:5
Generated on Fri Oct 26 2018 08:34:53 for GSI Object Oriented Online Offline (Go4) by
1.8.8