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

群聊号码类型 更多...

#include <BasicTypes.hpp>

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

Public 成员函数

constexpr GID_t ()
 
constexpr GID_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
 

详细描述

群聊号码类型

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

在文件 BasicTypes.hpp87 行定义.

构造及析构函数说明

◆ GID_t() [1/2]

constexpr Mirai::GID_t::GID_t ( )
inlineconstexpr

在文件 BasicTypes.hpp90 行定义.

◆ GID_t() [2/2]

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

在文件 BasicTypes.hpp91 行定义.


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