|
| Operands ()=default |
|
| Operands (const Operands &obj) |
|
| Operands (Operands &&)=default |
|
Operands & | operator= (const Operands &)=delete |
|
Operands & | operator= (Operands &&)=default |
|
| ~Operands ()=default |
|
| ObjectManager () |
|
OperandIndex | emplace (Args &&...args) |
| Create an object with args and put it in the container with a newly assigned Index .
|
|
OperandIndex | push (std::unique_ptr< Operand > &&object, OperandIndex index) |
| Put the object in the container with given index.
|
|
OperandIndex | push (std::unique_ptr< Operand > &&object) |
| Put the object in the container with a newly assigned index.
|
|
OperandIndex | set (OperandIndex index, std::unique_ptr< Operand > &&object) |
| Set the object in the container with given index.
|
|
void | remove (const OperandIndex &index) |
| Remove the object that is associated with the given index.
|
|
const Operand & | at (const OperandIndex &index) const |
| Get the object that is associated with the given index.
|
|
Operand & | at (const OperandIndex &index) |
| Get the object that is associated with the given index.
|
|
const Operand * | getRawPtr (const OperandIndex &index) const |
| Get the object that is associated with the given index.
|
|
Operand * | getRawPtr (const OperandIndex &index) |
| Get the object that is associated with the given index.
|
|
bool | exist (const OperandIndex &index) const |
| Get the object that is associated with the given index.
|
|
size_t | size () const |
| Return the number of objects that the manager contains.
|
|
void | iterate (const std::function< void(const OperandIndex &, const Operand &)> &fn) const |
| Iterate over the container with given function.
|
|
void | iterate (const std::function< void(const OperandIndex &, Operand &)> &fn) |
| Iterate over the container with given function.
|
|
Definition at line 32 of file Operands.h.