simdjson 4.6.4
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson::simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::json_type > Struct Reference
Inheritance diagram for simdjson::simdjson_result< SIMDJSON_IMPLEMENTATION::ondemand::json_type >:
simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::json_type >

Additional Inherited Members

- Public Types inherited from simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::json_type >
using value_type = SIMDJSON_IMPLEMENTATION::ondemand::json_type
 
using error_type = error_code
 
- Public Member Functions inherited from simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::json_type >
simdjson_inline implementation_simdjson_result_base () noexcept=default
 Create a new empty result with error = UNINITIALIZED.
 
simdjson_inline implementation_simdjson_result_base (error_code error) noexcept
 Create a new error result.
 
simdjson_inline implementation_simdjson_result_base (SIMDJSON_IMPLEMENTATION::ondemand::json_type &&value) noexcept
 Create a new successful result.
 
simdjson_inline implementation_simdjson_result_base (SIMDJSON_IMPLEMENTATION::ondemand::json_type &&value, error_code error) noexcept
 Create a new result with both things (use if you don't want to branch when creating the result).
 
simdjson_inline void tie (SIMDJSON_IMPLEMENTATION::ondemand::json_type &value, error_code &error) &&noexcept
 Move the value and the error to the provided variables.
 
simdjson_warn_unused simdjson_inline error_code get (SIMDJSON_IMPLEMENTATION::ondemand::json_type &value) &&noexcept
 Move the value to the provided variable.
 
simdjson_warn_unused simdjson_inline error_code error () const noexcept
 The error.
 
simdjson_warn_unused simdjson_inline bool has_value () const noexcept
 Whether there is a value.
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_typeoperator* () &noexcept(false)
 Get the result value.
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_type && operator* () &&noexcept(false)
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_typeoperator-> () noexcept(false)
 Arrow operator to access members of the contained value.
 
simdjson_inline const SIMDJSON_IMPLEMENTATION::ondemand::json_typeoperator-> () const noexcept(false)
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_typevalue () &noexcept(false)
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_type && value () &&noexcept(false)
 Take the result value (move it).
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_type && take_value () &&noexcept(false)
 Take the result value (move it).
 
simdjson_inline operator SIMDJSON_IMPLEMENTATION::ondemand::json_type && () &&noexcept(false)
 Cast to the value (will throw on error).
 
simdjson_inline const SIMDJSON_IMPLEMENTATION::ondemand::json_typevalue_unsafe () const &noexcept
 Get the result value.
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_typevalue_unsafe () &noexcept
 Get the result value.
 
simdjson_inline SIMDJSON_IMPLEMENTATION::ondemand::json_type && value_unsafe () &&noexcept
 Take the result value (move it).
 
- Protected Attributes inherited from simdjson::SIMDJSON_IMPLEMENTATION::implementation_simdjson_result_base< SIMDJSON_IMPLEMENTATION::ondemand::json_type >
SIMDJSON_IMPLEMENTATION::ondemand::json_type first
 users should never directly access first and second.
 
error_code second
 Users should never directly access 'first'.
 

Detailed Description

Definition at line 151 of file json_type.h.


The documentation for this struct was generated from the following files: