TrinityCore
PreparedStatement< T > Class Template Reference

#include <PreparedStatement.h>

+ Inheritance diagram for PreparedStatement< T >:

Public Member Functions

 PreparedStatement (uint32 index, uint8 capacity)
 
- Public Member Functions inherited from PreparedStatementBase
 PreparedStatementBase (uint32 index, uint8 capacity)
 
virtual ~PreparedStatementBase ()
 
void setNull (const uint8 index)
 
void setBool (const uint8 index, const bool value)
 
void setUInt8 (const uint8 index, const uint8 value)
 
void setUInt16 (const uint8 index, const uint16 value)
 
void setUInt32 (const uint8 index, const uint32 value)
 
void setUInt64 (const uint8 index, const uint64 value)
 
void setInt8 (const uint8 index, const int8 value)
 
void setInt16 (const uint8 index, const int16 value)
 
void setInt32 (const uint8 index, const int32 value)
 
void setInt64 (const uint8 index, const int64 value)
 
void setFloat (const uint8 index, const float value)
 
void setDouble (const uint8 index, const double value)
 
void setString (const uint8 index, const std::string &value)
 
void setStringView (const uint8 index, const std::string_view value)
 
void setBinary (const uint8 index, const std::vector< uint8 > &value)
 
template<size_t Size>
void setBinary (const uint8 index, std::array< uint8, Size > const &value)
 
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
 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 >

Definition at line 105 of file PreparedStatement.h.

Constructor & Destructor Documentation

◆ PreparedStatement() [1/2]

template<typename T >
PreparedStatement< T >::PreparedStatement ( uint32  index,
uint8  capacity 
)
inlineexplicit

Definition at line 108 of file PreparedStatement.h.

◆ 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

The documentation for this class was generated from the following files: