Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
660 B

  1. // QueryHelp.h
  2. #pragma once
  3. class CTextLexSource;
  4. class QL1_Parser;
  5. struct QL_LEVEL_1_RPN_EXPRESSION;
  6. #include <list>
  7. #include <wstlallc.h>
  8. typedef std::list<_bstr_t, wbem_allocator<_bstr_t> > CBstrList;
  9. typedef CBstrList::iterator CBstrListIterator;
  10. class CQueryParser
  11. {
  12. public:
  13. CQueryParser();
  14. ~CQueryParser();
  15. HRESULT Init(LPCWSTR szQuery);
  16. HRESULT GetValuesForProp(LPCWSTR szProperty, CBstrList &listValues);
  17. HRESULT GetClassName(_bstr_t &strClass);
  18. protected:
  19. CTextLexSource *m_pLexSource;
  20. QL1_Parser *m_pParser;
  21. QL_LEVEL_1_RPN_EXPRESSION
  22. *m_pExpr;
  23. };