Class that represents a kernel error collection (collection that cannot throw exceptions)
More...
◆ KernelErrorCollection() [1/2]
Constructs a kernel error collection
◆ KernelErrorCollection() [2/2]
Copy constructor of a kernel error collection
- Parameters
-
[in] | other | Kernel error collection that will be copied |
◆ ~KernelErrorCollection()
Destructor of a kernel error collection
◆ add() [1/4]
Adds error id to kernel error collection
- Parameters
-
[in] | id | Identifier of error |
- Returns
- Pointer to the new error
◆ add() [2/4]
Adds error to kernel error collection
- Parameters
-
[in] | e | Error to be added to kernel error collection |
◆ add() [3/4]
Adds error kernel collection
- Parameters
-
[in] | e | Error collection that will be added |
◆ add() [4/4]
Adds error kernel collection
- Parameters
-
[in] | e | Error collection that will be added |
◆ at() [1/2]
Error* at |
( |
size_t |
index | ) |
|
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
◆ at() [2/2]
const Error* at |
( |
size_t |
index | ) |
const |
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
◆ getDescription()
const char* getDescription |
( |
| ) |
const |
Returns description of all errors from collection
- Returns
- Description of all errors from collection
◆ isEmpty()
Returns true if kernel error collection is empty
- Returns
- True if kernel error collection is empty
◆ operator[]() [1/2]
Error* operator[] |
( |
size_t |
index | ) |
|
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
◆ operator[]() [2/2]
const Error* operator[] |
( |
size_t |
index | ) |
const |
Element access
- Parameters
-
[in] | index | Index of an accessed element |
- Returns
- Pointer to the element
◆ size()
Size of a collection
- Returns
- Size of the collection
The documentation for this class was generated from the following file: