载入中...
搜索中...
未找到
WorldSnapshotParsing.h
浏览该文件的文档.
12bool hasExactFields(const eve::Value::Object& object, std::initializer_list<std::string_view> expected);
23[[nodiscard]] eve::Result<std::string> readString(const eve::Value::Object& object, std::string_view name);
25[[nodiscard]] eve::Result<std::uint64_t> readUint64(const eve::Value::Object& object, std::string_view name);
27[[nodiscard]] eve::Result<std::int64_t> readInt64(const eve::Value::Object& object, std::string_view name);
29[[nodiscard]] eve::Result<double> readNumber(const eve::Value::Object& object, std::string_view name);
31[[nodiscard]] eve::Result<float> readFloat(const eve::Value::Object& object, std::string_view name);
33[[nodiscard]] eve::Result<bool> readBool(const eve::Value::Object& object, std::string_view name);
Move-only, checked operation results for the common layer.
Versioned, integrity-checked persistence envelopes.
Result< float > readFloat(const Value::Object &object, std::string_view name)
Reads a required finite number representable by float.
Definition WorldSnapshotParsing.cpp:66
const Value * field(const Value::Object &object, std::string_view name)
Borrow an optional field only during the current synchronous codec call. @ownership Object owns the r...
Definition WorldSnapshotParsing.cpp:17
bool hasExactFields(const Value::Object &object, std::initializer_list< std::string_view > expected)
Internal exact-field schema predicate.
Definition WorldSnapshotParsing.cpp:9
Result< std::uint64_t > readUint64(const Value::Object &object, std::string_view name)
Reads a required unsigned decimal integer string.
Definition WorldSnapshotParsing.cpp:30
Result< std::int64_t > readInt64(const Value::Object &object, std::string_view name)
Reads a required signed decimal integer string.
Definition WorldSnapshotParsing.cpp:42
Result< bool > readBool(const Value::Object &object, std::string_view name)
Reads a required boolean.
Definition WorldSnapshotParsing.cpp:75
eve::Result< double > readNumber(const eve::Value::Object &object, std::string_view name)
Reads a required finite number.
Definition WorldSnapshotParsing.cpp:54
Result< std::string > readString(const Value::Object &object, std::string_view name)
Reads a required owning string.
Definition WorldSnapshotParsing.cpp:22