#include <OperationIndexSet.h>
Definition at line 32 of file OperationIndexSet.h.
◆ OperationIndexSet() [1/2]
onert::ir::OperationIndexSet::OperationIndexSet |
( |
void |
| ) |
|
|
default |
◆ OperationIndexSet() [2/2]
onert::ir::OperationIndexSet::OperationIndexSet |
( |
std::initializer_list< OperationIndex > |
list | ) |
|
◆ begin() [1/2]
std::unordered_set< OperationIndex >::iterator onert::ir::OperationIndexSet::begin |
( |
void |
| ) |
|
|
inline |
◆ begin() [2/2]
std::unordered_set< OperationIndex >::const_iterator onert::ir::OperationIndexSet::begin |
( |
void |
| ) |
const |
|
inline |
◆ clear()
void onert::ir::OperationIndexSet::clear |
( |
void |
| ) |
|
|
inline |
◆ contains()
bool onert::ir::OperationIndexSet::contains |
( |
const OperationIndex & |
index | ) |
const |
Definition at line 31 of file OperationIndexSet.cc.
32{
33 return std::find(_set.begin(), _set.end(), index) != _set.end();
34}
◆ end() [1/2]
std::unordered_set< OperationIndex >::iterator onert::ir::OperationIndexSet::end |
( |
void |
| ) |
|
|
inline |
◆ end() [2/2]
std::unordered_set< OperationIndex >::const_iterator onert::ir::OperationIndexSet::end |
( |
void |
| ) |
const |
|
inline |
◆ insert()
void onert::ir::OperationIndexSet::insert |
( |
const OperationIndex & |
index | ) |
|
|
inline |
◆ remove()
void onert::ir::OperationIndexSet::remove |
( |
const OperationIndex & |
index | ) |
|
|
inline |
◆ size()
uint32_t onert::ir::OperationIndexSet::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: