increment the counter
(self, index)
| 75 | self.cxx_starting_val = starting_val-1 |
| 76 | |
| 77 | def add_index(self, index): |
| 78 | """increment the counter""" |
| 79 | |
| 80 | try: |
| 81 | i = int(index.count_cxx) |
| 82 | except ValueError: |
| 83 | self.cxx_strings.append(index.count_cxx.strip()) |
| 84 | else: |
| 85 | self.numeric += i |
| 86 | |
| 87 | def get_cxx_value(self, offset=0): |
| 88 | """return the current value of the counter for C++ (0-based)""" |