21 lines
293 B
C++
21 lines
293 B
C++
|
#pragma once
|
||
|
|
||
|
class html_argument final
|
||
|
{
|
||
|
public:
|
||
|
html_argument(VARIANT* val);
|
||
|
|
||
|
bool is_empty() const;
|
||
|
|
||
|
bool is_string() const;
|
||
|
bool is_number() const;
|
||
|
bool is_bool() const;
|
||
|
|
||
|
std::string get_string() const;
|
||
|
int get_number() const;
|
||
|
bool get_bool() const;
|
||
|
|
||
|
private:
|
||
|
VARIANT* value_;
|
||
|
};
|