DAW JSON Link
Public Types | Static Public Attributes | List of all members
daw::json::DAW_JSON_VER::json_variant< Name, T, JsonElements, Constructor, Nullable > Struct Template Reference

#include <daw_json_link_types.h>

Inheritance diagram for daw::json::DAW_JSON_VER::json_variant< Name, T, JsonElements, Constructor, Nullable >:
daw::json::DAW_JSON_VER::json_base::json_variant< T, JsonElements, Constructor, Nullable >

Public Types

template<JSONNAMETYPE NewName>
using with_name = json_variant< NewName, T, JsonElements, Constructor, Nullable >
 
using without_name = json_base::json_variant< T, JsonElements, Constructor, Nullable >
 
- Public Types inherited from daw::json::DAW_JSON_VER::json_base::json_variant< T, JsonElements, Constructor, Nullable >
using base_map = non_discriminated_variant_base_map< json_elements >
 
using base_type = json_details::unwrap_type< T, Nullable >
 
using constructor_t = json_details::json_class_constructor_t< T, Constructor >
 
using i_am_a_json_type = void
 
using json_elements = JsonElements
 
using parse_to_t = T
 
template<JSONNAMETYPE NewName>
using with_name = daw::json::json_variant< NewName, T, JsonElements, Constructor, Nullable >
 
using without_name = json_variant
 
using wrapped_type = T
 

Static Public Attributes

static constexpr daw::string_view name = Name
 
- Static Public Attributes inherited from daw::json::DAW_JSON_VER::json_base::json_variant< T, JsonElements, Constructor, Nullable >
static constexpr JsonParseTypes base_expected_type
 
static constexpr JsonParseTypes expected_type
 
static constexpr bool must_be_class_member = false
 
static constexpr daw::string_view name = no_name
 
static constexpr JsonNullable nullable = Nullable
 
static constexpr JsonBaseParseTypes underlying_json_type
 

Member Typedef Documentation

◆ with_name

template<JSONNAMETYPE Name, typename T , typename JsonElements , typename Constructor , JsonNullable Nullable>
template<JSONNAMETYPE NewName>
using daw::json::DAW_JSON_VER::json_variant< Name, T, JsonElements, Constructor, Nullable >::with_name = json_variant<NewName, T, JsonElements, Constructor, Nullable>

◆ without_name

template<JSONNAMETYPE Name, typename T , typename JsonElements , typename Constructor , JsonNullable Nullable>
using daw::json::DAW_JSON_VER::json_variant< Name, T, JsonElements, Constructor, Nullable >::without_name = json_base::json_variant<T, JsonElements, Constructor, Nullable>

Member Data Documentation

◆ name

template<JSONNAMETYPE Name, typename T , typename JsonElements , typename Constructor , JsonNullable Nullable>
constexpr daw::string_view daw::json::DAW_JSON_VER::json_variant< Name, T, JsonElements, Constructor, Nullable >::name = Name
staticconstexpr

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