3 #include <boost/shared_ptr.hpp>
45 const std::wstring&
name,
46 const std::wstring& exitParam,
47 const std::wstring& continueParam);
50 std::wstring exitParam;
51 std::wstring continueParam;
boost::shared_ptr< Command > CommandPtr
Definition: Command.h:29
virtual ~Command()
Definition: Command.cpp:16
bool hasParams() const
Definition: Command.h:18
Command(const std::wstring &name, bool params, bool insert, bool terminator)
Definition: Command.cpp:7
bool batchTerminator
Definition: Command.h:26
bool insert
Definition: Command.h:25
virtual void process(const std::wstring &line, OdbcParserImpl &parser)
Definition: Command.cpp:31
bool params
Definition: Command.h:24
OnErrorCommand(const std::wstring &name, const std::wstring &exitParam, const std::wstring &continueParam)
Definition: Command.cpp:38
Definition: OdbcParserImpl.h:13
std::wstring name
Definition: Command.h:23
std::wstring getName() const
Definition: Command.h:17
InsertCommand(const std::wstring &name)
Definition: Command.cpp:25
bool isInsert() const
Definition: Command.h:19
virtual void process(const std::wstring &line, OdbcParserImpl &parser)
Definition: Command.cpp:20
bool isBatchTerminator() const
Definition: Command.h:20
virtual void process(const std::wstring &line, OdbcParserImpl &parser)
Definition: Command.cpp:49