|
chenjunfu2-nbt-cpp v2.1.3
一个基于CPP20的NBT(Named Binary Tag)库
|
默认排序策略,提供按键的字符串字典序升序或降序排列。 更多...
#include <NBT_Writer.hpp>
Public 成员函数 | |
| std::vector< NBT_Type::Compound::Const_Iterator > | operator() (const NBT_Type::Compound &cpdSort) |
| 对给定的 Compound 对象进行排序,返回指向其元素的迭代器向量。 | |
默认排序策略,提供按键的字符串字典序升序或降序排列。
| bAscending | 是否升序排序。true表示升序(默认),false表示降序。 |
|
inline |
对给定的 Compound 对象进行排序,返回指向其元素的迭代器向量。
| cpdSort | 需要排序的 Compound 对象。 |