TrinityCore
PreparedStatement< T > Class Template Reference

#include <DatabaseEnvFwd.h>

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 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
 

Private Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from PreparedStatementBase
void BindParameters (MySQLPreparedStatement *stmt)
 
 PreparedStatementBase (PreparedStatementBase const &right)=delete
 
PreparedStatementBaseoperator= (PreparedStatementBase const &right)=delete
 
- Protected Attributes inherited from PreparedStatementBase
MySQLPreparedStatementm_stmt
 
uint32 m_index
 
std::vector< PreparedStatementDatastatement_data
 

Constructor & Destructor Documentation

◆ PreparedStatement() [1/2]

template<typename T>
PreparedStatement< T >::PreparedStatement ( uint32  index,
uint8  capacity 
)
inlineexplicit
127  : PreparedStatementBase(index, capacity)
128  {
129  }
PreparedStatementBase(uint32 index, uint8 capacity)
Definition: PreparedStatement.cpp:26

◆ 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: