|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
64位Actor全局唯一标识符,包含打包的类型、区域和数据ID字段。 More...
#include "actor/actor_base/core/nactortype.h"#include "tools/serialize/ndefine.h"#include "tools/tools/tools_enum.h"#include "tools/type.h"#include <istream>#include <ostream>#include <format>Classes | |
| struct | ngl::nguid |
| 打包的Actor标识符结构体。 More... | |
| struct | std::hash< ngl::nguid > |
| nguid的哈希特化。 More... | |
| struct | std::formatter< ngl::nguid > |
| nguid的std::format特化。 More... | |
Functions | |
| std::ostream & | ngl::operator<< (std::ostream &astream, const nguid &avalue) |
| 输出流运算符。 | |
| std::istream & | ngl::operator>> (std::istream &astream, nguid &avalue) |
| 输入流运算符。 | |
64位Actor全局唯一标识符,包含打包的类型、区域和数据ID字段。
提供Actor全局唯一标识符的打包、解包和操作功能。 支持位布局与平台字节序无关的打包格式。
|
inline |
输出流运算符。
| astream | 输出流 |
| avalue | nguid值 |
|
inline |
输入流运算符。
| astream | 输入流 |
| avalue | nguid值(输出参数) |