MySQL 8.0.40
Source Code Documentation
server_mock::DuktapeStatementReaderFactory Class Reference

#include <duktape_statement_reader.h>

Classes

class  FailedStatementReader
 

Public Member Functions

 DuktapeStatementReaderFactory (std::string filename, std::vector< std::string > module_prefixes, std::map< std::string, std::function< std::string()> > session, std::shared_ptr< MockServerGlobalScope > global_scope)
 
std::unique_ptr< StatementReaderBaseoperator() ()
 

Private Attributes

std::string filename_
 
std::vector< std::string > module_prefixes_
 
std::map< std::string, std::function< std::string()> > session_
 
std::shared_ptr< MockServerGlobalScopeglobal_scope_
 

Constructor & Destructor Documentation

◆ DuktapeStatementReaderFactory()

server_mock::DuktapeStatementReaderFactory::DuktapeStatementReaderFactory ( std::string  filename,
std::vector< std::string >  module_prefixes,
std::map< std::string, std::function< std::string()> >  session,
std::shared_ptr< MockServerGlobalScope global_scope 
)
inline

Member Function Documentation

◆ operator()()

std::unique_ptr< StatementReaderBase > server_mock::DuktapeStatementReaderFactory::operator() ( )

Member Data Documentation

◆ filename_

std::string server_mock::DuktapeStatementReaderFactory::filename_
private

◆ global_scope_

std::shared_ptr<MockServerGlobalScope> server_mock::DuktapeStatementReaderFactory::global_scope_
private

◆ module_prefixes_

std::vector<std::string> server_mock::DuktapeStatementReaderFactory::module_prefixes_
private

◆ session_

std::map<std::string, std::function<std::string()> > server_mock::DuktapeStatementReaderFactory::session_
private

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