| 139 | |
| 140 | |
| 141 | bool RowData::get_annotation(Annotation *ann, uint64_t index) |
| 142 | { |
| 143 | assert(ann); |
| 144 | |
| 145 | std::lock_guard<std::mutex> lock(_global_visitor_mutex); |
| 146 | |
| 147 | if (index < _annotations.size()) { |
| 148 | *ann = *_annotations[index]; //clone |
| 149 | return true; |
| 150 | } else { |
| 151 | return false; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | } // decode |
| 156 | } // data |