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

// QueryHelp.h
#pragma once
class CTextLexSource;
class QL1_Parser;
struct QL_LEVEL_1_RPN_EXPRESSION;
#include <list>
#include <wstlallc.h>
typedef std::list<_bstr_t, wbem_allocator<_bstr_t> > CBstrList;
typedef CBstrList::iterator CBstrListIterator;
class CQueryParser
{
public:
CQueryParser();
~CQueryParser();
HRESULT Init(LPCWSTR szQuery);
HRESULT GetValuesForProp(LPCWSTR szProperty, CBstrList &listValues);
HRESULT GetClassName(_bstr_t &strClass);
protected:
CTextLexSource *m_pLexSource;
QL1_Parser *m_pParser;
QL_LEVEL_1_RPN_EXPRESSION
*m_pExpr;
};