! \ingroup highlevelil */
| 289 | \ingroup highlevelil |
| 290 | */ |
| 291 | class HighLevelILSSAVariableList |
| 292 | { |
| 293 | struct ListIterator |
| 294 | { |
| 295 | HighLevelILIntegerList::const_iterator pos; |
| 296 | bool operator==(const ListIterator& a) const { return pos == a.pos; } |
| 297 | bool operator!=(const ListIterator& a) const { return pos != a.pos; } |
| 298 | bool operator<(const ListIterator& a) const { return pos < a.pos; } |
| 299 | ListIterator& operator++() |
| 300 | { |
| 301 | ++pos; |
| 302 | ++pos; |
| 303 | return *this; |
| 304 | } |
| 305 | const SSAVariable operator*(); |
| 306 | }; |
| 307 | |
| 308 | HighLevelILIntegerList m_list; |
| 309 | |
| 310 | public: |
| 311 | typedef ListIterator const_iterator; |
| 312 | |
| 313 | HighLevelILSSAVariableList(HighLevelILFunction* func, const BNHighLevelILInstruction& instr, size_t count); |
| 314 | |
| 315 | const_iterator begin() const; |
| 316 | const_iterator end() const; |
| 317 | size_t size() const; |
| 318 | const SSAVariable operator[](size_t i) const; |
| 319 | |
| 320 | operator _STD_VECTOR<SSAVariable>() const; |
| 321 | }; |
| 322 | |
| 323 | /*! |
| 324 | \ingroup highlevelil |
no outgoing calls
no test coverage detected