DDraceNetwork Docs
CSqlExecData Struct Reference
Collaboration diagram for CSqlExecData:
[legend]

Public Types

enum  {
  READ_ACCESS , WRITE_ACCESS , ADD_MYSQL , ADD_SQLITE ,
  PRINT
}
 

Public Member Functions

 CSqlExecData (CDbConnectionPool::FRead pFunc, std::unique_ptr< const ISqlData > pThreadData, const char *pName)
 
 CSqlExecData (CDbConnectionPool::FWrite pFunc, std::unique_ptr< const ISqlData > pThreadData, const char *pName)
 
 CSqlExecData (CDbConnectionPool::Mode m, const char aFileName[64])
 
 CSqlExecData (CDbConnectionPool::Mode m, const CMysqlConfig *pMysqlConfig)
 
 CSqlExecData (IConsole *pConsole, CDbConnectionPool::Mode m)
 
 ~CSqlExecData ()=default
 

Public Attributes

enum CSqlExecData:: { ... }  m_Mode
 
union {
   CDbConnectionPool::FRead   m_pReadFunc
 
   CDbConnectionPool::FWrite   m_pWriteFunc
 
   struct {
      CDbConnectionPool::Mode   m_Mode
 
      CMysqlConfig   m_Config
 
   }   m_Mysql
 
   struct {
      CDbConnectionPool::Mode   m_Mode
 
      char   m_FileName [64]
 
   }   m_Sqlite
 
   struct {
      IConsole *   m_pConsole
 
      CDbConnectionPool::Mode   m_Mode
 
   }   m_Print
 
m_Ptr
 
std::unique_ptr< const ISqlDatam_pThreadData
 
const char * m_pName
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
READ_ACCESS 
WRITE_ACCESS 
ADD_MYSQL 
ADD_SQLITE 
PRINT 

Constructor & Destructor Documentation

◆ CSqlExecData() [1/5]

CSqlExecData::CSqlExecData ( CDbConnectionPool::FRead  pFunc,
std::unique_ptr< const ISqlData pThreadData,
const char *  pName 
)

◆ CSqlExecData() [2/5]

CSqlExecData::CSqlExecData ( CDbConnectionPool::FWrite  pFunc,
std::unique_ptr< const ISqlData pThreadData,
const char *  pName 
)

◆ CSqlExecData() [3/5]

CSqlExecData::CSqlExecData ( CDbConnectionPool::Mode  m,
const char  aFileName[64] 
)

◆ CSqlExecData() [4/5]

CSqlExecData::CSqlExecData ( CDbConnectionPool::Mode  m,
const CMysqlConfig pMysqlConfig 
)

◆ CSqlExecData() [5/5]

CSqlExecData::CSqlExecData ( IConsole pConsole,
CDbConnectionPool::Mode  m 
)

◆ ~CSqlExecData()

CSqlExecData::~CSqlExecData ( )
default

Member Data Documentation

◆ m_Config

CMysqlConfig CSqlExecData::m_Config

◆ m_FileName

char CSqlExecData::m_FileName[64]

◆  [1/2]

enum { ... } CSqlExecData::m_Mode

◆ m_Mode [2/2]

CDbConnectionPool::Mode CSqlExecData::m_Mode

◆ 

struct { ... } CSqlExecData::m_Mysql

◆ m_pConsole

IConsole* CSqlExecData::m_pConsole

◆ m_pName

const char* CSqlExecData::m_pName

◆ m_pReadFunc

CDbConnectionPool::FRead CSqlExecData::m_pReadFunc

◆ 

struct { ... } CSqlExecData::m_Print

◆ m_pThreadData

std::unique_ptr<const ISqlData> CSqlExecData::m_pThreadData

◆ 

union { ... } CSqlExecData::m_Ptr

◆ m_pWriteFunc

CDbConnectionPool::FWrite CSqlExecData::m_pWriteFunc

◆ 

struct { ... } CSqlExecData::m_Sqlite

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