AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
PreparedStatement< T > Class Template Reference

#include "PreparedStatement.h"

Inheritance diagram for PreparedStatement< T >:
PreparedStatementBase

Public Member Functions

 PreparedStatement (uint32 index, uint8 capacity)
 
- Public Member Functions inherited from PreparedStatementBase
 PreparedStatementBase (uint32 index, uint8 capacity)
 
virtual ~PreparedStatementBase ()
 
template<typename T >
Acore::Types::is_default< T > SetData (const uint8 index, T value)
 
template<typename T >
Acore::Types::is_enum_v< T > SetData (const uint8 index, T value)
 
void SetData (const uint8 index, std::string_view value)
 
void SetData (const uint8 index, std::nullptr_t=nullptr)
 
template<std::size_t Size>
void SetData (const uint8 index, std::array< uint8, Size > const &value)
 
template<class _Rep , class _Period >
void SetData (const uint8 index, std::chrono::duration< _Rep, _Period > const &value, bool convertToUin32=true)
 
template<typename... Args>
void SetArguments (Args &&... args)
 
uint32 GetIndex () const
 
std::vector< PreparedStatementData > const & GetParameters () const
 

Private Member Functions

 PreparedStatement (PreparedStatement const &right)=delete
 
PreparedStatementoperator= (PreparedStatement const &right)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from PreparedStatementBase
template<typename T >
Acore::Types::is_non_string_view_v< T > SetValidData (const uint8 index, T const &value)
 
void SetValidData (const uint8 index)
 
void SetValidData (const uint8 index, std::string_view value)
 
template<typename... Ts>
void SetDataTuple (std::tuple< Ts... > const &argsList)
 
 PreparedStatementBase (PreparedStatementBase const &right)=delete
 
PreparedStatementBaseoperator= (PreparedStatementBase const &right)=delete
 
- Protected Attributes inherited from PreparedStatementBase
uint32 m_index
 
std::vector< PreparedStatementDatastatement_data
 

Detailed Description

template<typename T>
class PreparedStatement< T >

Constructor & Destructor Documentation

◆ PreparedStatement() [1/2]

template<typename T >
PreparedStatement< T >::PreparedStatement ( uint32  index,
uint8  capacity 
)
inlineexplicit
160 : PreparedStatementBase(index, capacity)
161 {
162 }
Definition: PreparedStatement.h:69

◆ PreparedStatement() [2/2]

template<typename T >
PreparedStatement< T >::PreparedStatement ( PreparedStatement< T > const &  right)
privatedelete

Member Function Documentation

◆ operator=()

template<typename T >
PreparedStatement & PreparedStatement< T >::operator= ( PreparedStatement< T > const &  right)
privatedelete