Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::SQLite::SqlQueryResultRunner< T > Struct Template Reference

#include <SQLiteQuery.h>

Public Types

using HandlerFunc = AZStd::function< bool(T &)>
 

Public Member Functions

 SqlQueryResultRunner (bool bindSucceeded, const HandlerFunc &handler, const char *statementName, StatementAutoFinalizer autoFinalizer)
 
template<typename TCallback , typename... TArgs>
bool Query (const TCallback &callback, TArgs... args)
 

Public Attributes

const char * m_statementName
 
StatementAutoFinalizer m_autoFinalizer
 
const HandlerFunc & m_handler
 
bool m_bindSucceeded
 

Detailed Description

template<typename T>
struct AzToolsFramework::SQLite::SqlQueryResultRunner< T >

Helper object used to provide a query callback that needs to accept multiple arguments This is just a slightly easier-to-use/less verbose (at the callsite) alternative to AZStd::bind'ing the arguments to the callback


The documentation for this struct was generated from the following file: