libER 0.1.4.2
ELDEN RING API library
|
An interface to a param table of one of the predefined types. More...
#include <param_table.hpp>
Public Types | |
using | paramdef_type = typename ParamType::paramdef_type |
The paramdefs this param type uses. | |
using | iterator = param_iterator< paramdef_type > |
Param iterator type. | |
using | reverse_iterator = std::reverse_iterator< iterator > |
Reverse order param iterator type. | |
using | const_iterator = param_const_iterator< paramdef_type > |
Param const iterator type. | |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
Reverse order param const iterator type. | |
Public Member Functions | |
std::pair< paramdef_type &, bool > | operator[] (row_index_type row) const noexcept |
Get a param row from this param table by its row index. | |
iterator | begin () noexcept |
Get the iterator to the first param row in the table. | |
iterator | end () noexcept |
Get the iterator after the last param row in the table. | |
const_iterator | begin () const noexcept |
Get the iterator to the first param row in the table. | |
const_iterator | end () const noexcept |
Get the iterator after the last param row in the table. | |
const_iterator | cbegin () const noexcept |
Get the const iterator to the first param row in the table. | |
const_iterator | cend () const noexcept |
Get the const iterator after the last param row in the table. | |
reverse_iterator | rbegin () noexcept |
Get the reverse iterator to the last param row in the table. | |
reverse_iterator | rend () noexcept |
Get the reverse iterator before the first param row in the table. | |
const_reverse_iterator | rbegin () const noexcept |
Get the reverse iterator to the last param row in the table. | |
const_reverse_iterator | rend () const noexcept |
Get the reverse iterator before the first param row in the table. | |
const_reverse_iterator | crbegin () const noexcept |
Get the reverse iterator to the last param row in the table. | |
const_reverse_iterator | crend () const noexcept |
Get the reverse iterator before the first param row in the table. | |
Static Public Attributes | |
static constexpr param_index | index = ParamType::index |
The param index of this param table. | |
An interface to a param table of one of the predefined types.
ParamType | one of the predefined param types |
|
inlinenoexcept |
Get the iterator to the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the iterator to the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the const iterator to the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the const iterator after the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the reverse iterator to the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the reverse iterator before the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the iterator after the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the iterator after the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get a param row from this param table by its row index.
Performs a binary search on the param table to find a matching param row index and returns the row on success. If the desired param row does not exist, returns a default-initialized param row instead.
The bool in the param row/bool pair indicates whether the row exists.
Example:
row | The row id. |
|
inlinenoexcept |
Get the reverse iterator to the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the reverse iterator to the last param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the reverse iterator before the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.
|
inlinenoexcept |
Get the reverse iterator before the first param row in the table.
If the table has not been yet initialized, returns a default constructed iterator.