! \ingroup mediumlevelil */
| 358 | \ingroup mediumlevelil |
| 359 | */ |
| 360 | class MediumLevelILSSAVariableList |
| 361 | { |
| 362 | struct ListIterator |
| 363 | { |
| 364 | MediumLevelILIntegerList::const_iterator pos; |
| 365 | bool operator==(const ListIterator& a) const { return pos == a.pos; } |
| 366 | bool operator!=(const ListIterator& a) const { return pos != a.pos; } |
| 367 | bool operator<(const ListIterator& a) const { return pos < a.pos; } |
| 368 | ListIterator& operator++() |
| 369 | { |
| 370 | ++pos; |
| 371 | ++pos; |
| 372 | return *this; |
| 373 | } |
| 374 | const SSAVariable operator*(); |
| 375 | }; |
| 376 | |
| 377 | MediumLevelILIntegerList m_list; |
| 378 | |
| 379 | public: |
| 380 | typedef ListIterator const_iterator; |
| 381 | |
| 382 | MediumLevelILSSAVariableList( |
| 383 | MediumLevelILFunction* func, const BNMediumLevelILInstruction& instr, size_t count); |
| 384 | |
| 385 | const_iterator begin() const; |
| 386 | const_iterator end() const; |
| 387 | size_t size() const; |
| 388 | const SSAVariable operator[](size_t i) const; |
| 389 | |
| 390 | operator _STD_VECTOR<SSAVariable>() const; |
| 391 | }; |
| 392 | |
| 393 | /*! |
| 394 | \ingroup mediumlevelil |
no outgoing calls
no test coverage detected