GSI Object Oriented Online Offline (Go4)
GO4-5.3.0
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
yield
go4.NextMatchingObject(expr, folder,
True
)
14
while
True
:
15
obj = go4.NextMatchingObject(expr, folder,
False
)
16
if
obj
is
None
:
17
break
18
yield
obj
19
20
21
go4py.go4py.MatchingObjects
def MatchingObjects
Definition:
go4py.py:5
Generated on Mon Mar 5 2018 16:09:58 for GSI Object Oriented Online Offline (Go4) by
1.8.8