|
IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
|
#include <ice/module_query.hxx>
Public Member Functions | |
| virtual | ~ModuleQuery () noexcept=default |
| virtual bool | query_api (ice::StringID_Arg api_name, ice::u32 version, ice::ModuleAPI &out_api) const noexcept |
| Queries an API info for the given name and version. | |
| virtual bool | query_apis (ice::StringID_Arg api_name, ice::u32 version, ice::ModuleAPI *out_array, ice::u32 *inout_array_size) const noexcept=0 |
| Queries all API infos for the given name and version. | |
| template<typename Type> requires (ice::concepts::APIType<Type>) | |
| bool | query_api (Type &api_struct) const noexcept |
| Queries a single API for the given API struct. | |
| template<typename Type> requires (ice::concepts::APIType<Type>) | |
| bool | query_apis (ice::Array< Type > &out_apis) const noexcept |
| Queries all APIs for the given API struct. | |
|
virtualdefaultnoexcept |
|
inlinevirtualnoexcept |
Queries an API info for the given name and version.
| [in] | api_name | The name of the API to query. |
| [in] | api_version | The version of the API to query. |
| [out] | out_api_info | The API information if found. |
|
inlinenoexcept |
Queries a single API for the given API struct.
| Type | The API struct type to query. |
| api_struct | The API struct to update if the call was successful. |
|
noexcept |
Queries all APIs for the given API struct.
| Type | The API struct type to query. |
| [out] | out_apis | The array to write the API structs into. |
|
pure virtualnoexcept |
Queries all API infos for the given name and version.
| [in] | api_name | The name of the APIs to query. |
| [in] | api_version | The version of the APIs to query. |
| [out] | out_array | The array to write the API infos into. |
| [in,out] | inout_array_size | The size of the array. Will be set to the required size if the array pointer is null. |
Implemented in ice::ModuleNegotiatorBase, and ice::ModuleNegotiatorTagged< Tag >.