Create a new instance. Args: data: the shared data access object
(self, data)
| 361 | individual counters contained in the file.""" |
| 362 | |
| 363 | def __init__(self, data): |
| 364 | """Create a new instance. |
| 365 | |
| 366 | Args: |
| 367 | data: the shared data access object |
| 368 | """ |
| 369 | self.data = data |
| 370 | self.max_counters = data.IntAt(4) |
| 371 | self.max_name_size = data.IntAt(8) |
| 372 | |
| 373 | def CountersInUse(self): |
| 374 | """Return the number of counters in active use.""" |