⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parsecmd.h

📁 BCAM 1394 Driver
💻 H
字号:
// simple command line parsing, code is adopted from "Journal of Object-Oriented Programming March 2001" 



#include <vector>
#include <string>

class CCmdLineParser
{
public:
  CCmdLineParser(std::string cmdLine);

  std::string getArgument(const std::string& param) const;
  bool isParameter(const std::string& param) const;
  bool isEmpty() const { return m_cmdLine.size() == 0; };
protected:
  static std::vector<std::string> split(std::string& s);
  std::vector<std::string> m_cmdLine;
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -