FLImaging 6.5.13.1
WQL.h
1#pragma once
2
11#include <map>
12#include <vector>
13#include <string>
14
16namespace FLImaging
17{
19 namespace Base
20 {
28 class FL_EXPORT CWQL : public CFLBase
29 {
30 public:
39
47 virtual ~CWQL();
48
49
60
61
74
86 const CResult Close();
87
88
106 const CResult GetClassProperties(const wchar_t* wmiClass, std::vector<std::map<std::wstring, std::wstring> >& rs, const wchar_t* pSelection = nullptr);
107
108 DeclareGetClassType();
109
110 protected:
111 const CResult RunWQL(const wchar_t* query, std::vector<std::map<std::wstring, std::wstring> >& rs);
112
113 void* m_pWmiServices;
114 void* m_pWmiLocator;
115 bool m_bInitialized;
116 };
117 }
118}
Top-level base class of FLImaging.
Definition FLBase.h:36
WMI query language class.
Definition WQL.h:29
bool IsConnected()
Get connection status.
const CResult Connect()
Connect to WMI.
CWQL()
Default constructor.
const CResult Close()
Close the connection of WMI.
virtual ~CWQL()
Destructor.
const CResult GetClassProperties(const wchar_t *wmiClass, std::vector< std::map< std::wstring, std::wstring > > &rs, const wchar_t *pSelection=nullptr)
Get the properties of a class.
FLImaging module execution result object.
Definition ResultsDef.h:1514