5 colsvc = ROOT.pool.CollectionService()
7 col=colsvc.handle(
'SimplePoolCollection1',
'RootCollection',
'', read_only_flag)
9 des = col.description()
10 for c
in range(0, des.numberOfAttributeColumns()):
11 print "Attribute: ", des.attributeColumn(c, 0).
name(),
" type:", des.attributeColumn(c, 0).
type()
12 for c
in range(0, des.numberOfTokenColumns()):
13 print "Reference: ", des.tokenColumn(c, 0).
name()
15 query = col.newQuery()
21 cursor = query.execute()
23 while( cursor.next() ):
24 row = cursor.currentRow()
25 tlist = row.tokenList()