|
| | Operations ()=default |
| |
| | Operations (const Operations &obj) |
| |
| | Operations (Operations &&)=default |
| |
| Operations & | operator= (const Operations &)=delete |
| |
| Operations & | operator= (Operations &&)=default |
| |
| | ~Operations ()=default |
| |
| | ObjectManager () |
| |
| OperationIndex | emplace (Args &&...args) |
| | Create an object with args and put it in the container with a newly assigned Index.
|
| |
| OperationIndex | push (std::unique_ptr< IOperation > &&object, OperationIndex index) |
| | Put the object in the container with given index.
|
| |
| OperationIndex | push (std::unique_ptr< IOperation > &&object) |
| | Put the object in the container with a newly assigned index.
|
| |
| OperationIndex | set (OperationIndex index, std::unique_ptr< IOperation > &&object) |
| | Set the object in the container with given index.
|
| |
| void | remove (const OperationIndex &index) |
| | Remove the object that is associated with the given index.
|
| |
| const IOperation & | at (const OperationIndex &index) const |
| | Get the object that is associated with the given index.
|
| |
| IOperation & | at (const OperationIndex &index) |
| | Get the object that is associated with the given index.
|
| |
| const IOperation * | getRawPtr (const OperationIndex &index) const |
| | Get the object that is associated with the given index.
|
| |
| IOperation * | getRawPtr (const OperationIndex &index) |
| | Get the object that is associated with the given index.
|
| |
| bool | exist (const OperationIndex &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 OperationIndex &, const IOperation &)> &fn) const |
| | Iterate over the container with given function.
|
| |
| void | iterate (const std::function< void(const OperationIndex &, IOperation &)> &fn) |
| | Iterate over the container with given function.
|
| |
Definition at line 27 of file Operations.h.