cpp-mirai-client  v2.6.1
cpp client for mirai-api-http
Mirai::QQ_t类 参考

QQ号码类型 更多...

#include <BasicTypes.hpp>

类 Mirai::QQ_t 继承关系图:
[图例]
Mirai::QQ_t 的协作图:
[图例]

Public 成员函数

constexpr QQ_t ()
 
constexpr QQ_t (int64_t num)
 
- Public 成员函数 继承自 Mirai::UID_t
constexpr operator int64_t () const
 
std::string to_string () const
 
constexpr bool operator< (const UID_t &uid) const
 
constexpr bool operator== (const UID_t &uid) const
 
constexpr bool operator!= (const UID_t &uid) const
 
constexpr bool operator> (const UID_t &uid) const
 
constexpr bool operator>= (const UID_t &uid) const
 
constexpr bool operator<= (const UID_t &uid) const
 

额外继承的成员函数

- Protected 成员函数 继承自 Mirai::UID_t
constexpr UID_t ()=default
 
constexpr UID_t (int64_t num)
 
- Protected 属性 继承自 Mirai::UID_t
int64_t number_ = 0
 

详细描述

QQ号码类型

本质上为 int64_t ,但禁止隐式转换

在文件 BasicTypes.hpp70 行定义.

构造及析构函数说明

◆ QQ_t() [1/2]

constexpr Mirai::QQ_t::QQ_t ( )
inlineconstexpr

在文件 BasicTypes.hpp73 行定义.

◆ QQ_t() [2/2]

constexpr Mirai::QQ_t::QQ_t ( int64_t  num)
inlineexplicitconstexpr

在文件 BasicTypes.hpp74 行定义.


该类的文档由以下文件生成: