CommandSet.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Command.h"
4 
5 namespace AppSecInc
6 {
7  namespace Databases
8  {
9  namespace ODBC
10  {
11  class CommandSet {
12  public:
13  CommandSet();
14  virtual ~CommandSet();
15  virtual Command* findCommand(const std::wstring& line) const;
16 
17  static CommandSet* getForFlavour(const std::wstring& flavour);
18  static CommandSet* getForDelimiters(const std::vector<const std::wstring>& delimiters);
19  protected:
20  std::vector<CommandPtr> commands;
21  };
22  }
23  }
24 }
CommandSet()
Definition: CommandSet.cpp:6
virtual Command * findCommand(const std::wstring &line) const
Definition: CommandSet.cpp:14
virtual ~CommandSet()
Definition: CommandSet.cpp:10
static CommandSet * getForDelimiters(const std::vector< const std::wstring > &delimiters)
Definition: CommandSet.cpp:89
std::vector< CommandPtr > commands
Definition: CommandSet.h:20
Definition: Command.h:13
Definition: CommandSet.h:11
static CommandSet * getForFlavour(const std::wstring &flavour)
Definition: CommandSet.cpp:61


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