#include <ware/WareIssues.hpp>
◆ add()
void openfluid::ware::WareIssues::add |
( |
const WareIssue & |
Issue | ) |
|
Adds an issue and automatically assigns an ID
- Parameters
-
[in] | Issue | The issue to add |
◆ clear()
void openfluid::ware::WareIssues::clear |
( |
| ) |
|
|
inline |
◆ get()
const WareIssue& openfluid::ware::WareIssues::get |
( |
unsigned int |
ID | ) |
const |
Returns the issue with the given ID
- Parameters
-
[in] | ID | The ID of the issue |
◆ getAll()
const std::map<unsigned int,WareIssue>& openfluid::ware::WareIssues::getAll |
( |
| ) |
const |
Returns all the issues as a map indexed by issues ID
- Returns
- All issues
◆ insert()
void openfluid::ware::WareIssues::insert |
( |
const WareIssue & |
Issue, |
|
|
unsigned int |
ID |
|
) |
| |
Inserts an issue with the given ID
- Parameters
-
[in] | Issue | The issue to insert |
[in] | ID | The ID of the issue to insert |
◆ operator()()
const std::map<unsigned int,WareIssue>& openfluid::ware::WareIssues::operator() |
( |
| ) |
const |
Returns all the issues as a map indexed by issues ID
- Returns
- All issues
◆ remove()
void openfluid::ware::WareIssues::remove |
( |
unsigned int |
ID | ) |
|
Removes the issue with the given ID (does nothing if the ID does not exist)
- Parameters
-
[in] | ID | The ID of the issue to remove |
The documentation for this class was generated from the following file: