src/Common/ODBC/CommandSet.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "Command.h"
00004 
00005 namespace AppSecInc 
00006 {
00007         namespace Databases 
00008         {
00009                 namespace ODBC 
00010                 {
00011                         class CommandSet {
00012                           public:
00013                                 CommandSet();
00014                                 virtual ~CommandSet();
00015                                 virtual Command* findCommand(const std::wstring& line) const;
00016                                 
00017                                 static CommandSet* getForFlavour(const std::wstring& flavour);
00018                                 static CommandSet* getForDelimiters(const std::vector<const std::wstring>& delimiters);
00019                           protected:
00020                                 std::vector<CommandPtr> commands;
00021                         };
00022                 }
00023         }
00024 }


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com